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: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestTurbineStodolaPartialArc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestTurbineStodolaPartialArc",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 109.9 kB / 17.06 MB, free: 5.969 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.00145/0.001449, allocations: 200 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.374/1.374, 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.3046/0.3046, allocations: 48.84 MB / 320.1 MB, free: 11 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.001507/0.001507, allocations: 75.91 kB / 450 MB, free: 9.055 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1392, allocations: 59.16 MB / 0.4973 GB, free: 13.76 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc): time 0.03079/0.17, allocations: 27.64 MB / 0.5243 GB, free: 2.008 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3397/0.5097, allocations: 16.34 MB / 0.5402 GB, free: 6.223 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003653/0.5101, allocations: 7.031 kB / 0.5402 GB, free: 6.223 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005629/0.5108, allocations: 111.6 kB / 0.5403 GB, free: 6.223 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003495/0.5111, allocations: 150.9 kB / 0.5405 GB, free: 6.215 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02944/0.5406, allocations: 6.767 MB / 0.5471 GB, free: 5.203 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001023/0.5416, allocations: 441.8 kB / 0.5475 GB, free: 5.082 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003401/0.542, allocations: 149.8 kB / 0.5476 GB, free: 5.078 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004715/0.5467, allocations: 1.834 MB / 0.5494 GB, free: 4.535 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01576/0.5625, allocations: 6.252 MB / 0.5555 GB, free: 2.469 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00012/0.5626, allocations: 17.25 kB / 0.5556 GB, free: 2.469 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02162/0.5843, allocations: 8.926 MB / 0.5643 GB, free: 14.51 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001742/0.5845, allocations: 51.27 kB / 0.5643 GB, free: 14.47 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004294/0.5849, allocations: 139.1 kB / 0.5645 GB, free: 14.39 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0184/0.6034, allocations: 5.074 MB / 0.5694 GB, free: 11.34 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/0.6034, allocations: 0 / 0.5694 GB, free: 11.34 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.6034, allocations: 0 / 0.5694 GB, free: 11.34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.6035, allocations: 0 / 0.5694 GB, free: 11.34 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.005777/0.6092, allocations: 1.137 MB / 0.5705 GB, free: 10.5 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.251e-05/0.6093, allocations: 15.2 kB / 0.5705 GB, free: 10.5 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.738e-05/0.6094, allocations: 58.09 kB / 0.5706 GB, free: 10.44 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002607/0.6097, allocations: 45.55 kB / 0.5706 GB, free: 10.42 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005242/0.6102, allocations: 282.3 kB / 0.5709 GB, free: 10.14 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.6103, allocations: 17.53 kB / 0.5709 GB, free: 10.13 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.713e-05/0.6103, allocations: 29 kB / 0.5709 GB, free: 10.12 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008174/0.6112, allocations: 336.6 kB / 0.5713 GB, free: 9.867 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.6112, allocations: 2.688 kB / 0.5713 GB, free: 9.867 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.464e-05/0.6112, allocations: 11.72 kB / 0.5713 GB, free: 9.859 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.6112, allocations: 6.094 kB / 0.5713 GB, free: 9.859 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000604/0.6119, allocations: 217.3 kB / 0.5715 GB, free: 9.758 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002076/0.6139, allocations: 1.707 MB / 0.5732 GB, free: 8.121 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004113/0.6144, allocations: 114.3 kB / 0.5733 GB, free: 8.055 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001386/0.6145, allocations: 49.42 kB / 0.5733 GB, free: 8.023 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1337/0.7482, allocations: 64.24 MB / 0.6361 GB, free: 2.973 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.7483, allocations: 30.56 kB / 0.6361 GB, free: 2.934 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 2.384e-06/0.7483, allocations: 4 kB / 0.6361 GB, free: 2.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.001182/0.7495, allocations: 253.4 kB / 0.6363 GB, free: 2.676 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.7495, allocations: 51.41 kB / 0.6364 GB, free: 2.613 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003797/0.7499, allocations: 292.4 kB / 0.6367 GB, free: 2.324 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/0.75, allocations: 29.7 kB / 0.6367 GB, free: 2.289 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.7501, allocations: 179.7 kB / 0.6369 GB, free: 2.109 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.665e-05/0.7502, allocations: 31.55 kB / 0.6369 GB, free: 2.078 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.978e-05/0.7503, allocations: 45.66 kB / 0.6369 GB, free: 2.027 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.7504, allocations: 342.8 kB / 0.6373 GB, free: 1.684 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.7506, allocations: 52.77 kB / 0.6373 GB, free: 1.629 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/0.7508, allocations: 127.1 kB / 0.6374 GB, free: 1.465 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003397/0.7512, allocations: 182.8 kB / 0.6376 GB, free: 1.25 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.7512, allocations: 4 kB / 0.6376 GB, free: 1.246 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005463/0.7517, allocations: 213 kB / 0.6378 GB, free: 1.031 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.07e-05/0.7518, allocations: 15.89 kB / 0.6378 GB, free: 1.016 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.7518, allocations: 7.938 kB / 0.6378 GB, free: 1.008 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.7518, allocations: 8.375 kB / 0.6378 GB, free: 1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/0.752, allocations: 47.91 kB / 0.6379 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.589e-05/0.7521, allocations: 4 kB / 0.6379 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002462/0.7523, allocations: 31.62 kB / 0.6379 GB, free: 0.918 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/0.7524, allocations: 12 kB / 0.6379 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002729/0.7526, allocations: 148 kB / 0.6381 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000178/0.7528, allocations: 128.9 kB / 0.6382 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003194/0.7531, allocations: 190.4 kB / 0.6384 GB, free: 364 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.707e-06/0.7532, allocations: 8.062 kB / 0.6384 GB, free: 356 kB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0004462/0.7536, allocations: 213 kB / 0.6386 GB, free: 136 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.7536, allocations: 11.98 kB / 0.6386 GB, free: 124 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.7537, allocations: 4 kB / 0.6386 GB, free: 120 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.572e-06/0.7537, allocations: 4 kB / 0.6386 GB, free: 116 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.7538, allocations: 48.36 kB / 0.6387 GB, free: 68 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.7539, allocations: 15.92 kB / 0.6387 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/0.7541, allocations: 11.91 kB / 0.6387 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.7541, allocations: 12 kB / 0.6387 GB, free: 28 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.0001554/0.7542, allocations: 196.1 kB / 0.6389 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.617e-05/0.7543, allocations: 32.41 kB / 0.6389 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006232/0.7549, allocations: 278.9 kB / 0.6392 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.755, allocations: 0 / 0.6392 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.755, allocations: 3.938 kB / 0.6392 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.755, allocations: 0 / 0.6392 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004561/0.7554, allocations: 341.1 kB / 0.6395 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.7555, allocations: 0.5 kB / 0.6395 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001382/0.7556, allocations: 23.98 kB / 0.6395 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.7556, allocations: 1.078 kB / 0.6395 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.7556, allocations: 7.984 kB / 0.6395 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.7556, allocations: 8.812 kB / 0.6395 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.7557, allocations: 96 / 0.6395 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004769/0.7561, allocations: 278.9 kB / 0.6398 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.7562, allocations: 104.7 kB / 0.6399 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.642e-05/0.7563, allocations: 15.83 kB / 0.6399 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/0.7565, allocations: 27.95 kB / 0.64 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.581e-05/0.7566, allocations: 7.984 kB / 0.64 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.7566, allocations: 4.062 kB / 0.64 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003587/0.7569, allocations: 311.1 kB / 0.6403 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.01e-07/0.757, allocations: 0 / 0.6403 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006025/0.763, allocations: 1.304 MB / 0.6415 GB, free: 13.02 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.01044/0.7734, allocations: 2.118 MB / 0.6436 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000761/0.7743, allocations: 185.1 kB / 0.6438 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.7743, allocations: 4.125 kB / 0.6438 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.7744, allocations: 39.92 kB / 0.6438 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.7754, allocations: 133.9 kB / 0.6439 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008835/0.7843, allocations: 3.372 MB / 0.6472 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004075/0.7848, allocations: 0.7678 MB / 0.648 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003235/0.7851, allocations: 134.7 kB / 0.6481 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001938/0.7853, allocations: 107.4 kB / 0.6482 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of SimCode: time 8.61e-07/0.7853, allocations: 0 / 0.6482 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1161/0.9014, allocations: 52.21 MB / 0.6992 GB, free: 1.777 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/12.36, allocations: 7.953 kB / 0.6992 GB, free: 1.77 MB / 0.545 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestTurbineStodolaPartialArc_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestTurbineStodolaPartialArc.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.pipe 2>&1)