Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc") translateModel(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 110.2 kB / 17.06 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 194.8 kB / 18.01 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.519/1.519, allocations: 205.1 MB / 223.9 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3345/0.3345, allocations: 48.84 MB / 320.1 MB, free: 10.99 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002833/0.002833, allocations: 75.89 kB / 450.5 MB, free: 8.531 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.12, allocations: 59.15 MB / 0.4977 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc): time 0.03043/0.1505, allocations: 27.64 MB / 0.5247 GB, free: 1.5 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2482/0.3987, allocations: 16.35 MB / 0.5407 GB, free: 7.336 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003376/0.3991, allocations: 7.031 kB / 0.5407 GB, free: 7.336 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004707/0.3996, allocations: 113.3 kB / 0.5408 GB, free: 7.336 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003375/0.3999, allocations: 149.4 kB / 0.541 GB, free: 7.328 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01906/0.419, allocations: 6.771 MB / 0.5476 GB, free: 6.215 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005968/0.4196, allocations: 439.8 kB / 0.548 GB, free: 6.094 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002493/0.4199, allocations: 150.8 kB / 0.5481 GB, free: 6.09 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004083/0.424, allocations: 1.833 MB / 0.5499 GB, free: 5.547 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01413/0.4381, allocations: 6.253 MB / 0.556 GB, free: 3.48 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.29e-05/0.4382, allocations: 18.97 kB / 0.556 GB, free: 3.48 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01783/0.4561, allocations: 8.932 MB / 0.5648 GB, free: 15.01 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.303e-05/0.4562, allocations: 43.5 kB / 0.5648 GB, free: 14.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002518/0.4565, allocations: 148.9 kB / 0.5649 GB, free: 14.89 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01454/0.471, allocations: 5.081 MB / 0.5699 GB, free: 11.83 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.4711, allocations: 0 / 0.5699 GB, free: 11.83 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.4711, allocations: 0 / 0.5699 GB, free: 11.83 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.4711, allocations: 4 kB / 0.5699 GB, free: 11.83 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.004276/0.4754, allocations: 1.174 MB / 0.5711 GB, free: 10.94 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.4754, allocations: 11.83 kB / 0.5711 GB, free: 10.94 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002621/0.4757, allocations: 56.66 kB / 0.5711 GB, free: 10.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004136/0.4761, allocations: 258.8 kB / 0.5714 GB, free: 10.65 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.4761, allocations: 17.47 kB / 0.5714 GB, free: 10.64 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.301e-05/0.4762, allocations: 31.84 kB / 0.5714 GB, free: 10.62 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006557/0.4769, allocations: 329 kB / 0.5717 GB, free: 10.38 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.4769, allocations: 7.094 kB / 0.5717 GB, free: 10.38 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/0.4769, allocations: 7.938 kB / 0.5717 GB, free: 10.38 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.4769, allocations: 5.25 kB / 0.5718 GB, free: 10.38 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005514/0.4775, allocations: 218.2 kB / 0.572 GB, free: 10.27 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001749/0.4792, allocations: 1.723 MB / 0.5736 GB, free: 8.625 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003988/0.4797, allocations: 118.8 kB / 0.5738 GB, free: 8.551 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/0.4798, allocations: 40.47 kB / 0.5738 GB, free: 8.531 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1279/0.6077, allocations: 64.25 MB / 0.6365 GB, free: 3.238 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.6078, allocations: 38.56 kB / 0.6366 GB, free: 3.191 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.874e-06/0.6078, allocations: 0 / 0.6366 GB, free: 3.191 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0009881/0.6088, allocations: 253.4 kB / 0.6368 GB, free: 2.938 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.6088, allocations: 51.41 kB / 0.6369 GB, free: 2.875 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003064/0.6091, allocations: 296.5 kB / 0.6372 GB, free: 2.582 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.6092, allocations: 29.7 kB / 0.6372 GB, free: 2.547 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.6093, allocations: 175.6 kB / 0.6373 GB, free: 2.371 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.162e-05/0.6093, allocations: 39.69 kB / 0.6374 GB, free: 2.332 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.672e-05/0.6094, allocations: 41.64 kB / 0.6374 GB, free: 2.285 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.6095, allocations: 338.8 kB / 0.6377 GB, free: 1.945 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.6097, allocations: 52.78 kB / 0.6378 GB, free: 1.891 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001866/0.6099, allocations: 123.1 kB / 0.6379 GB, free: 1.73 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003383/0.6102, allocations: 190.9 kB / 0.6381 GB, free: 1.504 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.6102, allocations: 0 / 0.6381 GB, free: 1.504 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004605/0.6107, allocations: 216 kB / 0.6383 GB, free: 1.289 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.6107, allocations: 7.906 kB / 0.6383 GB, free: 1.281 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.6108, allocations: 4 kB / 0.6383 GB, free: 1.277 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.6108, allocations: 4 kB / 0.6383 GB, free: 1.273 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/0.611, allocations: 51.91 kB / 0.6384 GB, free: 1.223 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.611, allocations: 4.375 kB / 0.6384 GB, free: 1.219 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/0.6112, allocations: 43.66 kB / 0.6384 GB, free: 1.176 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.6112, allocations: 8 kB / 0.6384 GB, free: 1.168 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002018/0.6114, allocations: 148.6 kB / 0.6386 GB, free: 1.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001804/0.6116, allocations: 136.8 kB / 0.6387 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003201/0.612, allocations: 198.2 kB / 0.6389 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.473e-06/0.612, allocations: 0 / 0.6389 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0004209/0.6124, allocations: 217.4 kB / 0.6391 GB, free: 392 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.897e-06/0.6124, allocations: 4 kB / 0.6391 GB, free: 388 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.6124, allocations: 4 kB / 0.6391 GB, free: 384 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.329e-06/0.6124, allocations: 4 kB / 0.6391 GB, free: 380 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.6126, allocations: 47.91 kB / 0.6391 GB, free: 332 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.6126, allocations: 7.938 kB / 0.6392 GB, free: 324 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.6128, allocations: 19.94 kB / 0.6392 GB, free: 304 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.6128, allocations: 8 kB / 0.6392 GB, free: 296 kB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 (steamTurbineStodola.steamState_in.phase,steamTurbineStodola.steamState_iso.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 0.0001276/0.6129, allocations: 197.9 kB / 0.6394 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.331e-05/0.613, allocations: 31.81 kB / 0.6394 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005669/0.6136, allocations: 287.5 kB / 0.6397 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.6136, allocations: 0 / 0.6397 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.6136, allocations: 0.9688 kB / 0.6397 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.6136, allocations: 11.94 kB / 0.6397 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003834/0.614, allocations: 344.7 kB / 0.64 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.614, allocations: 3.984 kB / 0.64 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.6142, allocations: 23.98 kB / 0.64 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.6142, allocations: 0 / 0.64 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.6142, allocations: 1.312 kB / 0.64 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.6142, allocations: 4 kB / 0.64 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.6142, allocations: 0 / 0.64 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000504/0.6147, allocations: 279.1 kB / 0.6403 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.674e-05/0.6148, allocations: 112.8 kB / 0.6404 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.161e-05/0.6149, allocations: 13.2 kB / 0.6404 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001939/0.6151, allocations: 27.92 kB / 0.6405 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/0.6151, allocations: 4 kB / 0.6405 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.737e-06/0.6151, allocations: 4 kB / 0.6405 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003206/0.6154, allocations: 315.2 kB / 0.6408 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6154, allocations: 0 / 0.6408 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003911/0.6194, allocations: 1.314 MB / 0.6421 GB, free: 13.26 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSpeed.phi) * 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 (9): * Single equations (assignments): 9 * 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.005958/0.6253, allocations: 1.421 MB / 0.6434 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005977/0.6259, allocations: 195.6 kB / 0.6436 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.626, allocations: 0 / 0.6436 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.6261, allocations: 39.92 kB / 0.6437 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008514/0.6269, allocations: 133.9 kB / 0.6438 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009304/0.6279, allocations: 0.5709 MB / 0.6443 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.6283, allocations: 0.7717 MB / 0.6451 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002612/0.6285, allocations: 134.7 kB / 0.6452 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.841e-05/0.6286, allocations: 23.44 kB / 0.6453 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.6286, allocations: 0 / 0.6453 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of Templates: time 0.06143/0.69, allocations: 47.92 MB / 0.6921 GB, free: 10.08 MB / 0.545 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.pipe 2>&1)