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.001125/0.001125, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001168/0.001168, allocations: 193.4 kB / 16.25 MB, free: 6.633 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.154/1.154, allocations: 205.1 MB / 222.1 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 2.716/2.716, allocations: 9.082 MB / 278.5 MB, free: 12.37 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.001532/0.001532, allocations: 63.91 kB / 337.6 MB, free: 25.69 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09741/0.09896, allocations: 48.16 MB / 385.8 MB, free: 9.492 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.setSat): time 0.01992/0.1189, allocations: 19.16 MB / 404.9 MB, free: 6.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008795/0.1277, allocations: 9.405 MB / 414.3 MB, free: 12.81 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002451/0.128, allocations: 0 / 414.3 MB, free: 12.81 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001103/0.1292, allocations: 406.3 kB / 414.7 MB, free: 12.41 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006343/0.1299, allocations: 234.6 kB / 415 MB, free: 12.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01397/0.1438, allocations: 4.113 MB / 419.1 MB, free: 8.07 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000939/0.1448, allocations: 401.8 kB / 419.5 MB, free: 7.676 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.1449, allocations: 24.39 kB / 419.5 MB, free: 7.648 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005261/0.1455, allocations: 183.1 kB / 419.7 MB, free: 7.469 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002081/0.1457, allocations: 103.5 kB / 419.8 MB, free: 7.367 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.468e-05/0.1457, allocations: 4 kB / 419.8 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01541/0.1611, allocations: 7.239 MB / 427 MB, free: 112 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.374e-05/0.1612, allocations: 27.8 kB / 427.1 MB, free: 84 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2077/0.3689, allocations: 109.5 kB / 427.2 MB, free: 20.59 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01121/0.3802, allocations: 3.277 MB / 430.4 MB, free: 20.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3802, allocations: 0.5625 kB / 430.4 MB, free: 20.57 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3802, allocations: 1.203 kB / 430.4 MB, free: 20.57 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.3802, allocations: 0.6562 kB / 430.4 MB, free: 20.57 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.002856/0.3831, allocations: 0.8093 MB / 431.2 MB, free: 20 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.3832, allocations: 12.7 kB / 431.3 MB, free: 20 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.157e-05/0.3832, allocations: 53.16 kB / 431.3 MB, free: 19.96 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003998/0.3836, allocations: 64.92 kB / 431.4 MB, free: 19.94 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.3838, allocations: 188.3 kB / 431.6 MB, free: 19.74 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.968e-05/0.3838, allocations: 5.219 kB / 431.6 MB, free: 19.74 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.3838, allocations: 8.062 kB / 431.6 MB, free: 19.74 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004052/0.3842, allocations: 228.5 kB / 431.8 MB, free: 19.71 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.3843, allocations: 0 / 431.8 MB, free: 19.71 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.3843, allocations: 3.016 kB / 431.8 MB, free: 19.71 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/0.3843, allocations: 14.56 kB / 431.8 MB, free: 19.71 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000424/0.3847, allocations: 217 kB / 432 MB, free: 19.7 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000339/0.3851, allocations: 359.9 kB / 432.4 MB, free: 19.48 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.3861, allocations: 351.8 kB / 432.7 MB, free: 19.45 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003294/0.3865, allocations: 249.5 kB / 433 MB, free: 19.43 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04851/0.435, allocations: 28.6 MB / 461.6 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.435, allocations: 40.44 kB / 461.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 2.194e-06/0.435, allocations: 0 / 461.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.001068/0.4361, allocations: 0.6748 MB / 462.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.4362, allocations: 56.39 kB / 462.3 MB, free: 10.67 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.903e-05/0.4362, allocations: 111.5 kB / 462.4 MB, free: 10.57 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.4363, allocations: 28.39 kB / 462.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.225e-05/0.4363, allocations: 88.83 kB / 462.6 MB, free: 10.45 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/0.4364, allocations: 227.4 kB / 462.8 MB, free: 10.3 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.024e-05/0.4365, allocations: 57.44 kB / 462.8 MB, free: 10.28 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.4366, allocations: 340.3 kB / 463.2 MB, free: 9.965 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002253/0.4369, allocations: 174.7 kB / 463.3 MB, free: 9.961 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002256/0.4371, allocations: 179.1 kB / 463.5 MB, free: 9.945 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004496/0.4375, allocations: 432.5 kB / 463.9 MB, free: 9.906 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4376, allocations: 0 / 463.9 MB, free: 9.906 MB / 334.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0005845/0.4381, allocations: 471.5 kB / 464.4 MB, free: 9.836 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.4382, allocations: 6.562 kB / 464.4 MB, free: 9.836 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.4382, allocations: 4 kB / 464.4 MB, free: 9.832 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.4382, allocations: 3.188 kB / 464.4 MB, free: 9.832 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.4384, allocations: 29.09 kB / 464.4 MB, free: 9.832 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.4384, allocations: 0 / 464.4 MB, free: 9.832 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/0.4385, allocations: 35.94 kB / 464.5 MB, free: 9.809 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.4386, allocations: 11.55 kB / 464.5 MB, free: 9.805 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.0001128/0.4387, allocations: 134.9 kB / 464.6 MB, free: 9.691 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/0.4387, allocations: 22.03 kB / 464.6 MB, free: 9.676 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007748/0.4395, allocations: 0.7714 MB / 465.4 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.602e-05/0.4395, allocations: 11.38 kB / 465.4 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.4395, allocations: 0 / 465.4 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.4395, allocations: 2.734 kB / 465.4 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002662/0.4398, allocations: 427.5 kB / 465.8 MB, free: 9.305 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.4398, allocations: 3.938 kB / 465.8 MB, free: 9.305 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.44, allocations: 36.66 kB / 465.9 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.44, allocations: 0 / 465.9 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.44, allocations: 3.75 kB / 465.9 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.44, allocations: 0 / 465.9 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.44, allocations: 0 / 465.9 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005526/0.4406, allocations: 0.519 MB / 466.4 MB, free: 9.117 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.645e-05/0.4407, allocations: 129.3 kB / 466.5 MB, free: 8.992 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/0.4407, allocations: 3.562 kB / 466.5 MB, free: 8.992 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.4408, allocations: 11.48 kB / 466.5 MB, free: 8.988 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.377e-05/0.4409, allocations: 7.328 kB / 466.5 MB, free: 8.984 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.4409, allocations: 7.594 kB / 466.6 MB, free: 8.984 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.61e-05/0.4409, allocations: 86.34 kB / 466.6 MB, free: 8.906 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4409, allocations: 0 / 466.6 MB, free: 8.906 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002545/0.4435, allocations: 0.7065 MB / 467.3 MB, free: 8.77 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.004573/0.4481, allocations: 1.993 MB / 469.3 MB, free: 7.836 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006656/0.4487, allocations: 445.9 kB / 469.8 MB, free: 7.777 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4488, allocations: 3 kB / 469.8 MB, free: 7.777 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002522/0.449, allocations: 250.2 kB / 470 MB, free: 7.75 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.4501, allocations: 236 kB / 470.3 MB, free: 7.648 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003813/0.4539, allocations: 3.052 MB / 473.3 MB, free: 5.945 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.4542, allocations: 0.7533 MB / 474.1 MB, free: 5.223 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003116/0.4545, allocations: 196.5 kB / 474.2 MB, free: 5.133 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.34e-05/0.4546, allocations: 70.12 kB / 474.3 MB, free: 5.117 MB / 334.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4546, allocations: 0 / 474.3 MB, free: 5.117 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5542/1.009, allocations: 29.54 MB / 0.492 GB, free: 8.617 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002734/1.009, allocations: 198.3 kB / 0.4922 GB, free: 8.359 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.948/4.957, allocations: 0 / 0.4922 GB, free: 8.359 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)