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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008601/0.0008601, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8796/0.8796, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.02863/0.02863, allocations: 7.514 MB / 266.7 MB, free: 6.207 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 391.7 MB, free: 6.383 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.601e-05, allocations: 6.219 kB / 391.7 MB, free: 6.375 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.setSat): time 0.0141/0.01412, allocations: 17.42 MB / 409.1 MB, free: 4.883 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005573/0.01969, allocations: 8.376 MB / 417.5 MB, free: 12.48 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.58e-05/0.01977, allocations: 0 / 417.5 MB, free: 12.48 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007456/0.02052, allocations: 386.8 kB / 417.9 MB, free: 12.1 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004788/0.02099, allocations: 274.3 kB / 418.2 MB, free: 11.83 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007849/0.02884, allocations: 4.821 MB / 423 MB, free: 7.008 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003535/0.0292, allocations: 425.5 kB / 423.4 MB, free: 6.59 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.867e-05/0.02925, allocations: 8.594 kB / 423.4 MB, free: 6.578 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002688/0.02951, allocations: 255.2 kB / 423.7 MB, free: 6.328 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.039e-05/0.02961, allocations: 75.78 kB / 423.7 MB, free: 6.254 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.02962, allocations: 4 kB / 423.7 MB, free: 6.25 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005682/0.0353, allocations: 5.067 MB / 428.8 MB, free: 1.172 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 3.055e-05/0.03533, allocations: 15.88 kB / 428.8 MB, free: 1.156 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001273/0.03546, allocations: 83.78 kB / 428.9 MB, free: 1.074 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00458/0.04004, allocations: 3.195 MB / 432.1 MB, free: 13.87 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.04005, allocations: 4 kB / 432.1 MB, free: 13.87 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.04005, allocations: 0 / 432.1 MB, free: 13.87 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.04005, allocations: 0 / 432.1 MB, free: 13.87 MB / 410.7 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.001/0.04105, allocations: 0.7556 MB / 432.9 MB, free: 13.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.0411, allocations: 8.625 kB / 432.9 MB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.43e-05/0.04115, allocations: 58.53 kB / 432.9 MB, free: 13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002522/0.0414, allocations: 63.77 kB / 433 MB, free: 12.94 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004561/0.04186, allocations: 125 kB / 433.1 MB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.146e-05/0.04189, allocations: 7.938 kB / 433.1 MB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.04191, allocations: 8 kB / 433.1 MB, free: 12.78 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003133/0.04222, allocations: 241.5 kB / 433.4 MB, free: 12.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.04223, allocations: 0 / 433.4 MB, free: 12.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.04224, allocations: 7.938 kB / 433.4 MB, free: 12.53 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.04226, allocations: 11.98 kB / 433.4 MB, free: 12.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000254/0.04251, allocations: 232.4 kB / 433.6 MB, free: 12.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002528/0.04276, allocations: 335.5 kB / 433.9 MB, free: 11.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005265/0.04329, allocations: 303.1 kB / 434.2 MB, free: 11.61 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.04347, allocations: 214 kB / 434.4 MB, free: 11.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01935/0.06282, allocations: 9.223 MB / 443.7 MB, free: 2.164 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.06285, allocations: 38.56 kB / 443.7 MB, free: 2.117 MB / 410.7 MB Notification: Performance of pre-optimization done (n=73): time 2.084e-06/0.06285, allocations: 4 kB / 443.7 MB, free: 2.113 MB / 410.7 MB Notification: Performance of matching and sorting (n=73): time 0.0008226/0.06368, allocations: 0.7176 MB / 444.4 MB, free: 1.391 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.06371, allocations: 63.33 kB / 444.5 MB, free: 1.316 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.179e-05/0.06378, allocations: 109.8 kB / 444.6 MB, free: 1.199 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.0638, allocations: 29.7 kB / 444.6 MB, free: 1.164 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.881e-05/0.06384, allocations: 81.45 kB / 444.7 MB, free: 1.082 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.06396, allocations: 237.9 kB / 444.9 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.208e-05/0.06403, allocations: 57.67 kB / 445 MB, free: 0.7852 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.767e-05/0.06412, allocations: 342.8 kB / 445.3 MB, free: 452 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/0.06429, allocations: 180.5 kB / 445.5 MB, free: 268 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.06445, allocations: 191.2 kB / 445.7 MB, free: 80 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1691/0.2335, allocations: 452.1 kB / 446.1 MB, free: 93.08 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.2335, allocations: 3.594 kB / 446.1 MB, free: 93.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0004833/0.234, allocations: 0.5017 MB / 446.6 MB, free: 92.97 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.234, allocations: 6.531 kB / 446.6 MB, free: 92.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.234, allocations: 0 / 446.6 MB, free: 92.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.234, allocations: 0 / 446.6 MB, free: 92.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.79e-05/0.2341, allocations: 26.2 kB / 446.7 MB, free: 92.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.2341, allocations: 2 kB / 446.7 MB, free: 92.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.143e-05/0.2342, allocations: 38.06 kB / 446.7 MB, free: 92.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.2342, allocations: 9.906 kB / 446.7 MB, free: 92.97 MB / 410.7 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 9.437e-05/0.2343, allocations: 127.5 kB / 446.8 MB, free: 92.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.2343, allocations: 31.42 kB / 446.9 MB, free: 92.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006189/0.235, allocations: 0.82 MB / 447.7 MB, free: 92.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.235, allocations: 9.391 kB / 447.7 MB, free: 92.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.235, allocations: 0 / 447.7 MB, free: 92.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.235, allocations: 9.219 kB / 447.7 MB, free: 92.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002242/0.2352, allocations: 412.9 kB / 448.1 MB, free: 92.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2352, allocations: 3.281 kB / 448.1 MB, free: 92.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.41e-05/0.2353, allocations: 30.92 kB / 448.1 MB, free: 92.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.2353, allocations: 3.312 kB / 448.1 MB, free: 92.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.2353, allocations: 0 / 448.1 MB, free: 92.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.2353, allocations: 3.422 kB / 448.2 MB, free: 92.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.2353, allocations: 0 / 448.2 MB, free: 92.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003977/0.2357, allocations: 0.5517 MB / 448.7 MB, free: 91.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.695e-05/0.2358, allocations: 39.53 kB / 448.7 MB, free: 91.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.2358, allocations: 0.5625 kB / 448.7 MB, free: 91.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.944e-05/0.2358, allocations: 17.77 kB / 448.8 MB, free: 91.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.944e-05/0.2359, allocations: 10.03 kB / 448.8 MB, free: 91.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.2359, allocations: 7.312 kB / 448.8 MB, free: 91.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.495e-05/0.2359, allocations: 81.94 kB / 448.9 MB, free: 91.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2359, allocations: 0 / 448.9 MB, free: 91.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001497/0.2374, allocations: 0.7221 MB / 449.6 MB, free: 91.75 MB / 410.7 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.002354/0.2398, allocations: 2.123 MB / 451.7 MB, free: 90.78 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003658/0.2401, allocations: 420.3 kB / 452.1 MB, free: 90.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2401, allocations: 3.969 kB / 452.1 MB, free: 90.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.2403, allocations: 210.8 kB / 452.3 MB, free: 90.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006064/0.2409, allocations: 225.2 kB / 452.5 MB, free: 90.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002143/0.243, allocations: 3.115 MB / 455.7 MB, free: 88.53 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.226e-05/0.2431, allocations: 141.2 kB / 455.8 MB, free: 88.45 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002038/0.2433, allocations: 190.2 kB / 456 MB, free: 88.44 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.271e-05/0.2434, allocations: 74.19 kB / 456.1 MB, free: 88.39 MB / 410.7 MB Notification: Performance of SimCode: time 6.82e-07/0.2434, allocations: 0 / 456.1 MB, free: 88.39 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04295/0.2863, allocations: 31.12 MB / 487.2 MB, free: 80.52 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.477/7.763, allocations: 4.219 kB / 487.2 MB, free: 80.52 MB / 410.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.004 HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_setSat.fmu > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.752220779657364] Failed to read output from testmodel.py, exit status != 0: 7.860431214794517 7.867070611 7.825324078 Calling exit ...