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.001506/0.001506, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 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.001456/0.001456, allocations: 158.5 kB / 23.01 MB, free: 4.602 MB / 14.72 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 1.469/1.469, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] 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.04932/0.04932, allocations: 7.537 MB / 267.3 MB, free: 9.602 MB / 254.1 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: translateModel(HelmholtzMedia.Examples.ConvergenceTest.setSat,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat") translateModel(HelmholtzMedia.Examples.ConvergenceTest.setSat,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 67.91 kB / 392.7 MB, free: 11.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1087, allocations: 54.92 MB / 447.7 MB, free: 4.637 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.setSat): time 0.02243/0.1311, allocations: 17.43 MB / 465.1 MB, free: 3.133 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01022/0.1413, allocations: 8.357 MB / 473.4 MB, free: 10.75 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000191/0.1415, allocations: 0 / 473.4 MB, free: 10.75 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001046/0.1426, allocations: 390.9 kB / 473.8 MB, free: 10.37 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006282/0.1432, allocations: 274.4 kB / 474.1 MB, free: 10.1 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01228/0.1555, allocations: 4.768 MB / 478.9 MB, free: 5.324 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000606/0.1561, allocations: 401.8 kB / 479.3 MB, free: 4.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.229e-05/0.1561, allocations: 8.594 kB / 479.3 MB, free: 4.922 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000373/0.1565, allocations: 199.2 kB / 479.5 MB, free: 4.727 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.1567, allocations: 91.59 kB / 479.6 MB, free: 4.637 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.1567, allocations: 4 kB / 479.6 MB, free: 4.633 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2442/0.4009, allocations: 5.03 MB / 484.6 MB, free: 49.37 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.06e-05/0.4009, allocations: 19.11 kB / 484.6 MB, free: 49.37 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002326/0.4012, allocations: 96.06 kB / 484.7 MB, free: 49.37 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007161/0.4083, allocations: 2.73 MB / 487.4 MB, free: 49.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.4083, allocations: 0 / 487.4 MB, free: 49.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4083, allocations: 0 / 487.4 MB, free: 49.29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.505e-05/0.4083, allocations: 0 / 487.4 MB, free: 49.29 MB / 446.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.001132/0.4095, allocations: 0.7488 MB / 488.2 MB, free: 48.78 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.4095, allocations: 10.06 kB / 488.2 MB, free: 48.78 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003203/0.4098, allocations: 64 kB / 488.2 MB, free: 48.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.4099, allocations: 135.8 kB / 488.4 MB, free: 48.63 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.41, allocations: 6.188 kB / 488.4 MB, free: 48.63 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.41, allocations: 5.875 kB / 488.4 MB, free: 48.63 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003497/0.4103, allocations: 247.5 kB / 488.6 MB, free: 48.59 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.4103, allocations: 1.875 kB / 488.6 MB, free: 48.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.4104, allocations: 0 / 488.6 MB, free: 48.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.4104, allocations: 22.8 kB / 488.7 MB, free: 48.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003571/0.4107, allocations: 227.6 kB / 488.9 MB, free: 48.58 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002286/0.411, allocations: 268.4 kB / 489.1 MB, free: 48.44 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008167/0.4118, allocations: 305.2 kB / 489.4 MB, free: 48.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000245/0.412, allocations: 218.8 kB / 489.7 MB, free: 48.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03548/0.4475, allocations: 9.23 MB / 498.9 MB, free: 48.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.4475, allocations: 33.34 kB / 498.9 MB, free: 48.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=73): time 2.285e-06/0.4475, allocations: 0 / 498.9 MB, free: 48.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=73): time 0.001153/0.4487, allocations: 0.7229 MB / 499.6 MB, free: 48.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.4487, allocations: 54.59 kB / 499.7 MB, free: 48.03 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.197e-05/0.4488, allocations: 111.6 kB / 499.8 MB, free: 47.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.4488, allocations: 29.52 kB / 499.8 MB, free: 47.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.882e-05/0.4488, allocations: 81.45 kB / 499.9 MB, free: 47.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001582/0.449, allocations: 247.2 kB / 0.4884 GB, free: 47.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.394e-05/0.4491, allocations: 61.97 kB / 0.4885 GB, free: 47.64 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.719e-05/0.4492, allocations: 339.8 kB / 0.4888 GB, free: 47.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002524/0.4494, allocations: 190.7 kB / 0.489 GB, free: 47.31 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/0.4497, allocations: 191.3 kB / 0.4892 GB, free: 47.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005212/0.4502, allocations: 452.9 kB / 0.4896 GB, free: 47.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.4502, allocations: 0 / 0.4896 GB, free: 47.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006515/0.4508, allocations: 0.4914 MB / 0.4901 GB, free: 47.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.4509, allocations: 13.52 kB / 0.4901 GB, free: 47.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.4509, allocations: 0 / 0.4901 GB, free: 47.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.4509, allocations: 0 / 0.4901 GB, free: 47.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.451, allocations: 26.92 kB / 0.4901 GB, free: 47.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.451, allocations: 0 / 0.4901 GB, free: 47.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.4512, allocations: 35.84 kB / 0.4902 GB, free: 47.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.4512, allocations: 8.531 kB / 0.4902 GB, free: 47.17 MB / 446.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.0001152/0.4513, allocations: 140.3 kB / 0.4903 GB, free: 47.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.014e-05/0.4514, allocations: 29.72 kB / 0.4903 GB, free: 47.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001006/0.4524, allocations: 0.8166 MB / 0.4911 GB, free: 46.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.925e-05/0.4524, allocations: 6.375 kB / 0.4911 GB, free: 46.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.4524, allocations: 3.188 kB / 0.4911 GB, free: 46.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.4524, allocations: 3.328 kB / 0.4911 GB, free: 46.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003778/0.4528, allocations: 369.6 kB / 0.4915 GB, free: 46.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.4528, allocations: 0 / 0.4915 GB, free: 46.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/0.4529, allocations: 34.11 kB / 0.4915 GB, free: 46.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.4529, allocations: 5.984 kB / 0.4915 GB, free: 46.76 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.453, allocations: 0 / 0.4915 GB, free: 46.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.453, allocations: 0 / 0.4915 GB, free: 46.76 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.453, allocations: 6.328 kB / 0.4915 GB, free: 46.76 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007155/0.4537, allocations: 0.5352 MB / 0.4921 GB, free: 46.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.4538, allocations: 47.8 kB / 0.4921 GB, free: 46.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.4538, allocations: 3.125 kB / 0.4921 GB, free: 46.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.4539, allocations: 13.05 kB / 0.4921 GB, free: 46.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.498e-05/0.454, allocations: 11.03 kB / 0.4921 GB, free: 46.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.454, allocations: 8.531 kB / 0.4921 GB, free: 46.62 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.634e-05/0.4541, allocations: 84.34 kB / 0.4922 GB, free: 46.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4541, allocations: 0 / 0.4922 GB, free: 46.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002046/0.4561, allocations: 0.7214 MB / 0.4929 GB, free: 46.42 MB / 446.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.003475/0.4596, allocations: 1.044 MB / 0.4939 GB, free: 46.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006404/0.4602, allocations: 418.7 kB / 0.4943 GB, free: 46.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4602, allocations: 0 / 0.4943 GB, free: 46.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002634/0.4605, allocations: 215.4 kB / 0.4945 GB, free: 46.15 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.4616, allocations: 237.9 kB / 0.4948 GB, free: 46.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007732/0.4624, allocations: 0.5665 MB / 0.4953 GB, free: 45.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.97e-05/0.4625, allocations: 139.5 kB / 0.4955 GB, free: 45.81 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003001/0.4628, allocations: 189 kB / 0.4956 GB, free: 45.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.239e-05/0.4628, allocations: 24.8 kB / 0.4957 GB, free: 45.8 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4628, allocations: 0 / 0.4957 GB, free: 45.8 MB / 446.1 MB Notification: Performance of Templates: time 0.04738/0.5102, allocations: 27 MB / 0.522 GB, free: 40.73 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.makefile [Timeout 660] (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 & ./HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.4203349319286644] Failed to read output from testmodel.py, exit status != 0: 0.5189337000483647 0.528995914 0.11814740500000001 Calling exit ...