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.001233/0.001233, allocations: 105.1 kB / 17.06 MB, free: 6.098 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.001249/0.001249, allocations: 200.1 kB / 18 MB, free: 5.168 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.4/1.4, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3146/0.3146, allocations: 48.85 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.00288/0.00288, allocations: 79.88 kB / 450 MB, free: 9.043 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1186, allocations: 59.15 MB / 0.4973 GB, free: 13.76 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc): time 0.03435/0.153, allocations: 27.64 MB / 0.5243 GB, free: 2.008 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2554/0.4085, allocations: 16.35 MB / 0.5402 GB, free: 6.234 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003122/0.4089, allocations: 3.125 kB / 0.5402 GB, free: 6.234 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004826/0.4094, allocations: 114.7 kB / 0.5403 GB, free: 6.234 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002992/0.4097, allocations: 149.5 kB / 0.5405 GB, free: 6.227 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02349/0.4332, allocations: 6.767 MB / 0.5471 GB, free: 5.219 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009762/0.4342, allocations: 440.8 kB / 0.5475 GB, free: 5.098 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003961/0.4346, allocations: 148.5 kB / 0.5476 GB, free: 5.094 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004937/0.4396, allocations: 1.838 MB / 0.5494 GB, free: 4.551 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01494/0.4545, allocations: 6.242 MB / 0.5555 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001036/0.4547, allocations: 18.66 kB / 0.5556 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01852/0.4732, allocations: 8.932 MB / 0.5643 GB, free: 14.52 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.4733, allocations: 48.19 kB / 0.5643 GB, free: 14.48 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002535/0.4736, allocations: 141.9 kB / 0.5645 GB, free: 14.4 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01349/0.4871, allocations: 5.085 MB / 0.5694 GB, free: 11.34 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.4871, allocations: 2.125 kB / 0.5694 GB, free: 11.34 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4871, allocations: 4 kB / 0.5694 GB, free: 11.34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.4872, 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.004056/0.4912, allocations: 1.169 MB / 0.5706 GB, free: 10.45 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.4913, allocations: 12.52 kB / 0.5706 GB, free: 10.45 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.057e-05/0.4914, allocations: 58.19 kB / 0.5706 GB, free: 10.39 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002393/0.4916, allocations: 51.2 kB / 0.5707 GB, free: 10.37 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004107/0.492, allocations: 274.5 kB / 0.5709 GB, free: 10.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.492, allocations: 19.22 kB / 0.571 GB, free: 10.08 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.973e-05/0.4921, allocations: 30.06 kB / 0.571 GB, free: 10.07 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006614/0.4928, allocations: 334.9 kB / 0.5713 GB, free: 9.82 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.4928, allocations: 0 / 0.5713 GB, free: 9.82 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.625e-05/0.4928, allocations: 11.16 kB / 0.5713 GB, free: 9.812 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.4928, allocations: 10.98 kB / 0.5713 GB, free: 9.812 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000547/0.4934, allocations: 213.4 kB / 0.5715 GB, free: 9.715 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00184/0.4952, allocations: 1.718 MB / 0.5732 GB, free: 8.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003712/0.4956, allocations: 107.2 kB / 0.5733 GB, free: 8.008 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.4958, allocations: 50.77 kB / 0.5734 GB, free: 7.977 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1402/0.636, allocations: 64.25 MB / 0.6361 GB, free: 2.922 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/0.6361, allocations: 30.56 kB / 0.6361 GB, free: 2.883 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 3.707e-06/0.6361, allocations: 1.219 kB / 0.6361 GB, free: 2.883 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.00109/0.6372, allocations: 253.3 kB / 0.6364 GB, free: 2.629 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.6373, allocations: 55.41 kB / 0.6364 GB, free: 2.562 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00037/0.6376, allocations: 288.5 kB / 0.6367 GB, free: 2.277 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.6377, allocations: 25.7 kB / 0.6367 GB, free: 2.246 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.6378, allocations: 182.5 kB / 0.6369 GB, free: 2.066 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.885e-05/0.6379, allocations: 35.69 kB / 0.637 GB, free: 2.031 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.684e-05/0.6379, allocations: 37.7 kB / 0.637 GB, free: 1.988 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.6381, allocations: 342.8 kB / 0.6373 GB, free: 1.645 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.6383, allocations: 60.72 kB / 0.6374 GB, free: 1.582 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002063/0.6385, allocations: 131.9 kB / 0.6375 GB, free: 1.414 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003878/0.6389, allocations: 178.9 kB / 0.6377 GB, free: 1.199 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.6389, allocations: 0 / 0.6377 GB, free: 1.199 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005297/0.6394, allocations: 215.7 kB / 0.6379 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/0.6395, allocations: 15.89 kB / 0.6379 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.6395, allocations: 3.938 kB / 0.6379 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.6395, allocations: 4 kB / 0.6379 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/0.6398, allocations: 56.28 kB / 0.6379 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.6398, allocations: 5.062 kB / 0.638 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002314/0.64, allocations: 31.73 kB / 0.638 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/0.64, allocations: 15.98 kB / 0.638 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002286/0.6403, allocations: 140 kB / 0.6381 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002097/0.6405, allocations: 136.8 kB / 0.6383 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003512/0.6409, allocations: 195.1 kB / 0.6384 GB, free: 308 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.425e-06/0.6409, allocations: 80 / 0.6385 GB, free: 308 kB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0004818/0.6414, allocations: 221.1 kB / 0.6387 GB, free: 80 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.6414, allocations: 8 kB / 0.6387 GB, free: 72 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.6414, allocations: 0 / 0.6387 GB, free: 72 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.367e-06/0.6414, allocations: 8 kB / 0.6387 GB, free: 64 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.6416, allocations: 43.92 kB / 0.6387 GB, free: 20 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.6416, allocations: 8.422 kB / 0.6387 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002027/0.6418, allocations: 23.94 kB / 0.6387 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.6418, allocations: 12 kB / 0.6388 GB, free: 15.97 MB / 0.4981 GB 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.0001434/0.642, allocations: 196.1 kB / 0.6389 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.05e-05/0.6421, allocations: 27.81 kB / 0.639 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006227/0.6427, allocations: 280.1 kB / 0.6392 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.8e-06/0.6427, allocations: 8 kB / 0.6392 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.6427, allocations: 0 / 0.6392 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.6427, allocations: 0 / 0.6392 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004959/0.6432, allocations: 347.2 kB / 0.6396 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.6432, allocations: 0 / 0.6396 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.6434, allocations: 23.92 kB / 0.6396 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.6434, allocations: 4 kB / 0.6396 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.6434, allocations: 8.859 kB / 0.6396 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.6434, allocations: 3.938 kB / 0.6396 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.6434, allocations: 96 / 0.6396 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005346/0.644, allocations: 283.1 kB / 0.6399 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.6441, allocations: 110.6 kB / 0.64 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.648e-05/0.6442, allocations: 11.89 kB / 0.64 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/0.6444, allocations: 25.12 kB / 0.64 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.6444, allocations: 7.984 kB / 0.64 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.6444, allocations: 4 kB / 0.64 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003564/0.6448, allocations: 311.1 kB / 0.6403 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.81e-07/0.6448, allocations: 0 / 0.6403 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005022/0.6498, allocations: 1.314 MB / 0.6416 GB, free: 12.96 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.00923/0.6591, allocations: 2.134 MB / 0.6437 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006501/0.6598, allocations: 193 kB / 0.6439 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.6598, allocations: 4 kB / 0.6439 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.6599, allocations: 40.17 kB / 0.6439 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009413/0.6609, allocations: 133.9 kB / 0.6441 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006765/0.6677, allocations: 3.393 MB / 0.6474 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004014/0.6681, allocations: 0.7717 MB / 0.6481 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002863/0.6684, allocations: 126.8 kB / 0.6482 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001558/0.6685, allocations: 103.4 kB / 0.6483 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of SimCode: time 5.51e-07/0.6685, allocations: 0 / 0.6483 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09963/0.7682, allocations: 52.1 MB / 0.6992 GB, free: 1.77 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/13.13, allocations: 7.953 kB / 0.6992 GB, free: 1.762 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)