Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.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/HelmholtzMedia master/package.mo", uses=false) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 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(HelmholtzMedia.Examples.ConvergenceTest.setSat,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_setSat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.setSat,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_setSat",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.001303/0.001303, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001289/0.001289, allocations: 191 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.894/4.894, allocations: 205.1 MB / 222 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.3044/0.3044, allocations: 9.082 MB / 278.4 MB, free: 12.4 MB / 238.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.001413/0.001413, allocations: 67.91 kB / 337.4 MB, free: 25.77 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0921/0.09353, allocations: 48.16 MB / 385.6 MB, free: 9.578 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.setSat): time 0.02052/0.1141, allocations: 19.41 MB / 405 MB, free: 6.078 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008961/0.1231, allocations: 9.647 MB / 414.7 MB, free: 12.4 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002246/0.1234, allocations: 0 / 414.7 MB, free: 12.4 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.1244, allocations: 394.3 kB / 415.1 MB, free: 12.01 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006085/0.1251, allocations: 234.7 kB / 415.3 MB, free: 11.78 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01434/0.1394, allocations: 3.819 MB / 419.1 MB, free: 7.961 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006946/0.1401, allocations: 389.8 kB / 419.5 MB, free: 7.578 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.125e-05/0.1402, allocations: 24.38 kB / 419.5 MB, free: 7.551 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003211/0.1405, allocations: 167.1 kB / 419.7 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.1407, allocations: 107.5 kB / 419.8 MB, free: 7.281 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.1407, allocations: 4 kB / 419.8 MB, free: 7.277 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01285/0.1536, allocations: 6.751 MB / 426.5 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.103e-05/0.1537, allocations: 19.86 kB / 426.5 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003764/0.1541, allocations: 115.4 kB / 426.7 MB, free: 388 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2227/0.3767, allocations: 3.139 MB / 429.8 MB, free: 20.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3768, allocations: 0 / 429.8 MB, free: 20.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3768, allocations: 3.328 kB / 429.8 MB, free: 20.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.219e-06/0.3768, allocations: 0 / 429.8 MB, free: 20.23 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.00273/0.3795, allocations: 0.8098 MB / 430.6 MB, free: 19.65 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/0.3796, allocations: 9.781 kB / 430.6 MB, free: 19.65 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.992e-05/0.3797, allocations: 55.48 kB / 430.7 MB, free: 19.61 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004009/0.3801, allocations: 70.59 kB / 430.7 MB, free: 19.59 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.3803, allocations: 186.6 kB / 430.9 MB, free: 19.39 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/0.3803, allocations: 3.5 kB / 430.9 MB, free: 19.39 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.3803, allocations: 7.031 kB / 430.9 MB, free: 19.39 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004322/0.3808, allocations: 229.5 kB / 431.2 MB, free: 19.36 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.3808, allocations: 0 / 431.2 MB, free: 19.36 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.3808, allocations: 3.938 kB / 431.2 MB, free: 19.36 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/0.3808, allocations: 9.422 kB / 431.2 MB, free: 19.36 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004694/0.3813, allocations: 218.4 kB / 431.4 MB, free: 19.35 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003816/0.3817, allocations: 363.5 kB / 431.7 MB, free: 19.13 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.3828, allocations: 342.2 kB / 432.1 MB, free: 19.11 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000349/0.3832, allocations: 253.1 kB / 432.3 MB, free: 19.09 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04921/0.4324, allocations: 28.61 MB / 460.9 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.4324, allocations: 33.56 kB / 461 MB, free: 10.48 MB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 1.943e-06/0.4325, allocations: 0 / 461 MB, free: 10.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.001042/0.4335, allocations: 0.6816 MB / 461.6 MB, free: 10.41 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.4335, allocations: 56.61 kB / 461.7 MB, free: 10.35 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.373e-05/0.4336, allocations: 107.7 kB / 461.8 MB, free: 10.25 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.4337, allocations: 30.73 kB / 461.8 MB, free: 10.22 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.931e-05/0.4337, allocations: 85.5 kB / 461.9 MB, free: 10.13 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/0.4338, allocations: 226.9 kB / 462.1 MB, free: 9.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.574e-05/0.4339, allocations: 58.17 kB / 462.2 MB, free: 9.965 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.434, allocations: 338.2 kB / 462.5 MB, free: 9.648 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002409/0.4343, allocations: 174.9 kB / 462.7 MB, free: 9.641 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002384/0.4345, allocations: 177.7 kB / 462.9 MB, free: 9.629 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005275/0.4351, allocations: 422.9 kB / 463.3 MB, free: 9.594 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4351, allocations: 1.203 kB / 463.3 MB, free: 9.594 MB / 334.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006479/0.4357, allocations: 483.2 kB / 463.8 MB, free: 9.516 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.4358, allocations: 4.156 kB / 463.8 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.4358, allocations: 0.7188 kB / 463.8 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.4358, allocations: 1.094 kB / 463.8 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.436, allocations: 31.34 kB / 463.8 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.436, allocations: 0 / 463.8 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/0.4362, allocations: 38.08 kB / 463.8 MB, free: 9.492 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/0.4362, allocations: 11.78 kB / 463.8 MB, free: 9.488 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (sat_dv.vap.phase,sat_dv.liq.phase,sat_dl.vap.phase,sat_dl.liq.phase,sat_p.vap.phase,sat_p.liq.phase,sat_T.vap.phase,sat_T.liq.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001301/0.4363, allocations: 136.1 kB / 464 MB, free: 9.371 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.045e-05/0.4364, allocations: 19.44 kB / 464 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008601/0.4372, allocations: 0.771 MB / 464.8 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/0.4373, allocations: 16.17 kB / 464.8 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.4373, allocations: 0 / 464.8 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.4373, allocations: 6.812 kB / 464.8 MB, free: 9.242 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003041/0.4376, allocations: 427.5 kB / 465.2 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4376, allocations: 0 / 465.2 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.4378, allocations: 28.94 kB / 465.2 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.4378, allocations: 3.562 kB / 465.2 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.4378, allocations: 5.812 kB / 465.2 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.4378, allocations: 0 / 465.2 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4378, allocations: 0 / 465.2 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006275/0.4384, allocations: 0.5222 MB / 465.8 MB, free: 8.895 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.214e-05/0.4385, allocations: 122.8 kB / 465.9 MB, free: 8.777 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.4386, allocations: 2.078 kB / 465.9 MB, free: 8.777 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.4387, allocations: 10.55 kB / 465.9 MB, free: 8.777 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.341e-05/0.4388, allocations: 13.2 kB / 465.9 MB, free: 8.777 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.4388, allocations: 5.062 kB / 465.9 MB, free: 8.777 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.695e-05/0.4388, allocations: 90.81 kB / 466 MB, free: 8.695 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4388, allocations: 0 / 466 MB, free: 8.695 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002582/0.4414, allocations: 0.7086 MB / 466.7 MB, free: 8.57 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (sat_T.liq.phase,sat_T.vap.phase,sat_p.liq.phase,sat_p.vap.phase,sat_dl.liq.phase,sat_dl.vap.phase,sat_dv.liq.phase,sat_dv.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.00356/0.445, allocations: 1.987 MB / 468.7 MB, free: 7.641 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000601/0.4456, allocations: 443.5 kB / 469.1 MB, free: 7.578 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4456, allocations: 0 / 469.1 MB, free: 7.578 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002864/0.4459, allocations: 246.3 kB / 469.4 MB, free: 7.555 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.447, allocations: 233.9 kB / 469.6 MB, free: 7.469 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003152/0.4501, allocations: 3.053 MB / 472.7 MB, free: 5.77 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.4504, allocations: 0.7466 MB / 473.4 MB, free: 5.055 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003175/0.4507, allocations: 194.9 kB / 473.6 MB, free: 4.969 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.191e-05/0.4508, allocations: 67.78 kB / 473.7 MB, free: 4.953 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4508, allocations: 0 / 473.7 MB, free: 4.953 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08716/0.538, allocations: 29.22 MB / 0.4911 GB, free: 8.82 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001881/0.5382, allocations: 198 kB / 0.4913 GB, free: 8.562 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.769/3.308, allocations: 4 kB / 0.4913 GB, free: 8.559 MB / 366.1 MB (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_setSat_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-05 HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_setSat.fmu > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe 2>&1)