Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.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.001432/0.001432, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001637/0.001637, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.032/1.032, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.03176/0.03176, allocations: 7.528 MB / 268.6 MB, free: 5.836 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.BaseProps_sweep,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep") translateModel(HelmholtzMedia.Examples.BaseProps_sweep,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 3.938 kB / 339.8 MB, free: 11.81 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.657e-05/2.871e-05, allocations: 2.312 kB / 339.8 MB, free: 11.81 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BaseProps_sweep): time 0.01974/0.01977, allocations: 17.73 MB / 357.6 MB, free: 10 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02088/0.04065, allocations: 32.04 MB / 389.6 MB, free: 9.855 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001218/0.04077, allocations: 0 / 389.6 MB, free: 9.855 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007725/0.04154, allocations: 382.1 kB / 390 MB, free: 9.48 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003123/0.04185, allocations: 151 kB / 390.1 MB, free: 9.332 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01593/0.05779, allocations: 10.16 MB / 400.3 MB, free: 15.13 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003961/0.05818, allocations: 402.2 kB / 400.7 MB, free: 14.74 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.201e-05/0.05823, allocations: 16.58 kB / 400.7 MB, free: 14.72 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003217/0.05856, allocations: 235.3 kB / 400.9 MB, free: 14.49 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.05868, allocations: 99.7 kB / 401 MB, free: 14.39 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.374e-05/0.0587, allocations: 20 kB / 401 MB, free: 14.37 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009646/0.06835, allocations: 8.208 MB / 409.2 MB, free: 6.145 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.96e-05/0.06841, allocations: 43.83 kB / 409.3 MB, free: 6.102 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.364e-05/0.06848, allocations: 75.83 kB / 409.4 MB, free: 6.027 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005276/0.07376, allocations: 4.843 MB / 414.2 MB, free: 1.172 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.07376, allocations: 0 / 414.2 MB, free: 1.172 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.07376, allocations: 0 / 414.2 MB, free: 1.172 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.07377, allocations: 3.938 kB / 414.2 MB, free: 1.168 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001313/0.07508, allocations: 1.185 MB / 415.4 MB, free: 15.94 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.07511, allocations: 8.625 kB / 415.4 MB, free: 15.93 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003801/0.07549, allocations: 107.5 kB / 415.5 MB, free: 15.83 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.07571, allocations: 180.5 kB / 415.7 MB, free: 15.62 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.07573, allocations: 12 kB / 415.7 MB, free: 15.61 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.07575, allocations: 12 kB / 415.7 MB, free: 15.6 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003/0.07605, allocations: 276.4 kB / 416 MB, free: 15.28 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.07606, allocations: 0 / 416 MB, free: 15.28 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.07607, allocations: 7.984 kB / 416 MB, free: 15.27 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.07608, allocations: 4 kB / 416 MB, free: 15.27 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.07623, allocations: 78.17 kB / 416.1 MB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005663/0.07679, allocations: 1.058 MB / 417.1 MB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.07698, allocations: 172.2 kB / 417.3 MB, free: 13.87 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.996e-05/0.07704, allocations: 66.72 kB / 417.4 MB, free: 13.79 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02762/0.1047, allocations: 10.69 MB / 428 MB, free: 3.078 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.1047, allocations: 37.39 kB / 428.1 MB, free: 3.031 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 1.643e-06/0.1047, allocations: 0 / 428.1 MB, free: 3.031 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.0005524/0.1052, allocations: 242.4 kB / 428.3 MB, free: 2.793 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.1053, allocations: 132.9 kB / 428.5 MB, free: 2.633 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.1054, allocations: 243.7 kB / 428.7 MB, free: 2.379 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.1054, allocations: 37.64 kB / 428.7 MB, free: 2.336 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.706e-05/0.1055, allocations: 167.3 kB / 428.9 MB, free: 2.168 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.031e-05/0.1056, allocations: 99.16 kB / 429 MB, free: 2.07 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.381e-05/0.1056, allocations: 55.33 kB / 429 MB, free: 2.008 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.1057, allocations: 0.5001 MB / 429.5 MB, free: 1.496 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.96e-05/0.1058, allocations: 27.92 kB / 429.6 MB, free: 1.469 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.151e-05/0.1058, allocations: 109.1 kB / 429.7 MB, free: 1.336 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.106, allocations: 147.2 kB / 429.8 MB, free: 1.16 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.106, allocations: 0 / 429.8 MB, free: 1.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004253/0.1064, allocations: 170.3 kB / 430 MB, free: 0.9883 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.1064, allocations: 4 kB / 430 MB, free: 0.9844 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.1064, allocations: 4 kB / 430 MB, free: 0.9805 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/0.1064, allocations: 4.188 kB / 430 MB, free: 0.9766 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.1065, allocations: 39.91 kB / 430 MB, free: 0.9375 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.1065, allocations: 4 kB / 430 MB, free: 0.9336 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.043e-05/0.1066, allocations: 31.81 kB / 430.1 MB, free: 0.9023 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.1066, allocations: 4 kB / 430.1 MB, free: 0.8984 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (medium.sat.vap.phase,medium.sat.liq.phase,medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.389e-05/0.1067, allocations: 164.5 kB / 430.2 MB, free: 0.7266 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.706e-05/0.1068, allocations: 35.78 kB / 430.3 MB, free: 0.6914 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001944/0.107, allocations: 201.4 kB / 430.5 MB, free: 0.4961 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/0.107, allocations: 12 kB / 430.5 MB, free: 496 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.107, allocations: 4 kB / 430.5 MB, free: 492 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.107, allocations: 0 / 430.5 MB, free: 492 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002538/0.1072, allocations: 181.6 kB / 430.7 MB, free: 280 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1072, allocations: 0 / 430.7 MB, free: 280 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.544e-05/0.1073, allocations: 39.91 kB / 430.7 MB, free: 240 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.1073, allocations: 4 kB / 430.7 MB, free: 236 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-06/0.1073, allocations: 3.938 kB / 430.7 MB, free: 232 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.1073, allocations: 4 kB / 430.7 MB, free: 228 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.1073, allocations: 0 / 430.7 MB, free: 228 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003242/0.1077, allocations: 0.667 MB / 431.4 MB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.285e-05/0.1077, allocations: 23.8 kB / 431.4 MB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.1077, allocations: 11.94 kB / 431.4 MB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.1078, allocations: 15.92 kB / 431.4 MB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.353e-05/0.1079, allocations: 27.95 kB / 431.5 MB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.1079, allocations: 4 kB / 431.5 MB, free: 15.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.586e-05/0.108, allocations: 160.3 kB / 431.6 MB, free: 15.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.108, allocations: 0 / 431.6 MB, free: 15.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001375/0.1093, allocations: 0.8062 MB / 432.4 MB, free: 14.49 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($cse1.phase,medium.state.phase,medium.sat.liq.phase,medium.sat.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001979/0.1113, allocations: 1.34 MB / 433.8 MB, free: 13.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001764/0.1115, allocations: 115.3 kB / 433.9 MB, free: 13.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.1115, allocations: 4 kB / 433.9 MB, free: 13.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.871e-05/0.1116, allocations: 68.97 kB / 433.9 MB, free: 12.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005159/0.1121, allocations: 116 kB / 434.1 MB, free: 12.83 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007701/0.1129, allocations: 460.4 kB / 434.5 MB, free: 12.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.588e-05/0.1129, allocations: 80.48 kB / 434.6 MB, free: 12.24 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001064/0.113, allocations: 52.52 kB / 434.6 MB, free: 12.19 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.1132, allocations: 138.1 kB / 434.8 MB, free: 12.05 MB / 410.7 MB Notification: Performance of SimCode: time 6.91e-07/0.1132, allocations: 4 kB / 434.8 MB, free: 12.05 MB / 410.7 MB Notification: Performance of Templates: time 0.1436/0.2568, allocations: 29.3 MB / 464.1 MB, free: 137.5 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.698971726000309]