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.0007998/0.0007998, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008194/0.0008194, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8823/0.8823, allocations: 177.2 MB / 202.8 MB, free: 5.734 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.02819/0.02819, allocations: 7.515 MB / 266.7 MB, free: 6.191 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.194e-06/2.194e-06, allocations: 0 / 391.7 MB, free: 6.371 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.69e-05/1.91e-05, allocations: 13.23 kB / 391.7 MB, free: 6.359 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.setSat): time 0.01482/0.01484, allocations: 17.41 MB / 409.1 MB, free: 4.875 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006202/0.02104, allocations: 8.372 MB / 417.5 MB, free: 12.48 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.02115, allocations: 4 kB / 417.5 MB, free: 12.47 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007403/0.02189, allocations: 386.8 kB / 417.9 MB, free: 12.09 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004063/0.02229, allocations: 278.3 kB / 418.2 MB, free: 11.82 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007775/0.03007, allocations: 4.817 MB / 423 MB, free: 7 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003403/0.03041, allocations: 421.5 kB / 423.4 MB, free: 6.586 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.807e-05/0.03046, allocations: 12.59 kB / 423.4 MB, free: 6.57 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002659/0.03072, allocations: 251.2 kB / 423.7 MB, free: 6.324 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.265e-05/0.03082, allocations: 83.77 kB / 423.7 MB, free: 6.242 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.03083, allocations: 4 kB / 423.7 MB, free: 6.238 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006118/0.03695, allocations: 5.055 MB / 428.8 MB, free: 1.172 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.706e-05/0.03697, allocations: 23.84 kB / 428.8 MB, free: 1.148 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.03708, allocations: 75.81 kB / 428.9 MB, free: 1.074 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004086/0.04117, allocations: 3.203 MB / 432.1 MB, free: 13.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.04117, allocations: 0 / 432.1 MB, free: 13.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.04117, allocations: 4 kB / 432.1 MB, free: 13.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.04118, allocations: 0 / 432.1 MB, free: 13.86 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.001286/0.04246, allocations: 0.7478 MB / 432.9 MB, free: 13.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.04251, allocations: 16.61 kB / 432.9 MB, free: 13.06 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.897e-05/0.04255, allocations: 54.55 kB / 432.9 MB, free: 13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002215/0.04277, allocations: 75.69 kB / 433 MB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003866/0.04315, allocations: 121 kB / 433.1 MB, free: 12.78 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.04318, allocations: 3.938 kB / 433.1 MB, free: 12.78 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.04319, allocations: 8 kB / 433.1 MB, free: 12.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002741/0.04347, allocations: 249.4 kB / 433.4 MB, free: 12.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.04348, allocations: 3.984 kB / 433.4 MB, free: 12.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.04349, allocations: 3.938 kB / 433.4 MB, free: 12.51 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.0435, allocations: 15.98 kB / 433.4 MB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002343/0.04373, allocations: 224.5 kB / 433.6 MB, free: 12.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002382/0.04397, allocations: 335.5 kB / 433.9 MB, free: 11.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005183/0.04449, allocations: 307.1 kB / 434.2 MB, free: 11.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001674/0.04466, allocations: 210 kB / 434.4 MB, free: 11.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01886/0.06352, allocations: 9.223 MB / 443.7 MB, free: 2.152 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.06355, allocations: 38.56 kB / 443.7 MB, free: 2.105 MB / 410.7 MB Notification: Performance of pre-optimization done (n=73): time 2.154e-06/0.06355, allocations: 4 kB / 443.7 MB, free: 2.102 MB / 410.7 MB Notification: Performance of matching and sorting (n=73): time 0.0007974/0.06435, allocations: 0.7176 MB / 444.4 MB, free: 1.379 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.06438, allocations: 55.41 kB / 444.5 MB, free: 1.312 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.611e-05/0.06445, allocations: 113.7 kB / 444.6 MB, free: 1.191 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.06447, allocations: 29.7 kB / 444.6 MB, free: 1.156 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.09e-05/0.0645, allocations: 85.45 kB / 444.7 MB, free: 1.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.06461, allocations: 233.9 kB / 444.9 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.783e-05/0.06467, allocations: 61.67 kB / 445 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.467e-05/0.06476, allocations: 342.8 kB / 445.3 MB, free: 440 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.06491, allocations: 184.5 kB / 445.5 MB, free: 252 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.06506, allocations: 191.2 kB / 445.7 MB, free: 64 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1449/0.21, allocations: 453 kB / 446.1 MB, free: 93.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.21, allocations: 0 / 446.1 MB, free: 93.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0004127/0.2104, allocations: 0.4922 MB / 446.6 MB, free: 92.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.2104, allocations: 6.031 kB / 446.6 MB, free: 92.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.2104, allocations: 3.375 kB / 446.6 MB, free: 92.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.2104, allocations: 3.844 kB / 446.6 MB, free: 92.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.996e-05/0.2105, allocations: 30.58 kB / 446.7 MB, free: 92.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.2105, allocations: 0 / 446.7 MB, free: 92.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.485e-05/0.2106, allocations: 37.89 kB / 446.7 MB, free: 92.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.2106, allocations: 11 kB / 446.7 MB, free: 92.98 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 8.398e-05/0.2107, allocations: 130.2 kB / 446.8 MB, free: 92.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.043e-05/0.2107, allocations: 21.28 kB / 446.9 MB, free: 92.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005505/0.2113, allocations: 0.8307 MB / 447.7 MB, free: 92.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.2113, allocations: 5.531 kB / 447.7 MB, free: 92.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2113, allocations: 2.625 kB / 447.7 MB, free: 92.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.2113, allocations: 11.5 kB / 447.7 MB, free: 92.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.2115, allocations: 409.1 kB / 448.1 MB, free: 92.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.2115, allocations: 3.281 kB / 448.1 MB, free: 92.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.105e-05/0.2115, allocations: 27 kB / 448.1 MB, free: 92.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2115, allocations: 0 / 448.1 MB, free: 92.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.2116, allocations: 3.344 kB / 448.2 MB, free: 92.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2116, allocations: 3.625 kB / 448.2 MB, free: 92.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2116, allocations: 3.469 kB / 448.2 MB, free: 92.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003404/0.2119, allocations: 0.5469 MB / 448.7 MB, free: 91.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.98e-05/0.2119, allocations: 43.39 kB / 448.7 MB, free: 91.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.212, allocations: 3.188 kB / 448.7 MB, free: 91.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.622e-05/0.212, allocations: 10.75 kB / 448.8 MB, free: 91.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.2121, allocations: 10.02 kB / 448.8 MB, free: 91.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.2121, allocations: 7.062 kB / 448.8 MB, free: 91.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.976e-05/0.2121, allocations: 88.92 kB / 448.9 MB, free: 91.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2121, allocations: 0 / 448.9 MB, free: 91.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001337/0.2134, allocations: 0.7208 MB / 449.6 MB, free: 91.76 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.001917/0.2153, allocations: 2.118 MB / 451.7 MB, free: 90.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003387/0.2157, allocations: 424.5 kB / 452.1 MB, free: 90.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2157, allocations: 0 / 452.1 MB, free: 90.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.2158, 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.000576/0.2164, allocations: 229.2 kB / 452.5 MB, free: 90.53 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/0.2182, allocations: 3.107 MB / 455.7 MB, free: 88.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.049e-05/0.2182, allocations: 142.8 kB / 455.8 MB, free: 88.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001756/0.2184, allocations: 199.3 kB / 456 MB, free: 88.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.305e-05/0.2185, allocations: 63.5 kB / 456.1 MB, free: 88.41 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.2185, allocations: 3.281 kB / 456.1 MB, free: 88.41 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03612/0.2546, allocations: 31.26 MB / 487.3 MB, free: 80.38 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.423/7.677, allocations: 7.656 kB / 487.3 MB, free: 80.38 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_setSat_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-05 HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_setSat.fmu > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.479050355963409] Failed to read output from testmodel.py, exit status != 0: 7.770345757715404 7.778549564 7.735998198 Calling exit ...