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.000756/0.000756, allocations: 96.36 kB / 19.7 MB, free: 452 kB / 13.93 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.0007689/0.0007689, allocations: 216.7 kB / 23 MB, free: 2.977 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 0.8903/0.8903, allocations: 230.6 MB / 256.8 MB, free: 9.613 MB / 202.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-531:190: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-531:198: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.7028/0.7028, allocations: 203.8 MB / 0.5049 GB, free: 10.41 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008561/0.0008561, allocations: 74.83 kB / 0.7194 GB, free: 3.539 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4416/0.4424, allocations: 102 MB / 0.819 GB, free: 1.332 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.0043/0.4467, allocations: 4.387 MB / 0.8233 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007195/0.4475, allocations: 0.7631 MB / 0.8241 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.704e-05/0.4475, allocations: 3.938 kB / 0.8241 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001595/0.4477, allocations: 24.92 kB / 0.8241 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.866e-05/0.4477, allocations: 39.67 kB / 0.8241 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004258/0.4481, allocations: 174.3 kB / 0.8243 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.4483, allocations: 178.9 kB / 0.8245 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.339e-05/0.4484, allocations: 20.92 kB / 0.8245 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001484/0.4486, allocations: 79.34 kB / 0.8246 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.896e-05/0.4486, allocations: 74.97 kB / 0.8246 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.4487, allocations: 12.81 kB / 0.8246 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002351/0.4489, allocations: 141.5 kB / 0.8248 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.984e-05/0.4489, allocations: 30.52 kB / 0.8248 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.578e-05/0.449, allocations: 55.23 kB / 0.8249 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003181/0.4493, allocations: 234 kB / 0.8251 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.4493, allocations: 0 / 0.8251 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.783e-06/0.4493, allocations: 1.562 kB / 0.8251 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.4493, allocations: 4 kB / 0.8251 GB, free: 13.33 MB / 0.6198 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.0006136/0.4499, allocations: 410.8 kB / 0.8255 GB, free: 13 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.45, allocations: 10.22 kB / 0.8255 GB, free: 13 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/0.45, allocations: 11.2 kB / 0.8255 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.686e-05/0.4501, allocations: 139.6 kB / 0.8256 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.4501, allocations: 13.7 kB / 0.8256 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.4501, allocations: 12.03 kB / 0.8257 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002305/0.4504, allocations: 118.9 kB / 0.8258 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.4504, allocations: 0.5625 kB / 0.8258 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.4504, allocations: 5.375 kB / 0.8258 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.4504, allocations: 5.219 kB / 0.8258 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002531/0.4506, allocations: 147.5 kB / 0.8259 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006257/0.4513, allocations: 378.1 kB / 0.8263 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.4515, allocations: 117.6 kB / 0.8264 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.4516, allocations: 66.48 kB / 0.8265 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006416/0.4522, allocations: 463 kB / 0.8269 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.4522, allocations: 38.25 kB / 0.8269 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 1.142e-06/0.4522, allocations: 0 / 0.8269 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0004109/0.4527, allocations: 212 kB / 0.8271 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.4527, allocations: 58.42 kB / 0.8272 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.4528, allocations: 173.1 kB / 0.8274 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.4528, allocations: 29.7 kB / 0.8274 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.79e-05/0.4529, allocations: 109.3 kB / 0.8275 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.4529, allocations: 45 kB / 0.8275 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.354e-05/0.453, allocations: 47.45 kB / 0.8276 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002176/0.4532, allocations: 325.6 kB / 0.8279 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.4533, allocations: 78.11 kB / 0.828 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.4534, allocations: 114.7 kB / 0.8281 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002425/0.4537, allocations: 171.6 kB / 0.8282 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4537, allocations: 3.938 kB / 0.8282 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003391/0.454, allocations: 245 kB / 0.8285 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.4541, allocations: 5.484 kB / 0.8285 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.4541, allocations: 1.156 kB / 0.8285 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.4541, allocations: 2.891 kB / 0.8285 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.4542, allocations: 66.16 kB / 0.8285 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.4542, allocations: 2.375 kB / 0.8285 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.705e-05/0.4543, allocations: 28.45 kB / 0.8286 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.4543, allocations: 11.23 kB / 0.8286 GB, free: 10.92 MB / 0.6198 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 6.763e-05/0.4544, allocations: 124.2 kB / 0.8287 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.978e-05/0.4544, allocations: 13.19 kB / 0.8287 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002937/0.4547, allocations: 174 kB / 0.8289 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.4547, allocations: 5.281 kB / 0.8289 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.4547, allocations: 0 / 0.8289 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.4547, allocations: 1.828 kB / 0.8289 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.4548, allocations: 157 kB / 0.829 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4548, allocations: 3.938 kB / 0.829 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.412e-05/0.4549, allocations: 29.28 kB / 0.8291 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.4549, allocations: 4.547 kB / 0.8291 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.4549, allocations: 9.188 kB / 0.8291 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.4549, allocations: 2.062 kB / 0.8291 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.4549, allocations: 3.938 kB / 0.8291 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/0.4552, allocations: 250.5 kB / 0.8293 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.716e-05/0.4552, allocations: 25.28 kB / 0.8294 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.4552, allocations: 1.859 kB / 0.8294 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.624e-05/0.4553, allocations: 15.36 kB / 0.8294 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-05/0.4553, allocations: 16.48 kB / 0.8294 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.4554, allocations: 2.531 kB / 0.8294 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.862e-05/0.4554, allocations: 117 kB / 0.8295 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4554, allocations: 0 / 0.8295 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002112/0.4556, allocations: 58.77 kB / 0.8296 GB, free: 10.25 MB / 0.6198 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.0001932/0.4558, allocations: 167.5 kB / 0.8297 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003163/0.4561, allocations: 163 kB / 0.8299 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.4561, allocations: 0 / 0.8299 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.4562, allocations: 68.42 kB / 0.8299 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.4565, allocations: 21.36 kB / 0.83 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003624/0.4568, allocations: 267.3 kB / 0.8302 GB, free: 9.855 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.686e-05/0.4569, allocations: 94 kB / 0.8303 GB, free: 9.781 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.733e-05/0.4569, allocations: 21.45 kB / 0.8303 GB, free: 9.77 MB / 0.6198 GB Notification: Performance of SimCode: time 4.5e-07/0.4569, allocations: 3.938 kB / 0.8303 GB, free: 9.766 MB / 0.6198 GB Notification: Performance of Templates: time 0.003995/0.4609, allocations: 2.623 MB / 0.8329 GB, free: 9.453 MB / 0.6198 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.324572680983692] Failed to read output from testmodel.py, exit status != 0: 0.4658329449594021 0.47445168600000004 0.023457679000000002 Calling exit ...