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.001525/0.001525, allocations: 77.33 kB / 19.18 MB, free: 2.512 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.00131/0.00131, allocations: 161.2 kB / 22.46 MB, free: 5.391 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.368/1.368, allocations: 177.1 MB / 202.8 MB, free: 9.148 MB / 190.1 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.04788/0.04788, allocations: 7.508 MB / 266.7 MB, free: 9.629 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.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 1.162e-06/1.162e-06, allocations: 0 / 392.2 MB, free: 10.42 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.524e-05/1.64e-05, allocations: 2.281 kB / 392.2 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BaseProps_sweep): time 0.0196/0.01961, allocations: 16.27 MB / 408.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03111/0.05072, allocations: 28.58 MB / 437 MB, free: 13.4 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001533/0.05088, allocations: 7.938 kB / 437.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009929/0.05187, allocations: 366.2 kB / 437.4 MB, free: 13.03 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004175/0.05229, allocations: 162.9 kB / 437.6 MB, free: 12.87 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02334/0.07563, allocations: 10.16 MB / 447.7 MB, free: 2.691 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005696/0.0762, allocations: 402.1 kB / 448.1 MB, free: 2.297 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.661e-05/0.07626, allocations: 24.56 kB / 448.1 MB, free: 2.27 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004485/0.07671, allocations: 235.4 kB / 448.4 MB, free: 2.039 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001906/0.0769, allocations: 103.7 kB / 448.5 MB, free: 1.938 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.429e-05/0.07694, allocations: 12 kB / 448.5 MB, free: 1.926 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1642/0.2412, allocations: 8.194 MB / 456.7 MB, free: 26.83 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.2413, allocations: 44.47 kB / 456.7 MB, free: 26.83 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002613/0.2416, allocations: 75.89 kB / 456.8 MB, free: 26.83 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01225/0.2538, allocations: 4.897 MB / 461.7 MB, free: 26.72 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2538, allocations: 0 / 461.7 MB, free: 26.72 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2538, allocations: 0.5469 kB / 461.7 MB, free: 26.72 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.466e-05/0.2538, allocations: 1.375 kB / 461.7 MB, free: 26.72 MB / 366.1 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.002514/0.2564, allocations: 1.1 MB / 462.8 MB, free: 26.04 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.2564, allocations: 11.88 kB / 462.8 MB, free: 26.04 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007348/0.2571, allocations: 86.33 kB / 462.9 MB, free: 26.03 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.2573, allocations: 178.1 kB / 463.1 MB, free: 25.88 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.2574, allocations: 7.406 kB / 463.1 MB, free: 25.88 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.2574, allocations: 10.31 kB / 463.1 MB, free: 25.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005712/0.258, allocations: 318.6 kB / 463.4 MB, free: 25.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.258, allocations: 0 / 463.4 MB, free: 25.73 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.469e-05/0.258, allocations: 7.172 kB / 463.4 MB, free: 25.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.258, allocations: 3.906 kB / 463.4 MB, free: 25.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006243/0.2586, allocations: 236.5 kB / 463.6 MB, free: 25.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006905/0.2593, allocations: 0.8328 MB / 464.5 MB, free: 25.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004629/0.2598, allocations: 228.3 kB / 464.7 MB, free: 25.01 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002787/0.2601, allocations: 141.7 kB / 464.8 MB, free: 24.97 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06423/0.3243, allocations: 14.6 MB / 479.4 MB, free: 22.21 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.046e-05/0.3243, allocations: 38.16 kB / 479.5 MB, free: 22.17 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 4.618e-06/0.3243, allocations: 0 / 479.5 MB, free: 22.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.001581/0.3259, allocations: 476.5 kB / 479.9 MB, free: 22.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.326, allocations: 131.4 kB / 480.1 MB, free: 21.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.3261, allocations: 187.4 kB / 480.3 MB, free: 21.76 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.3262, allocations: 33.64 kB / 480.3 MB, free: 21.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.018e-05/0.3262, allocations: 127.5 kB / 480.4 MB, free: 21.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.107e-05/0.3263, allocations: 95.5 kB / 480.5 MB, free: 21.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-05/0.3264, allocations: 42.09 kB / 480.5 MB, free: 21.53 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.994e-05/0.3264, allocations: 330.6 kB / 480.9 MB, free: 21.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002727/0.3267, allocations: 110 kB / 481 MB, free: 21.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002873/0.327, allocations: 170 kB / 481.1 MB, free: 21.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000554/0.3275, allocations: 291.8 kB / 481.4 MB, free: 21.01 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3275, allocations: 2.594 kB / 481.4 MB, free: 21.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006796/0.3282, allocations: 325.5 kB / 481.7 MB, free: 20.92 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.3282, allocations: 9.875 kB / 481.8 MB, free: 20.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.3282, allocations: 0.5469 kB / 481.8 MB, free: 20.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.39e-05/0.3283, allocations: 6.453 kB / 481.8 MB, free: 20.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002589/0.3285, allocations: 48.88 kB / 481.8 MB, free: 20.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.3285, allocations: 3.594 kB / 481.8 MB, free: 20.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002357/0.3288, allocations: 35.41 kB / 481.8 MB, free: 20.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/0.3288, allocations: 14.38 kB / 481.9 MB, free: 20.88 MB / 366.1 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 0.0001084/0.3289, allocations: 136.5 kB / 482 MB, free: 20.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.329, allocations: 20.92 kB / 482 MB, free: 20.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005852/0.3296, allocations: 369.9 kB / 482.4 MB, free: 20.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/0.3296, allocations: 13.72 kB / 482.4 MB, free: 20.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3296, allocations: 0 / 482.4 MB, free: 20.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.3296, allocations: 9.562 kB / 482.4 MB, free: 20.65 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003902/0.33, allocations: 245.1 kB / 482.6 MB, free: 20.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.33, allocations: 1.312 kB / 482.6 MB, free: 20.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002014/0.3302, allocations: 36.66 kB / 482.7 MB, free: 20.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.3302, allocations: 3.094 kB / 482.7 MB, free: 20.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.3302, allocations: 11.48 kB / 482.7 MB, free: 20.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.3302, allocations: 3.938 kB / 482.7 MB, free: 20.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3302, allocations: 3.562 kB / 482.7 MB, free: 20.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006724/0.3309, allocations: 0.6561 MB / 483.4 MB, free: 20.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.485e-05/0.331, allocations: 29.42 kB / 483.4 MB, free: 20.01 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.377e-05/0.331, allocations: 7.938 kB / 483.4 MB, free: 20 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003095/0.3313, allocations: 15.98 kB / 483.4 MB, free: 19.99 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.769e-05/0.3314, allocations: 31.83 kB / 483.4 MB, free: 19.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.3314, allocations: 7.625 kB / 483.4 MB, free: 19.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.035e-05/0.3315, allocations: 127.5 kB / 483.6 MB, free: 19.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3315, allocations: 0 / 483.6 MB, free: 19.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002496/0.334, allocations: 0.8068 MB / 484.4 MB, free: 19.06 MB / 366.1 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.004439/0.3384, allocations: 1.296 MB / 485.7 MB, free: 17.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006785/0.3391, allocations: 275.3 kB / 485.9 MB, free: 17.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3391, allocations: 0 / 485.9 MB, free: 17.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003164/0.3394, allocations: 147.7 kB / 486.1 MB, free: 17.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000894/0.3403, allocations: 100.5 kB / 486.2 MB, free: 17.56 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007447/0.341, allocations: 481 kB / 486.7 MB, free: 17.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001037/0.3411, allocations: 133.7 kB / 486.8 MB, free: 16.97 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001562/0.3413, allocations: 43.23 kB / 486.8 MB, free: 16.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.301e-05/0.3414, allocations: 28.42 kB / 486.9 MB, free: 16.91 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3414, allocations: 0 / 486.9 MB, free: 16.91 MB / 366.1 MB Notification: Performance of Templates: time 0.03153/0.3729, allocations: 24.41 MB / 0.4993 GB, free: 8.703 MB / 382.1 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=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.528066232800484] Failed to read output from testmodel.py, exit status != 0: 0.3807368651032448 0.394486015 0.137623974 Calling exit ...