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.0008062/0.0008062, allocations: 92.75 kB / 16.65 MB, free: 6.59 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.0008731/0.0008731, allocations: 184.2 kB / 17.57 MB, free: 6.199 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.14/1.14, allocations: 205.4 MB / 223.7 MB, free: 13 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2274/0.2274, allocations: 48.78 MB / 320.8 MB, free: 11.09 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.0004618/0.0004618, allocations: 14.48 kB / 391.9 MB, free: 49.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08033/0.0808, allocations: 60.27 MB / 452.2 MB, free: 9.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc): time 0.02486/0.1057, allocations: 27.85 MB / 480 MB, free: 13.12 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01731/0.1231, allocations: 17.54 MB / 497.6 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002194/0.1233, allocations: 11.94 kB / 497.6 MB, free: 11.51 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003539/0.1237, allocations: 95.47 kB / 497.7 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002343/0.1239, allocations: 135.1 kB / 497.8 MB, free: 11.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01208/0.136, allocations: 5.353 MB / 0.4914 GB, free: 5.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005067/0.1365, allocations: 0.5491 MB / 0.4919 GB, free: 5.359 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001941/0.1367, allocations: 124.8 kB / 0.492 GB, free: 5.242 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003039/0.1398, allocations: 1.811 MB / 0.4938 GB, free: 3.406 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01018/0.15, allocations: 6.237 MB / 0.4999 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.983e-05/0.15, allocations: 12 kB / 0.4999 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01248/0.1625, allocations: 8.868 MB / 0.5086 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.973e-05/0.1626, allocations: 43.77 kB / 0.5086 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.1627, allocations: 157 kB / 0.5088 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005996/0.1687, allocations: 5.087 MB / 0.5137 GB, free: 14.91 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.1687, allocations: 0 / 0.5137 GB, free: 14.91 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1687, allocations: 0 / 0.5137 GB, free: 14.91 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1687, allocations: 0 / 0.5137 GB, free: 14.91 MB / 414.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.00207/0.1708, allocations: 1.088 MB / 0.5148 GB, free: 13.77 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.1708, allocations: 11.97 kB / 0.5148 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.238e-05/0.1709, allocations: 58.72 kB / 0.5148 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001931/0.1711, allocations: 48.55 kB / 0.5149 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002757/0.1714, allocations: 276.6 kB / 0.5152 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.1714, allocations: 24.69 kB / 0.5152 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.691e-05/0.1715, allocations: 20 kB / 0.5152 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005964/0.1721, allocations: 338.2 kB / 0.5155 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.1721, allocations: 0 / 0.5155 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.1721, allocations: 16 kB / 0.5155 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.1721, allocations: 4 kB / 0.5155 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005152/0.1726, allocations: 225.5 kB / 0.5158 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00148/0.1741, allocations: 1.714 MB / 0.5174 GB, free: 10.83 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003393/0.1745, allocations: 118.5 kB / 0.5175 GB, free: 10.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.1746, allocations: 56.95 kB / 0.5176 GB, free: 10.65 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2579/0.4325, allocations: 64.6 MB / 0.5807 GB, free: 40.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.4326, allocations: 39.56 kB / 0.5807 GB, free: 40.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 3.406e-06/0.4326, allocations: 0 / 0.5807 GB, free: 40.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008836/0.4335, allocations: 268.9 kB / 0.581 GB, free: 39.83 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/0.4335, allocations: 51.41 kB / 0.581 GB, free: 39.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002414/0.4338, allocations: 289.9 kB / 0.5813 GB, free: 39.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.4338, allocations: 31.45 kB / 0.5813 GB, free: 39.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.4339, allocations: 171.6 kB / 0.5815 GB, free: 39.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.4339, allocations: 35.45 kB / 0.5815 GB, free: 39.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.434, allocations: 26.95 kB / 0.5816 GB, free: 39.33 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.151e-05/0.434, allocations: 336.4 kB / 0.5819 GB, free: 39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.4342, allocations: 51.28 kB / 0.5819 GB, free: 38.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.4343, allocations: 136.9 kB / 0.5821 GB, free: 38.81 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002732/0.4346, allocations: 194.6 kB / 0.5822 GB, free: 38.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.4346, allocations: 0 / 0.5822 GB, free: 38.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003745/0.435, allocations: 223.7 kB / 0.5825 GB, free: 38.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.858e-05/0.4351, allocations: 185 kB / 0.5826 GB, free: 38.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.4351, allocations: 4 kB / 0.5826 GB, free: 38.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.4351, allocations: 7.984 kB / 0.5826 GB, free: 38.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001833/0.4353, allocations: 46.92 kB / 0.5827 GB, free: 38.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/0.4353, allocations: 11.66 kB / 0.5827 GB, free: 38.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001922/0.4355, allocations: 40.16 kB / 0.5827 GB, free: 38.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/0.4356, allocations: 11.98 kB / 0.5827 GB, free: 38.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.644e-06/0.4356, allocations: 8 kB / 0.5828 GB, free: 38.11 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003016/0.4359, allocations: 165.1 kB / 0.5829 GB, free: 37.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-06/0.4359, allocations: 0 / 0.5829 GB, free: 37.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.619e-06/0.4359, allocations: 7.984 kB / 0.5829 GB, free: 37.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.4361, allocations: 53.92 kB / 0.583 GB, free: 37.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.4361, allocations: 4 kB / 0.583 GB, free: 37.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.4362, allocations: 29.81 kB / 0.583 GB, free: 37.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.4362, allocations: 15.94 kB / 0.583 GB, free: 37.88 MB / 414.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 9.777e-05/0.4363, allocations: 217.4 kB / 0.5832 GB, free: 37.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.89e-05/0.4364, allocations: 23.72 kB / 0.5832 GB, free: 37.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004086/0.4368, allocations: 302.5 kB / 0.5835 GB, free: 37.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.4368, allocations: 0 / 0.5835 GB, free: 37.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.4368, allocations: 0 / 0.5835 GB, free: 37.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.4368, allocations: 7.938 kB / 0.5835 GB, free: 37.33 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000285/0.4371, allocations: 335.6 kB / 0.5839 GB, free: 36.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4371, allocations: 0 / 0.5839 GB, free: 36.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.4373, allocations: 31.98 kB / 0.5839 GB, free: 36.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.4373, allocations: 3.984 kB / 0.5839 GB, free: 36.92 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.4373, allocations: 0 / 0.5839 GB, free: 36.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4373, allocations: 0 / 0.5839 GB, free: 36.92 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4373, allocations: 3 kB / 0.5839 GB, free: 36.92 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003777/0.4377, allocations: 294.9 kB / 0.5842 GB, free: 36.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.629e-05/0.4378, allocations: 145.5 kB / 0.5843 GB, free: 36.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.954e-05/0.4378, allocations: 4.047 kB / 0.5843 GB, free: 36.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/0.438, allocations: 33.3 kB / 0.5844 GB, free: 36.42 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.438, allocations: 11.92 kB / 0.5844 GB, free: 36.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.83e-06/0.438, allocations: 0 / 0.5844 GB, free: 36.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002291/0.4383, allocations: 311.1 kB / 0.5847 GB, free: 36.1 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.22e-07/0.4383, allocations: 0 / 0.5847 GB, free: 36.1 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002575/0.4409, allocations: 1.3 MB / 0.5859 GB, free: 34.91 MB / 414.1 MB 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.005096/0.446, allocations: 2.141 MB / 0.588 GB, free: 32.9 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004133/0.4464, allocations: 208.8 kB / 0.5882 GB, free: 32.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4464, allocations: 0 / 0.5882 GB, free: 32.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.4465, allocations: 51.91 kB / 0.5883 GB, free: 32.65 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007215/0.4472, allocations: 127.8 kB / 0.5884 GB, free: 32.53 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003574/0.4508, allocations: 3.568 MB / 0.5919 GB, free: 28.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001339/0.451, allocations: 0.7697 MB / 0.5926 GB, free: 28.02 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002075/0.4512, allocations: 126.2 kB / 0.5928 GB, free: 27.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.672e-05/0.4513, allocations: 107.4 kB / 0.5929 GB, free: 27.8 MB / 414.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4513, allocations: 0 / 0.5929 GB, free: 27.8 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06019/0.5115, allocations: 51.7 MB / 0.6433 GB, free: 8.066 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001933/0.5117, allocations: 212.3 kB / 0.6435 GB, free: 7.809 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.369/4.881, allocations: 0 / 0.6435 GB, free: 7.809 MB / 446.1 MB (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)