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.00193/0.00193, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 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.002466/0.002466, allocations: 157.6 kB / 22.75 MB, free: 1.684 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 1.501/1.501, allocations: 177.2 MB / 203.1 MB, free: 5.586 MB / 186.7 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.05382/0.05382, allocations: 7.505 MB / 267.1 MB, free: 6.016 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: 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 1.984e-06/1.984e-06, allocations: 0 / 337.9 MB, free: 11.35 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.742e-05/2.941e-05, allocations: 2.312 kB / 337.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.setSat): time 0.02142/0.02145, allocations: 17.41 MB / 355.3 MB, free: 9.859 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01232/0.03377, allocations: 8.372 MB / 363.7 MB, free: 1.461 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000225/0.034, allocations: 4 kB / 363.7 MB, free: 1.457 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001248/0.03525, allocations: 398.8 kB / 364.1 MB, free: 1.066 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008737/0.03612, allocations: 282.2 kB / 364.4 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01579/0.05192, allocations: 4.799 MB / 369.2 MB, free: 11.97 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006668/0.05258, allocations: 421.5 kB / 369.6 MB, free: 11.56 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.144e-05/0.05267, allocations: 24.58 kB / 369.6 MB, free: 11.53 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005645/0.05324, allocations: 243.2 kB / 369.8 MB, free: 11.29 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001828/0.05342, allocations: 75.78 kB / 369.9 MB, free: 11.22 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.397e-05/0.05345, allocations: 7.984 kB / 369.9 MB, free: 11.21 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01167/0.06512, allocations: 5.059 MB / 375 MB, free: 6.141 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.151e-05/0.06516, allocations: 19.86 kB / 375 MB, free: 6.121 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002305/0.06539, allocations: 75.86 kB / 375.1 MB, free: 6.047 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008055/0.07344, allocations: 3.206 MB / 378.3 MB, free: 2.832 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.07345, allocations: 0 / 378.3 MB, free: 2.832 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.07345, allocations: 0 / 378.3 MB, free: 2.832 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.07346, allocations: 4 kB / 378.3 MB, free: 2.828 MB / 298.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.002028/0.07549, allocations: 0.7633 MB / 379 MB, free: 2.031 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.07553, allocations: 8.625 kB / 379 MB, free: 2.023 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006595/0.07619, allocations: 67.73 kB / 379.1 MB, free: 1.957 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.07635, allocations: 128.9 kB / 379.2 MB, free: 1.805 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.063e-05/0.07638, allocations: 11.94 kB / 379.2 MB, free: 1.793 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.0764, allocations: 7.938 kB / 379.3 MB, free: 1.785 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005009/0.0769, allocations: 245.5 kB / 379.5 MB, free: 1.543 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.07691, allocations: 0 / 379.5 MB, free: 1.543 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/0.07693, allocations: 4 kB / 379.5 MB, free: 1.539 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.254e-05/0.07696, allocations: 11.97 kB / 379.5 MB, free: 1.527 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005006/0.07746, allocations: 228.5 kB / 379.7 MB, free: 1.301 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003795/0.07784, allocations: 264.3 kB / 380 MB, free: 1.008 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.07891, allocations: 315 kB / 380.3 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000357/0.07927, allocations: 210 kB / 380.5 MB, free: 492 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04432/0.1236, allocations: 9.288 MB / 389.8 MB, free: 7.18 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.621e-05/0.1236, allocations: 34.56 kB / 389.8 MB, free: 7.137 MB / 314.7 MB Notification: Performance of pre-optimization done (n=73): time 1.844e-06/0.1236, allocations: 0 / 389.8 MB, free: 7.137 MB / 314.7 MB Notification: Performance of matching and sorting (n=73): time 0.001425/0.1251, allocations: 0.7292 MB / 390.6 MB, free: 6.41 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.1251, allocations: 55.41 kB / 390.6 MB, free: 6.344 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.1252, allocations: 121.7 kB / 390.7 MB, free: 6.215 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.1253, allocations: 25.7 kB / 390.8 MB, free: 6.184 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.558e-05/0.1253, allocations: 93.44 kB / 390.8 MB, free: 6.09 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002398/0.1256, allocations: 233.8 kB / 391.1 MB, free: 5.859 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.948e-05/0.1257, allocations: 57.67 kB / 391.1 MB, free: 5.797 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001957/0.1259, allocations: 342.8 kB / 391.5 MB, free: 5.453 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003212/0.1262, allocations: 188.5 kB / 391.6 MB, free: 5.266 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003233/0.1265, allocations: 187.2 kB / 391.8 MB, free: 5.082 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007208/0.1272, allocations: 454.1 kB / 392.3 MB, free: 4.637 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1272, allocations: 0 / 392.3 MB, free: 4.637 MB / 314.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0008681/0.1281, allocations: 0.5 MB / 392.8 MB, free: 4.133 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.1281, allocations: 4 kB / 392.8 MB, free: 4.129 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.1281, allocations: 0 / 392.8 MB, free: 4.129 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/0.1282, allocations: 7.938 kB / 392.8 MB, free: 4.121 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.1283, allocations: 27.97 kB / 392.8 MB, free: 4.094 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1284, allocations: 0 / 392.8 MB, free: 4.094 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.1285, allocations: 31.67 kB / 392.8 MB, free: 4.062 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/0.1285, allocations: 7.984 kB / 392.9 MB, free: 4.055 MB / 314.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 0.0001533/0.1287, allocations: 141.8 kB / 393 MB, free: 3.906 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.27e-05/0.1287, allocations: 23.86 kB / 393 MB, free: 3.883 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001493/0.1302, allocations: 0.8256 MB / 393.8 MB, free: 3.047 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.026e-05/0.1303, allocations: 15.92 kB / 393.9 MB, free: 3.031 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1303, allocations: 0 / 393.9 MB, free: 3.031 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.1303, allocations: 3.984 kB / 393.9 MB, free: 3.027 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004298/0.1307, allocations: 360.3 kB / 394.2 MB, free: 2.645 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1307, allocations: 0 / 394.2 MB, free: 2.645 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001681/0.1309, allocations: 35.97 kB / 394.2 MB, free: 2.609 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1309, allocations: 0 / 394.2 MB, free: 2.609 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.1309, allocations: 4 kB / 394.2 MB, free: 2.605 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1309, allocations: 0 / 394.2 MB, free: 2.605 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1309, allocations: 0 / 394.2 MB, free: 2.605 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008923/0.1318, allocations: 0.5524 MB / 394.8 MB, free: 2.035 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.598e-05/0.1319, allocations: 43.7 kB / 394.8 MB, free: 1.992 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.1319, allocations: 4 kB / 394.8 MB, free: 1.988 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.132, allocations: 15.98 kB / 394.9 MB, free: 1.973 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.538e-05/0.1321, allocations: 7.984 kB / 394.9 MB, free: 1.965 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/0.1321, allocations: 4 kB / 394.9 MB, free: 1.961 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.946e-05/0.1322, allocations: 91.27 kB / 395 MB, free: 1.871 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1322, allocations: 0 / 395 MB, free: 1.871 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00197/0.1342, allocations: 0.7205 MB / 395.7 MB, free: 1.148 MB / 314.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.003234/0.1374, allocations: 1.132 MB / 396.8 MB, free: 4 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008307/0.1382, allocations: 421 kB / 397.2 MB, free: 15.59 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1382, allocations: 0 / 397.2 MB, free: 15.59 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003599/0.1386, allocations: 216.5 kB / 397.4 MB, free: 15.38 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001208/0.1398, allocations: 235.6 kB / 397.7 MB, free: 15.15 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.1408, allocations: 0.5483 MB / 398.2 MB, free: 14.57 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001521/0.141, allocations: 143.1 kB / 398.4 MB, free: 14.41 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000376/0.1413, allocations: 196.1 kB / 398.5 MB, free: 14.22 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.648e-05/0.1414, allocations: 28.48 kB / 398.6 MB, free: 14.2 MB / 330.7 MB Notification: Performance of SimCode: time 9.21e-07/0.1414, allocations: 0 / 398.6 MB, free: 14.2 MB / 330.7 MB Notification: Performance of Templates: time 0.178/0.3194, allocations: 27.02 MB / 425.6 MB, free: 77.74 MB / 330.7 MB " [Timeout remaining time 660] 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 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.337421813979745]