Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.0009488/0.0009488, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.000988/0.000988, allocations: 169 kB / 24.06 MB, free: 456 kB / 18.57 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 0.9058/0.9058, allocations: 177.1 MB / 204.5 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8137/0.8137, allocations: 154.9 MB / 415.9 MB, free: 264 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.5219 GB, free: 1.535 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.058e-05/2.178e-05, allocations: 4.969 kB / 0.5219 GB, free: 1.531 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004762/0.004784, allocations: 4.664 MB / 0.5265 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.000728/0.005512, allocations: 0.8301 MB / 0.5273 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.974e-05/0.005561, allocations: 0 / 0.5273 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001454/0.005707, allocations: 29.45 kB / 0.5273 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.118e-05/0.005748, allocations: 35.66 kB / 0.5273 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004298/0.006178, allocations: 177.2 kB / 0.5275 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.006324, allocations: 184.1 kB / 0.5277 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.764e-05/0.006402, allocations: 25.17 kB / 0.5277 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.006559, allocations: 109.2 kB / 0.5278 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.336e-05/0.006632, allocations: 63.78 kB / 0.5279 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.006652, allocations: 12 kB / 0.5279 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002165/0.006869, allocations: 141 kB / 0.528 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.57e-05/0.006895, allocations: 31.89 kB / 0.528 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.065e-05/0.006935, allocations: 51.89 kB / 0.5281 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.007191, allocations: 218.9 kB / 0.5283 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.007194, allocations: 0 / 0.5283 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.01e-07/0.007195, allocations: 0 / 0.5283 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.007199, allocations: 0 / 0.5283 GB, free: 10.99 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005268/0.007726, allocations: 495.7 kB / 0.5288 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.007757, allocations: 12.59 kB / 0.5288 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.325e-05/0.0078, allocations: 20.84 kB / 0.5288 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.007904, allocations: 134.2 kB / 0.5289 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.007917, allocations: 8.375 kB / 0.5289 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.007932, allocations: 12.38 kB / 0.5289 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.008078, allocations: 90.84 kB / 0.529 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.008086, allocations: 2.281 kB / 0.529 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.008096, allocations: 8.125 kB / 0.529 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.008101, allocations: 4 kB / 0.5291 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.559e-05/0.008177, allocations: 45.89 kB / 0.5291 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005161/0.008693, allocations: 402.8 kB / 0.5295 GB, free: 9.695 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.0088, allocations: 75.02 kB / 0.5295 GB, free: 9.609 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.34e-05/0.008834, allocations: 29.23 kB / 0.5296 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006361/0.00947, allocations: 0.5559 MB / 0.5301 GB, free: 9.012 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.009493, allocations: 37.39 kB / 0.5302 GB, free: 8.965 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 1.462e-06/0.009494, allocations: 0 / 0.5302 GB, free: 8.965 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12): time 0.0004488/0.009943, allocations: 105.5 kB / 0.5303 GB, free: 8.855 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.009969, allocations: 54.69 kB / 0.5303 GB, free: 8.793 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.01007, allocations: 220.3 kB / 0.5305 GB, free: 8.562 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.01009, allocations: 33.7 kB / 0.5306 GB, free: 8.523 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.868e-05/0.01015, allocations: 147.3 kB / 0.5307 GB, free: 8.375 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.01017, allocations: 47.56 kB / 0.5307 GB, free: 8.328 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.393e-05/0.01022, allocations: 55.34 kB / 0.5308 GB, free: 8.266 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.01033, allocations: 0.5 MB / 0.5313 GB, free: 7.754 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.634e-05/0.01037, allocations: 23.97 kB / 0.5313 GB, free: 7.73 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.062e-05/0.01043, allocations: 66.7 kB / 0.5314 GB, free: 7.648 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.958e-05/0.01052, allocations: 97.09 kB / 0.5315 GB, free: 7.543 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.01052, allocations: 0 / 0.5315 GB, free: 7.543 MB / 0.4948 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00017/0.01069, allocations: 160.5 kB / 0.5316 GB, free: 7.383 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.0107, allocations: 4 kB / 0.5316 GB, free: 7.379 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.01071, allocations: 4 kB / 0.5316 GB, free: 7.375 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.216e-06/0.01072, allocations: 0 / 0.5316 GB, free: 7.375 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.01085, allocations: 54.75 kB / 0.5317 GB, free: 7.324 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.01085, allocations: 0 / 0.5317 GB, free: 7.324 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.992e-05/0.01091, allocations: 27.83 kB / 0.5317 GB, free: 7.297 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.01093, allocations: 8 kB / 0.5317 GB, free: 7.289 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * 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 7.768e-05/0.011, allocations: 168.5 kB / 0.5319 GB, free: 7.113 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.327e-05/0.01103, allocations: 15.89 kB / 0.5319 GB, free: 7.098 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001361/0.01116, allocations: 102.3 kB / 0.532 GB, free: 7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.01117, allocations: 2.188 kB / 0.532 GB, free: 7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.01117, allocations: 0 / 0.532 GB, free: 7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.01117, allocations: 4 kB / 0.532 GB, free: 6.996 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.01129, allocations: 141 kB / 0.5321 GB, free: 6.832 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.01129, allocations: 0 / 0.5321 GB, free: 6.832 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.956e-05/0.01135, allocations: 23.98 kB / 0.5321 GB, free: 6.809 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.01135, allocations: 4.484 kB / 0.5321 GB, free: 6.805 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.01136, allocations: 8.75 kB / 0.5322 GB, free: 6.797 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.01136, allocations: 4 kB / 0.5322 GB, free: 6.793 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.01136, allocations: 0.9062 kB / 0.5322 GB, free: 6.793 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.01149, allocations: 239.7 kB / 0.5324 GB, free: 6.539 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.98e-05/0.01152, allocations: 19.92 kB / 0.5324 GB, free: 6.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.01153, allocations: 4.562 kB / 0.5324 GB, free: 6.516 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.121e-05/0.01158, allocations: 13.2 kB / 0.5324 GB, free: 6.504 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.071e-05/0.01161, allocations: 7.984 kB / 0.5324 GB, free: 6.496 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.01162, allocations: 3.984 kB / 0.5324 GB, free: 6.492 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.973e-05/0.01167, allocations: 157.5 kB / 0.5326 GB, free: 6.34 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01167, allocations: 0 / 0.5326 GB, free: 6.34 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000236/0.0119, allocations: 68.44 kB / 0.5326 GB, free: 6.273 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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.0002032/0.01211, allocations: 153.8 kB / 0.5328 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001337/0.01224, allocations: 95.36 kB / 0.5329 GB, free: 6.016 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.01224, allocations: 1.125 kB / 0.5329 GB, free: 6.016 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.881e-05/0.01228, allocations: 42.77 kB / 0.5329 GB, free: 5.973 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.01249, allocations: 29.05 kB / 0.533 GB, free: 5.945 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000432/0.01292, allocations: 233.3 kB / 0.5332 GB, free: 5.691 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.969e-05/0.01296, allocations: 76.41 kB / 0.5333 GB, free: 5.598 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.241e-05/0.01302, allocations: 17.05 kB / 0.5333 GB, free: 5.586 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.126e-05/0.01312, allocations: 102.2 kB / 0.5334 GB, free: 5.484 MB / 0.4948 GB Notification: Performance of SimCode: time 7.92e-07/0.01312, allocations: 0 / 0.5334 GB, free: 5.484 MB / 0.4948 GB Notification: Performance of Templates: time 0.004674/0.01779, allocations: 3.144 MB / 0.5364 GB, free: 2.531 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6066947751678526]