Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.WriteRealVariable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007618/0.0007618, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009133/0.001675, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000694/0.000694, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008991/0.001593, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.015/1.015, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07836/1.094, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/package.mo): time 0.00475/0.00475, allocations: 0.7952 MB / 244.8 MB, free: 14.06 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/readLineWithoutCache.mo:2:1-87:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/writeLine.mo:2:1-61:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.0015/0.00625, allocations: 0.6311 MB / 245.4 MB, free: 13.43 MB / 250.7 MB " [Timeout remaining time 180] Using package KeyWordIO with version 0.12.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(KeyWordIO.Examples.WriteRealVariable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.WriteRealVariable") translateModel(KeyWordIO.Examples.WriteRealVariable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.WriteRealVariable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 246.7 MB, free: 12.18 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.352e-05/1.486e-05, allocations: 2.312 kB / 246.7 MB, free: 12.18 MB / 250.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.WriteRealVariable): time 0.001947/0.001962, allocations: 1.459 MB / 248.1 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009628/0.002925, allocations: 0.9478 MB / 249.1 MB, free: 9.754 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.422e-05/0.002949, allocations: 0 / 249.1 MB, free: 9.754 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.882e-05/0.002968, allocations: 7.938 kB / 249.1 MB, free: 9.746 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.005e-05/0.003048, allocations: 15.92 kB / 249.1 MB, free: 9.73 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/writeRealVariable.mo:2:1-14:22:writable] Warning: Pure function 'KeyWordIO.writeRealVariable' contains a call to impure function 'Modelica.Utilities.Files.removeFile'. Notification: Performance of NFTyping.typeClassSections: time 0.000139/0.003187, allocations: 43.77 kB / 249.1 MB, free: 9.688 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.137e-05/0.003258, allocations: 19.92 kB / 249.2 MB, free: 9.668 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.195e-05/0.00329, allocations: 7.984 kB / 249.2 MB, free: 9.66 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.076e-05/0.003361, allocations: 19.92 kB / 249.2 MB, free: 9.641 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.973e-05/0.00343, allocations: 7.938 kB / 249.2 MB, free: 9.633 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.989e-06/0.00344, allocations: 0 / 249.2 MB, free: 9.633 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.151e-05/0.003532, allocations: 43.89 kB / 249.2 MB, free: 9.59 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.017e-05/0.003542, allocations: 0 / 249.2 MB, free: 9.59 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.661e-05/0.003559, allocations: 7.938 kB / 249.2 MB, free: 9.582 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001227/0.003681, allocations: 51.89 kB / 249.3 MB, free: 9.531 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.428e-05/0.003696, allocations: 4 kB / 249.3 MB, free: 9.527 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.003696, allocations: 0 / 249.3 MB, free: 9.527 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.612e-05/0.003712, allocations: 0 / 249.3 MB, free: 9.527 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000337/0.004049, allocations: 274.2 kB / 249.6 MB, free: 9.227 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.936e-05/0.004079, allocations: 12.03 kB / 249.6 MB, free: 9.215 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.554e-05/0.004104, allocations: 0.9375 kB / 249.6 MB, free: 9.215 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.449e-05/0.004189, allocations: 113.7 kB / 249.7 MB, free: 9.078 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.004198, allocations: 4.312 kB / 249.7 MB, free: 9.074 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.825e-06/0.004206, allocations: 4.375 kB / 249.7 MB, free: 9.07 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.926e-05/0.004295, allocations: 76.66 kB / 249.8 MB, free: 8.98 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.004301, allocations: 4.188 kB / 249.8 MB, free: 8.977 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.472e-06/0.004308, allocations: 384 / 249.8 MB, free: 8.977 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.004313, allocations: 384 / 249.8 MB, free: 8.977 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.329e-05/0.004326, allocations: 7.938 kB / 249.8 MB, free: 8.969 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.015e-05/0.004396, allocations: 53.05 kB / 249.8 MB, free: 8.902 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.291e-05/0.004429, allocations: 22.55 kB / 249.9 MB, free: 8.871 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.11e-05/0.00444, allocations: 4.859 kB / 249.9 MB, free: 8.863 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.781e-06/0.004446, allocations: 3.984 kB / 249.9 MB, free: 8.859 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001188/0.004565, allocations: 154.3 kB / 250 MB, free: 8.672 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.004565, allocations: 4 kB / 250 MB, free: 8.668 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001126/0.004678, allocations: 114.8 kB / 250.1 MB, free: 8.531 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.004711, allocations: 85.05 kB / 250.2 MB, free: 8.43 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.999e-05/0.004771, allocations: 110.7 kB / 250.3 MB, free: 8.309 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.004781, allocations: 25.7 kB / 250.4 MB, free: 8.277 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.445e-05/0.004805, allocations: 84.14 kB / 250.4 MB, free: 8.191 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/0.004827, allocations: 11.92 kB / 250.5 MB, free: 8.18 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.991e-05/0.004857, allocations: 13.72 kB / 250.5 MB, free: 8.16 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.781e-05/0.004935, allocations: 322.8 kB / 250.8 MB, free: 7.836 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.953e-05/0.004954, allocations: 29.7 kB / 250.8 MB, free: 7.801 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.344e-05/0.004988, allocations: 73.23 kB / 250.9 MB, free: 7.711 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.222e-05/0.00503, allocations: 73.11 kB / 251 MB, free: 7.621 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.005032, allocations: 0 / 251 MB, free: 7.621 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.943e-05/0.005101, allocations: 97.03 kB / 251 MB, free: 7.508 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/0.00513, allocations: 29.7 kB / 251.1 MB, free: 7.473 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.005135, allocations: 3.938 kB / 251.1 MB, free: 7.469 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.185e-06/0.005143, allocations: 4 kB / 251.1 MB, free: 7.465 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.76e-05/0.00519, allocations: 0 / 251.1 MB, free: 7.465 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.447e-06/0.005194, allocations: 8.141 kB / 251.1 MB, free: 7.457 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.107e-05/0.005215, allocations: 4 kB / 251.1 MB, free: 7.453 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.005223, allocations: 7.938 kB / 251.1 MB, free: 7.445 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.264e-05/0.005286, allocations: 139.5 kB / 251.2 MB, free: 7.293 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.706e-06/0.005295, allocations: 4 kB / 251.2 MB, free: 7.289 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.896e-05/0.005314, allocations: 7.609 kB / 251.2 MB, free: 7.281 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.005316, allocations: 4 kB / 251.3 MB, free: 7.277 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.005318, allocations: 0 / 251.3 MB, free: 7.277 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.00532, allocations: 0 / 251.3 MB, free: 7.277 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.742e-05/0.005377, allocations: 65.84 kB / 251.3 MB, free: 7.195 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.005378, allocations: 4 kB / 251.3 MB, free: 7.191 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.279e-05/0.005391, allocations: 4 kB / 251.3 MB, free: 7.188 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.434e-06/0.005399, allocations: 3.984 kB / 251.3 MB, free: 7.184 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.0054, allocations: 0 / 251.3 MB, free: 7.184 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-06/0.005405, allocations: 4 kB / 251.3 MB, free: 7.18 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.005405, allocations: 0 / 251.3 MB, free: 7.18 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.005406, allocations: 0 / 251.3 MB, free: 7.18 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.632e-05/0.005482, allocations: 120.5 kB / 251.5 MB, free: 7.031 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.005493, allocations: 0 / 251.5 MB, free: 7.031 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.741e-05/0.005531, allocations: 7.938 kB / 251.5 MB, free: 7.023 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.529e-05/0.005556, allocations: 8.016 kB / 251.5 MB, free: 7.016 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.005559, allocations: 0 / 251.5 MB, free: 7.016 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.486e-05/0.005574, allocations: 16.84 kB / 251.5 MB, free: 6.996 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005574, allocations: 0 / 251.5 MB, free: 6.996 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.00016/0.005734, allocations: 19.94 kB / 251.5 MB, free: 6.977 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 1 ($whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003901/0.006124, allocations: 219.4 kB / 251.7 MB, free: 6.816 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.827e-05/0.006222, allocations: 127.6 kB / 251.8 MB, free: 6.664 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.006226, allocations: 0 / 251.8 MB, free: 6.664 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.869e-05/0.006265, allocations: 89.91 kB / 251.9 MB, free: 6.555 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.457e-05/0.00633, allocations: 16.12 kB / 251.9 MB, free: 6.539 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003341/0.006664, allocations: 138.3 kB / 252.1 MB, free: 6.371 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.894e-05/0.006693, allocations: 55.34 kB / 252.1 MB, free: 6.297 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.268e-05/0.006705, allocations: 4 kB / 252.1 MB, free: 6.293 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.287e-05/0.006758, allocations: 63.36 kB / 252.2 MB, free: 6.23 MB / 250.7 MB Notification: Performance of SimCode: time 4.8e-07/0.006759, allocations: 0 / 252.2 MB, free: 6.23 MB / 250.7 MB Notification: Performance of Templates: time 0.002571/0.00933, allocations: 0.8453 MB / 253 MB, free: 5.395 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f KeyWordIO_KeyWordIO.Examples.WriteRealVariable.makefile [Timeout 660] (rm -f KeyWordIO_KeyWordIO.Examples.WriteRealVariable.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.WriteRealVariable.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.WriteRealVariable.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.WriteRealVariable.sim & ./KeyWordIO_KeyWordIO.Examples.WriteRealVariable -abortSlowSimulation -alarm=240 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.WriteRealVariable.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.3978058071807027]