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.001905/0.001905, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002765/0.002765, allocations: 217.4 kB / 22.25 MB, free: 4.852 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.691/1.691, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 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.053/0.053, allocations: 9.133 MB / 321.6 MB, free: 10.21 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 0.002337/0.002337, allocations: 71.89 kB / 447 MB, free: 80 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1185, allocations: 54.93 MB / 0.4901 GB, free: 9.047 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BaseProps_sweep): time 0.02416/0.1427, allocations: 16.28 MB / 0.506 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.261/0.4037, allocations: 28.57 MB / 0.5339 GB, free: 3.977 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002298/0.4039, allocations: 1.312 kB / 0.534 GB, free: 3.977 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001163/0.4051, allocations: 380.5 kB / 0.5343 GB, free: 3.859 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004721/0.4055, allocations: 144.6 kB / 0.5345 GB, free: 3.793 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02852/0.4341, allocations: 10.01 MB / 0.5442 GB, free: 0.793 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005444/0.4346, allocations: 390.3 kB / 0.5446 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.184e-05/0.4347, allocations: 15.34 kB / 0.5446 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003713/0.435, allocations: 190.5 kB / 0.5448 GB, free: 460 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001767/0.4352, allocations: 113.1 kB / 0.5449 GB, free: 396 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.48e-05/0.4353, allocations: 12.72 kB / 0.5449 GB, free: 396 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0197/0.455, allocations: 8.14 MB / 0.5529 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.4551, allocations: 43.2 kB / 0.5529 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002255/0.4553, allocations: 93.98 kB / 0.553 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01405/0.4694, allocations: 4.162 MB / 0.5571 GB, free: 9.371 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.4694, allocations: 0 / 0.5571 GB, free: 9.371 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.4694, allocations: 1.062 kB / 0.5571 GB, free: 9.371 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.754e-06/0.4694, allocations: 0 / 0.5571 GB, free: 9.371 MB / 398.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.003479/0.4729, allocations: 1.103 MB / 0.5581 GB, free: 8.559 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.46e-05/0.4729, allocations: 9.062 kB / 0.5581 GB, free: 8.559 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007705/0.4737, allocations: 95.8 kB / 0.5582 GB, free: 8.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003507/0.474, allocations: 182.5 kB / 0.5584 GB, free: 8.332 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.442e-05/0.4741, allocations: 11.06 kB / 0.5584 GB, free: 8.324 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.4741, allocations: 11.03 kB / 0.5584 GB, free: 8.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000699/0.4748, allocations: 317.8 kB / 0.5587 GB, free: 8.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.4748, allocations: 2.875 kB / 0.5587 GB, free: 8.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/0.4748, allocations: 3.938 kB / 0.5587 GB, free: 8.066 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.4749, allocations: 14.98 kB / 0.5588 GB, free: 8.059 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006435/0.4755, allocations: 230 kB / 0.559 GB, free: 7.953 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.4766, allocations: 0.831 MB / 0.5598 GB, free: 7.176 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005676/0.4771, allocations: 223.3 kB / 0.56 GB, free: 7.004 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003048/0.4774, allocations: 141.5 kB / 0.5601 GB, free: 6.914 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07214/0.5496, allocations: 14.61 MB / 0.5744 GB, free: 9.648 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.932e-05/0.5496, allocations: 38.56 kB / 0.5744 GB, free: 9.602 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 3.056e-06/0.5496, allocations: 4 kB / 0.5744 GB, free: 9.598 MB / 414.1 MB Notification: Performance of matching and sorting (n=28): time 0.001641/0.5513, allocations: 479.1 kB / 0.5749 GB, free: 9.125 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.812e-05/0.5514, allocations: 140.5 kB / 0.575 GB, free: 8.957 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/0.5516, allocations: 180.8 kB / 0.5752 GB, free: 8.773 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/0.5516, allocations: 29.7 kB / 0.5752 GB, free: 8.738 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.5517, allocations: 128.6 kB / 0.5754 GB, free: 8.605 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.085e-05/0.5518, allocations: 91.11 kB / 0.5754 GB, free: 8.516 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.751e-05/0.5519, allocations: 45.64 kB / 0.5755 GB, free: 8.465 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.552, allocations: 330.8 kB / 0.5758 GB, free: 8.133 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002941/0.5523, allocations: 115.9 kB / 0.5759 GB, free: 8.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003491/0.5527, allocations: 157.9 kB / 0.5761 GB, free: 7.844 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006376/0.5533, allocations: 299.1 kB / 0.5763 GB, free: 7.531 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.5533, allocations: 0 / 0.5763 GB, free: 7.531 MB / 414.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007671/0.5541, allocations: 322.2 kB / 0.5767 GB, free: 7.211 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.5541, allocations: 8.094 kB / 0.5767 GB, free: 7.203 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.5541, allocations: 7.922 kB / 0.5767 GB, free: 7.195 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/0.5542, allocations: 4 kB / 0.5767 GB, free: 7.191 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002728/0.5544, allocations: 44.09 kB / 0.5767 GB, free: 7.148 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.5544, allocations: 7.984 kB / 0.5767 GB, free: 7.141 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/0.5547, allocations: 32.88 kB / 0.5768 GB, free: 7.109 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.5547, allocations: 8 kB / 0.5768 GB, free: 7.102 MB / 414.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.0001785/0.5549, allocations: 134.3 kB / 0.5769 GB, free: 6.961 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.555, allocations: 27.8 kB / 0.5769 GB, free: 6.934 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007443/0.5557, allocations: 382.4 kB / 0.5773 GB, free: 6.547 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.979e-05/0.5557, allocations: 12.77 kB / 0.5773 GB, free: 6.535 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.5557, allocations: 0 / 0.5773 GB, free: 6.535 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.5557, allocations: 4 kB / 0.5773 GB, free: 6.531 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004877/0.5562, allocations: 241.4 kB / 0.5775 GB, free: 6.266 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.5562, allocations: 6.625 kB / 0.5775 GB, free: 6.262 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002209/0.5565, allocations: 39.91 kB / 0.5776 GB, free: 6.223 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.5565, allocations: 3.938 kB / 0.5776 GB, free: 6.219 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.985e-05/0.5565, allocations: 11.98 kB / 0.5776 GB, free: 6.207 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.5565, allocations: 0 / 0.5776 GB, free: 6.207 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.5565, allocations: 4 kB / 0.5776 GB, free: 6.203 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009304/0.5574, allocations: 0.6434 MB / 0.5782 GB, free: 5.543 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.474e-05/0.5575, allocations: 32.8 kB / 0.5782 GB, free: 5.512 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.586e-05/0.5575, allocations: 12 kB / 0.5783 GB, free: 5.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003051/0.5578, allocations: 15.98 kB / 0.5783 GB, free: 5.484 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.577e-05/0.5579, allocations: 23.95 kB / 0.5783 GB, free: 5.461 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.5579, allocations: 8 kB / 0.5783 GB, free: 5.453 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000134/0.5581, allocations: 128.4 kB / 0.5784 GB, free: 5.328 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5581, allocations: 0 / 0.5784 GB, free: 5.328 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003112/0.5612, allocations: 0.8061 MB / 0.5792 GB, free: 4.52 MB / 414.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.004635/0.5658, allocations: 1.209 MB / 0.5804 GB, free: 3.316 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000884/0.5667, allocations: 271.7 kB / 0.5807 GB, free: 3.051 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.5667, allocations: 0 / 0.5807 GB, free: 3.051 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003651/0.5671, allocations: 152.2 kB / 0.5808 GB, free: 2.902 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009447/0.568, allocations: 107.4 kB / 0.5809 GB, free: 2.805 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009806/0.569, allocations: 493.4 kB / 0.5814 GB, free: 2.293 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001561/0.5692, allocations: 137.5 kB / 0.5815 GB, free: 2.141 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001865/0.5693, allocations: 47.08 kB / 0.5815 GB, free: 2.098 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.564e-05/0.5694, allocations: 23.42 kB / 0.5816 GB, free: 2.074 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.5694, allocations: 0 / 0.5816 GB, free: 2.074 MB / 414.1 MB Notification: Performance of Templates: time 0.04111/0.6105, allocations: 24.65 MB / 0.6056 GB, free: 9.512 MB / 446.1 MB " [Timeout remaining time 659] 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: 7.793417643755674] Failed to read output from testmodel.py, exit status != 0: 0.6184517163783312 0.635453935 0.162569863 Calling exit ...