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.001456/0.001456, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001753/0.001753, allocations: 177.3 kB / 23.49 MB, free: 1.059 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.9295/0.9295, allocations: 177.1 MB / 203.8 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.03116/0.03116, allocations: 7.517 MB / 267.8 MB, free: 6.059 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.053e-06/2.053e-06, allocations: 0 / 338.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.985e-05/2.19e-05, allocations: 5.406 kB / 338.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BaseProps_sweep): time 0.0146/0.01463, allocations: 17.94 MB / 356.6 MB, free: 9.344 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02063/0.03526, allocations: 32.52 MB / 389.1 MB, free: 8.719 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.03537, allocations: 0 / 389.1 MB, free: 8.719 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007133/0.03608, allocations: 374.1 kB / 389.5 MB, free: 8.352 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002993/0.03638, allocations: 155 kB / 389.6 MB, free: 8.199 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01316/0.04955, allocations: 10.14 MB / 399.8 MB, free: 14.01 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000327/0.04987, allocations: 406.1 kB / 400.1 MB, free: 13.61 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.535e-05/0.04992, allocations: 12.59 kB / 400.2 MB, free: 13.6 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002992/0.05022, allocations: 239.3 kB / 400.4 MB, free: 13.36 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.05033, allocations: 99.7 kB / 400.5 MB, free: 13.27 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.05035, allocations: 16 kB / 400.5 MB, free: 13.25 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008098/0.05845, allocations: 8.208 MB / 408.7 MB, free: 5.023 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.662e-05/0.05851, allocations: 35.83 kB / 408.8 MB, free: 4.988 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.313e-05/0.05858, allocations: 79.83 kB / 408.8 MB, free: 4.91 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004442/0.06302, allocations: 4.843 MB / 413.7 MB, free: 56 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.06303, allocations: 0 / 413.7 MB, free: 56 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.06303, allocations: 0 / 413.7 MB, free: 56 kB / 330.7 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.06303, allocations: 0 / 413.7 MB, free: 56 kB / 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.1135/0.1765, allocations: 1.18 MB / 414.9 MB, free: 45.11 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.1766, allocations: 10.06 kB / 414.9 MB, free: 45.11 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004773/0.1771, allocations: 113.3 kB / 415 MB, free: 45.08 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.1773, allocations: 177.5 kB / 415.1 MB, free: 44.93 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.1773, allocations: 9.234 kB / 415.2 MB, free: 44.93 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.1773, allocations: 11.03 kB / 415.2 MB, free: 44.93 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00037/0.1777, allocations: 285.5 kB / 415.4 MB, free: 44.75 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.1777, allocations: 4.359 kB / 415.4 MB, free: 44.75 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.1777, allocations: 4.719 kB / 415.5 MB, free: 44.75 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.1777, allocations: 6.312 kB / 415.5 MB, free: 44.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001969/0.1779, allocations: 94.95 kB / 415.6 MB, free: 44.75 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005393/0.1784, allocations: 1.073 MB / 416.6 MB, free: 43.83 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.1786, allocations: 182.4 kB / 416.8 MB, free: 43.69 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.014e-05/0.1787, allocations: 75.98 kB / 416.9 MB, free: 43.64 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03212/0.2108, allocations: 13.83 MB / 430.7 MB, free: 43.34 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.039e-05/0.2109, allocations: 43.55 kB / 430.7 MB, free: 43.29 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 2.835e-06/0.2109, allocations: 0 / 430.7 MB, free: 43.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007207/0.2116, allocations: 271.3 kB / 431 MB, free: 43.23 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.2116, allocations: 133.7 kB / 431.1 MB, free: 43.07 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.2117, allocations: 244.2 kB / 431.4 MB, free: 42.9 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.2118, allocations: 25.7 kB / 431.4 MB, free: 42.87 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.179e-05/0.2118, allocations: 175.2 kB / 431.6 MB, free: 42.73 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.831e-05/0.2119, allocations: 95.05 kB / 431.7 MB, free: 42.66 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.324e-05/0.2119, allocations: 55.36 kB / 431.7 MB, free: 42.64 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.018e-05/0.212, allocations: 0.5099 MB / 432.2 MB, free: 42.14 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.825e-05/0.212, allocations: 28.88 kB / 432.3 MB, free: 42.14 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.83e-05/0.2121, allocations: 109.1 kB / 432.4 MB, free: 42.05 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.2123, allocations: 158.6 kB / 432.5 MB, free: 41.96 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.2123, allocations: 2.438 kB / 432.5 MB, free: 41.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002041/0.2125, allocations: 181.8 kB / 432.7 MB, free: 41.91 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.2125, allocations: 6.938 kB / 432.7 MB, free: 41.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.2125, allocations: 3.703 kB / 432.7 MB, free: 41.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.2125, allocations: 1.5 kB / 432.7 MB, free: 41.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.2126, allocations: 38.52 kB / 432.8 MB, free: 41.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.2126, allocations: 3.281 kB / 432.8 MB, free: 41.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.217e-05/0.2127, allocations: 34.81 kB / 432.8 MB, free: 41.9 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.2127, allocations: 7.406 kB / 432.8 MB, free: 41.9 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 7.051e-05/0.2128, allocations: 167.5 kB / 433 MB, free: 41.74 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.119e-05/0.2129, allocations: 27.75 kB / 433 MB, free: 41.73 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002276/0.2131, allocations: 214.4 kB / 433.2 MB, free: 41.68 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.2131, allocations: 5.656 kB / 433.2 MB, free: 41.68 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2131, allocations: 3.094 kB / 433.2 MB, free: 41.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.2131, allocations: 6.75 kB / 433.2 MB, free: 41.67 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000248/0.2134, allocations: 216 kB / 433.4 MB, free: 41.53 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2134, allocations: 4 kB / 433.4 MB, free: 41.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.166e-05/0.2135, allocations: 31.48 kB / 433.5 MB, free: 41.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.2135, allocations: 6.062 kB / 433.5 MB, free: 41.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.2135, allocations: 3.625 kB / 433.5 MB, free: 41.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2135, allocations: 0 / 433.5 MB, free: 41.52 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.2135, allocations: 10.05 kB / 433.5 MB, free: 41.52 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002592/0.2137, allocations: 0.6827 MB / 434.2 MB, free: 40.96 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.846e-05/0.2138, allocations: 23.8 kB / 434.2 MB, free: 40.94 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.2138, allocations: 5.578 kB / 434.2 MB, free: 40.94 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.2139, allocations: 18.41 kB / 434.2 MB, free: 40.94 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.097e-05/0.214, allocations: 28.92 kB / 434.2 MB, free: 40.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.214, allocations: 7.453 kB / 434.2 MB, free: 40.93 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.815e-05/0.214, allocations: 165.1 kB / 434.4 MB, free: 40.82 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.214, allocations: 0 / 434.4 MB, free: 40.82 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001431/0.2155, allocations: 0.8062 MB / 435.2 MB, free: 40.67 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.001936/0.2174, allocations: 1.3 MB / 436.5 MB, free: 40.39 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002282/0.2176, allocations: 134.6 kB / 436.6 MB, free: 40.37 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.2176, allocations: 3.594 kB / 436.6 MB, free: 40.37 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.146e-05/0.2177, allocations: 76.42 kB / 436.7 MB, free: 40.35 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005318/0.2182, allocations: 98.56 kB / 436.8 MB, free: 40.34 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000855/0.2191, allocations: 464.1 kB / 437.3 MB, free: 40.07 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.904e-05/0.2191, allocations: 82.09 kB / 437.4 MB, free: 40 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001082/0.2193, allocations: 46.45 kB / 437.4 MB, free: 39.99 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.862e-05/0.2193, allocations: 28.77 kB / 437.4 MB, free: 39.98 MB / 330.7 MB Notification: Performance of SimCode: time 1.082e-06/0.2193, allocations: 0 / 437.4 MB, free: 39.98 MB / 330.7 MB Notification: Performance of Templates: time 0.01978/0.2391, allocations: 24.54 MB / 462 MB, free: 17.9 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.312038111966103]