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.001285/0.001285, allocations: 112.4 kB / 17.06 MB, free: 5.996 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.001095/0.001096, allocations: 200 kB / 18 MB, free: 5.078 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.257/1.257, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2559/0.2559, allocations: 48.84 MB / 320.1 MB, free: 11.02 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.001421/0.001421, allocations: 72.47 kB / 450 MB, free: 9.051 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1167, allocations: 59.15 MB / 0.4972 GB, free: 13.77 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc): time 0.03012/0.1468, allocations: 27.65 MB / 0.5242 GB, free: 2.012 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2563/0.4032, allocations: 16.35 MB / 0.5402 GB, free: 6.246 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003151/0.4035, allocations: 2.844 kB / 0.5402 GB, free: 6.246 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000454/0.404, allocations: 113.5 kB / 0.5403 GB, free: 6.246 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003042/0.4044, allocations: 152.3 kB / 0.5405 GB, free: 6.238 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0191/0.4235, allocations: 6.764 MB / 0.5471 GB, free: 5.223 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001015/0.4245, allocations: 440.8 kB / 0.5475 GB, free: 5.102 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002981/0.4248, allocations: 151.6 kB / 0.5476 GB, free: 5.094 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004002/0.4288, allocations: 1.843 MB / 0.5494 GB, free: 4.551 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01379/0.4426, allocations: 6.245 MB / 0.5555 GB, free: 2.484 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.357e-05/0.4427, allocations: 17.97 kB / 0.5556 GB, free: 2.484 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0166/0.4593, allocations: 8.925 MB / 0.5643 GB, free: 14.53 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.978e-05/0.4595, allocations: 54 kB / 0.5643 GB, free: 14.48 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002701/0.4597, allocations: 136.5 kB / 0.5644 GB, free: 14.41 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0103/0.47, allocations: 5.074 MB / 0.5694 GB, free: 11.36 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.4701, allocations: 4 kB / 0.5694 GB, free: 11.36 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4701, allocations: 0 / 0.5694 GB, free: 11.36 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.4701, allocations: 0 / 0.5694 GB, free: 11.36 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.003129/0.4732, allocations: 1.135 MB / 0.5705 GB, free: 10.51 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.4733, allocations: 15.08 kB / 0.5705 GB, free: 10.51 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.221e-05/0.4734, allocations: 52.27 kB / 0.5706 GB, free: 10.45 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002232/0.4736, allocations: 51.28 kB / 0.5706 GB, free: 10.43 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003838/0.474, allocations: 284.3 kB / 0.5709 GB, free: 10.14 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.474, allocations: 20 kB / 0.5709 GB, free: 10.14 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.317e-05/0.474, allocations: 21.81 kB / 0.5709 GB, free: 10.13 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006297/0.4747, allocations: 337.9 kB / 0.5713 GB, free: 9.879 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.4747, allocations: 2.031 kB / 0.5713 GB, free: 9.879 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.409e-05/0.4747, allocations: 9.844 kB / 0.5713 GB, free: 9.871 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.4748, allocations: 8.031 kB / 0.5713 GB, free: 9.871 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005174/0.4753, allocations: 211.5 kB / 0.5715 GB, free: 9.773 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001626/0.4769, allocations: 1.711 MB / 0.5732 GB, free: 8.133 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003599/0.4773, allocations: 113.1 kB / 0.5733 GB, free: 8.07 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.4774, allocations: 50.02 kB / 0.5733 GB, free: 8.039 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1337/0.6111, allocations: 64.25 MB / 0.6361 GB, free: 3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.6112, allocations: 32.75 kB / 0.6361 GB, free: 2.961 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 2.856e-06/0.6112, allocations: 0 / 0.6361 GB, free: 2.961 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0009578/0.6121, allocations: 253.2 kB / 0.6363 GB, free: 2.707 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.6122, allocations: 55.41 kB / 0.6364 GB, free: 2.641 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002942/0.6125, allocations: 288.4 kB / 0.6367 GB, free: 2.355 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.6125, allocations: 25.7 kB / 0.6367 GB, free: 2.324 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.6126, allocations: 183.4 kB / 0.6369 GB, free: 2.141 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.6127, allocations: 31.55 kB / 0.6369 GB, free: 2.109 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.809e-05/0.6127, allocations: 46.03 kB / 0.6369 GB, free: 2.059 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.6129, allocations: 338.8 kB / 0.6372 GB, free: 1.719 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.613, allocations: 52.83 kB / 0.6373 GB, free: 1.664 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001747/0.6132, allocations: 131.1 kB / 0.6374 GB, free: 1.496 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003197/0.6135, allocations: 185.8 kB / 0.6376 GB, free: 1.277 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.6135, allocations: 4 kB / 0.6376 GB, free: 1.273 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004369/0.614, allocations: 216.9 kB / 0.6378 GB, free: 1.055 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.614, allocations: 11.91 kB / 0.6378 GB, free: 1.043 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.614, allocations: 4 kB / 0.6378 GB, free: 1.039 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.6141, allocations: 4.375 kB / 0.6378 GB, free: 1.035 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.6143, allocations: 47.91 kB / 0.6379 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.815e-05/0.6143, allocations: 7.984 kB / 0.6379 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001851/0.6145, allocations: 31.69 kB / 0.6379 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.6145, allocations: 8 kB / 0.6379 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002013/0.6147, allocations: 148 kB / 0.6381 GB, free: 0.793 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000175/0.6149, allocations: 132.8 kB / 0.6382 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003053/0.6152, allocations: 194.2 kB / 0.6384 GB, free: 392 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.216e-06/0.6152, allocations: 4.078 kB / 0.6384 GB, free: 388 kB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0004001/0.6156, allocations: 217 kB / 0.6386 GB, free: 164 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.6156, allocations: 8 kB / 0.6386 GB, free: 156 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.6157, allocations: 4 kB / 0.6386 GB, free: 152 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.771e-06/0.6157, allocations: 7.984 kB / 0.6386 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.6158, allocations: 48.36 kB / 0.6387 GB, free: 96 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.6158, allocations: 7.984 kB / 0.6387 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.616, allocations: 15.91 kB / 0.6387 GB, free: 72 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.616, allocations: 12 kB / 0.6387 GB, free: 60 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.0001128/0.6161, allocations: 196.1 kB / 0.6389 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.205e-05/0.6162, allocations: 23.72 kB / 0.6389 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005161/0.6167, allocations: 290.8 kB / 0.6392 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.6167, allocations: 0 / 0.6392 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.6168, allocations: 0.8125 kB / 0.6392 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.6168, allocations: 0 / 0.6392 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003716/0.6171, allocations: 345.8 kB / 0.6395 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.6172, allocations: 0 / 0.6395 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001489/0.6173, allocations: 27.92 kB / 0.6395 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.6173, allocations: 5 kB / 0.6395 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.6173, allocations: 4 kB / 0.6395 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.6173, allocations: 0 / 0.6395 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.6173, allocations: 7.984 kB / 0.6395 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004854/0.6178, allocations: 279 kB / 0.6398 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.008e-05/0.6179, allocations: 104.7 kB / 0.6399 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.132e-05/0.618, allocations: 11.84 kB / 0.6399 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.6182, allocations: 27.94 kB / 0.6399 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.118e-05/0.6182, allocations: 12.05 kB / 0.64 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.6182, allocations: 4 kB / 0.64 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002968/0.6185, allocations: 311.1 kB / 0.6403 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6185, allocations: 0 / 0.6403 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004239/0.6228, allocations: 1.3 MB / 0.6415 GB, free: 13.05 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.006772/0.6296, allocations: 2.109 MB / 0.6436 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005789/0.6302, allocations: 188.8 kB / 0.6438 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.6302, allocations: 448 / 0.6438 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.6303, allocations: 47.91 kB / 0.6438 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008198/0.6311, allocations: 131.5 kB / 0.6439 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005764/0.6369, allocations: 3.379 MB / 0.6472 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.6373, allocations: 0.7678 MB / 0.648 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002679/0.6375, allocations: 126.8 kB / 0.6481 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.6377, allocations: 103.4 kB / 0.6482 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of SimCode: time 8.82e-07/0.6377, allocations: 4 kB / 0.6482 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08999/0.7277, allocations: 52.02 MB / 0.699 GB, free: 2.004 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.5, allocations: 12.02 kB / 0.699 GB, free: 1.992 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)