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.0009472/0.0009472, allocations: 92.22 kB / 19.65 MB, free: 280 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.0009007/0.0009007, allocations: 169 kB / 23.02 MB, free: 1.547 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.9177/0.9177, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.02941/0.02941, allocations: 7.522 MB / 267.5 MB, free: 5.992 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.324e-06/2.324e-06, allocations: 0 / 338.6 MB, free: 11.03 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.806e-05/3.039e-05, allocations: 2.312 kB / 338.6 MB, free: 11.03 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BaseProps_sweep): time 0.01567/0.0157, allocations: 17.96 MB / 356.6 MB, free: 8.992 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02489/0.04059, allocations: 32.52 MB / 389.1 MB, free: 8.371 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001811/0.04077, allocations: 4 kB / 389.1 MB, free: 8.367 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008691/0.04164, allocations: 382.1 kB / 389.5 MB, free: 7.992 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004318/0.04207, allocations: 155 kB / 389.6 MB, free: 7.84 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01866/0.06073, allocations: 10.15 MB / 399.8 MB, free: 13.64 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004794/0.06121, allocations: 406.1 kB / 400.2 MB, free: 13.24 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.051e-05/0.06126, allocations: 12.59 kB / 400.2 MB, free: 13.23 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003887/0.06165, allocations: 231.4 kB / 400.4 MB, free: 13 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.0618, allocations: 107.7 kB / 400.5 MB, free: 12.89 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.785e-05/0.06182, allocations: 16 kB / 400.5 MB, free: 12.88 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01167/0.07349, allocations: 8.208 MB / 408.7 MB, free: 4.652 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.48e-05/0.07359, allocations: 43.83 kB / 408.8 MB, free: 4.609 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001503/0.07374, allocations: 75.83 kB / 408.8 MB, free: 4.535 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1423/0.2161, allocations: 4.835 MB / 413.7 MB, free: 45.22 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.2161, allocations: 2.094 kB / 413.7 MB, free: 45.22 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2161, allocations: 0 / 413.7 MB, free: 45.22 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.2161, allocations: 1.375 kB / 413.7 MB, free: 45.22 MB / 330.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.002278/0.2184, allocations: 1.187 MB / 414.9 MB, free: 44.53 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.2184, allocations: 11.44 kB / 414.9 MB, free: 44.53 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004893/0.2189, allocations: 113.9 kB / 415 MB, free: 44.5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.2191, allocations: 177.3 kB / 415.2 MB, free: 44.34 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.2192, allocations: 9.359 kB / 415.2 MB, free: 44.34 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.2192, allocations: 12.69 kB / 415.2 MB, free: 44.34 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004067/0.2196, allocations: 285 kB / 415.5 MB, free: 44.16 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.2196, allocations: 0 / 415.5 MB, free: 44.16 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.2196, allocations: 7.469 kB / 415.5 MB, free: 44.16 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.2196, allocations: 6.781 kB / 415.5 MB, free: 44.16 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001735/0.2198, allocations: 89.86 kB / 415.6 MB, free: 44.16 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005854/0.2204, allocations: 1.082 MB / 416.7 MB, free: 43.24 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.2206, allocations: 182.2 kB / 416.8 MB, free: 43.1 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.972e-05/0.2207, allocations: 69.08 kB / 416.9 MB, free: 43.05 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03141/0.2521, allocations: 13.83 MB / 430.7 MB, free: 42.75 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/0.2521, allocations: 44.92 kB / 430.8 MB, free: 42.7 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 2.354e-06/0.2521, allocations: 0 / 430.8 MB, free: 42.7 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.0006902/0.2528, allocations: 263.2 kB / 431 MB, free: 42.64 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.2528, allocations: 139.3 kB / 431.2 MB, free: 42.48 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.253, allocations: 243.2 kB / 431.4 MB, free: 42.31 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.253, allocations: 27.67 kB / 431.4 MB, free: 42.28 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.121e-05/0.253, allocations: 169.5 kB / 431.6 MB, free: 42.14 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.761e-05/0.2531, allocations: 100.2 kB / 431.7 MB, free: 42.07 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.436e-05/0.2531, allocations: 52.05 kB / 431.7 MB, free: 42.05 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.524e-05/0.2532, allocations: 0.509 MB / 432.3 MB, free: 41.55 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.593e-05/0.2532, allocations: 24.45 kB / 432.3 MB, free: 41.55 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.464e-05/0.2533, allocations: 111.7 kB / 432.4 MB, free: 41.47 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.2535, allocations: 159.2 kB / 432.5 MB, free: 41.38 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2535, allocations: 0 / 432.5 MB, free: 41.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001975/0.2537, allocations: 188.2 kB / 432.7 MB, free: 41.33 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.2537, allocations: 6.781 kB / 432.7 MB, free: 41.33 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.2537, allocations: 0 / 432.7 MB, free: 41.33 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.2537, allocations: 3.469 kB / 432.7 MB, free: 41.33 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.2538, allocations: 40.72 kB / 432.8 MB, free: 41.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.2538, allocations: 9.891 kB / 432.8 MB, free: 41.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.2539, allocations: 21.98 kB / 432.8 MB, free: 41.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.254, allocations: 13.48 kB / 432.8 MB, free: 41.31 MB / 330.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.122e-05/0.254, allocations: 171.5 kB / 433 MB, free: 41.15 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.824e-05/0.2541, allocations: 27.31 kB / 433 MB, free: 41.14 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002311/0.2543, allocations: 217.1 kB / 433.2 MB, free: 41.09 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.2543, allocations: 2.5 kB / 433.2 MB, free: 41.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.2543, allocations: 3.938 kB / 433.2 MB, free: 41.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.2543, allocations: 7.344 kB / 433.2 MB, free: 41.09 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000252/0.2546, allocations: 207.2 kB / 433.4 MB, free: 40.94 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.2546, allocations: 0 / 433.4 MB, free: 40.94 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.27e-05/0.2547, allocations: 36.95 kB / 433.5 MB, free: 40.94 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.2547, allocations: 0 / 433.5 MB, free: 40.94 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.2547, allocations: 9.094 kB / 433.5 MB, free: 40.94 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.2547, allocations: 2.688 kB / 433.5 MB, free: 40.94 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.2547, allocations: 6.219 kB / 433.5 MB, free: 40.94 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002733/0.255, allocations: 0.6839 MB / 434.2 MB, free: 40.37 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.074e-05/0.255, allocations: 28.58 kB / 434.2 MB, free: 40.35 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.255, allocations: 3.75 kB / 434.2 MB, free: 40.35 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.2551, allocations: 16.91 kB / 434.2 MB, free: 40.35 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.274e-05/0.2552, allocations: 32.92 kB / 434.3 MB, free: 40.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.2552, allocations: 7.188 kB / 434.3 MB, free: 40.34 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.417e-05/0.2553, allocations: 166.3 kB / 434.4 MB, free: 40.23 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2553, allocations: 0 / 434.4 MB, free: 40.23 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001867/0.2571, allocations: 0.8017 MB / 435.2 MB, free: 40.08 MB / 330.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.002676/0.2598, allocations: 1.296 MB / 436.5 MB, free: 39.8 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000266/0.2601, allocations: 127.3 kB / 436.6 MB, free: 39.78 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.2601, allocations: 0 / 436.6 MB, free: 39.78 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.924e-05/0.2602, allocations: 91.38 kB / 436.7 MB, free: 39.77 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000549/0.2607, allocations: 104.6 kB / 436.8 MB, free: 39.76 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009692/0.2617, allocations: 462.9 kB / 437.3 MB, free: 39.48 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.886e-05/0.2618, allocations: 81.41 kB / 437.4 MB, free: 39.41 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001322/0.2619, allocations: 53.58 kB / 437.4 MB, free: 39.4 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.047e-05/0.262, allocations: 30.66 kB / 437.5 MB, free: 39.39 MB / 330.7 MB Notification: Performance of SimCode: time 1.332e-06/0.262, allocations: 1.859 kB / 437.5 MB, free: 39.39 MB / 330.7 MB Notification: Performance of Templates: time 0.02913/0.2911, allocations: 30.22 MB / 467.7 MB, free: 11.58 MB / 330.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.651989701204002]