Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.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.0009284/0.0009284, allocations: 92.31 kB / 20.19 MB, free: 4.355 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.0009487/0.0009487, allocations: 169 kB / 23.49 MB, free: 1.051 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.9168/0.9168, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.03022/0.03022, allocations: 7.522 MB / 267.8 MB, free: 6.066 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.MediaTestModels.IsopentaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 338.7 MB, free: 11.28 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.279e-05/1.411e-05, allocations: 6.312 kB / 338.7 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel): time 0.214/0.214, allocations: 129.8 MB / 468.6 MB, free: 10.09 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.2334/0.4474, allocations: 112.6 MB / 0.5675 GB, free: 3.332 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004076/0.4478, allocations: 13.69 kB / 0.5675 GB, free: 3.328 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001974/0.4498, allocations: 1.249 MB / 0.5688 GB, free: 3.32 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002337/0.4521, allocations: 1.601 MB / 0.5703 GB, free: 3.309 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.04415/0.4963, allocations: 31.47 MB / 0.6011 GB, free: 15.68 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001281/0.4976, allocations: 1.428 MB / 0.6025 GB, free: 15.35 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.4977, allocations: 83.14 kB / 0.6025 GB, free: 15.34 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009924/0.5076, allocations: 11.2 MB / 0.6135 GB, free: 12.39 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003302/0.508, allocations: 342.7 kB / 0.6138 GB, free: 12.29 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.162e-05/0.508, allocations: 41.03 kB / 0.6138 GB, free: 12.29 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02842/0.5364, allocations: 24.05 MB / 0.6373 GB, free: 4.473 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001428/0.5366, allocations: 123.5 kB / 0.6374 GB, free: 4.41 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000281/0.5369, allocations: 218.9 kB / 0.6377 GB, free: 4.246 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02355/0.5604, allocations: 14.11 MB / 0.6514 GB, free: 8.938 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.5604, allocations: 0 / 0.6514 GB, free: 8.938 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.5604, allocations: 0 / 0.6514 GB, free: 8.938 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.5604, allocations: 0 / 0.6514 GB, free: 8.938 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.004183/0.5646, allocations: 2.69 MB / 0.6541 GB, free: 6.211 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.5646, allocations: 8.625 kB / 0.6541 GB, free: 6.203 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004581/0.5651, allocations: 178.8 kB / 0.6542 GB, free: 6.027 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/0.5654, allocations: 279.4 kB / 0.6545 GB, free: 5.742 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.143e-05/0.5654, allocations: 28.66 kB / 0.6545 GB, free: 5.715 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.462e-05/0.5655, allocations: 36 kB / 0.6546 GB, free: 5.68 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007289/0.5662, allocations: 0.6055 MB / 0.6552 GB, free: 5.012 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.5662, allocations: 4 kB / 0.6552 GB, free: 5.008 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.827e-05/0.5662, allocations: 16 kB / 0.6552 GB, free: 4.992 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.5663, allocations: 19.67 kB / 0.6552 GB, free: 4.977 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004733/0.5667, allocations: 282.5 kB / 0.6555 GB, free: 4.707 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001387/0.5681, allocations: 1.815 MB / 0.6572 GB, free: 2.867 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005081/0.5686, allocations: 278.5 kB / 0.6575 GB, free: 2.586 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.5688, allocations: 125 kB / 0.6576 GB, free: 2.461 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0977/0.6665, allocations: 41.69 MB / 0.6983 GB, free: 8.898 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/0.6665, allocations: 37.33 kB / 0.6984 GB, free: 8.852 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=77): time 2.635e-06/0.6665, allocations: 0 / 0.6984 GB, free: 8.852 MB / 0.4948 GB Notification: Performance of matching and sorting (n=81): time 0.002878/0.6694, allocations: 1.481 MB / 0.6998 GB, free: 7.348 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.6694, allocations: 59.41 kB / 0.6999 GB, free: 7.277 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001832/0.6696, allocations: 288.2 kB / 0.7002 GB, free: 6.977 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.6696, allocations: 33.7 kB / 0.7002 GB, free: 6.938 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.575e-05/0.6697, allocations: 242.5 kB / 0.7004 GB, free: 6.699 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000142/0.6699, allocations: 280.5 kB / 0.7007 GB, free: 6.43 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.67, allocations: 123.8 kB / 0.7008 GB, free: 6.301 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.6701, allocations: 0.5313 MB / 0.7013 GB, free: 5.758 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.6702, allocations: 97.45 kB / 0.7014 GB, free: 5.66 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.6704, allocations: 263.9 kB / 0.7017 GB, free: 5.352 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000367/0.6708, allocations: 405 kB / 0.7021 GB, free: 4.91 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.6708, allocations: 0 / 0.7021 GB, free: 4.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0005644/0.6714, allocations: 0.4952 MB / 0.7025 GB, free: 4.422 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.6714, allocations: 8 kB / 0.7025 GB, free: 4.414 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-06/0.6714, allocations: 4 kB / 0.7026 GB, free: 4.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001774/0.6716, allocations: 58.05 kB / 0.7026 GB, free: 4.348 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003907/0.672, allocations: 140.5 kB / 0.7027 GB, free: 4.219 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03343/0.7054, allocations: 18.46 MB / 0.7208 GB, free: 1.191 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/0.7056, allocations: 20.06 kB / 0.7208 GB, free: 1.172 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.7056, allocations: 19.98 kB / 0.7208 GB, free: 1.152 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 9 (ambient.medium.sat.vap.phase,ambient.medium.sat.liq.phase,ambient.medium.state.phase,fixedMassFlowRate.medium.sat.vap.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.state.phase,volume.medium.sat.vap.phase,volume.medium.sat.liq.phase,volume.medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001433/0.7057, allocations: 190.3 kB / 0.721 GB, free: 0.9609 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.669e-05/0.7058, allocations: 51.77 kB / 0.721 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001242/0.707, allocations: 1.522 MB / 0.7225 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.7071, allocations: 14.02 kB / 0.7225 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.7071, allocations: 0 / 0.7225 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005969/0.7077, allocations: 0.8501 MB / 0.7234 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009926/0.7086, allocations: 1.133 MB / 0.7245 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.7086, allocations: 0 / 0.7245 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/0.7088, allocations: 67.52 kB / 0.7245 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001995/0.709, allocations: 140.7 kB / 0.7247 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.709, allocations: 11.98 kB / 0.7247 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001117/0.7101, allocations: 3.368 MB / 0.728 GB, free: 9.418 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.7101, allocations: 7.922 kB / 0.728 GB, free: 9.41 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007422/0.7109, allocations: 0.8315 MB / 0.7288 GB, free: 8.555 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.667e-05/0.7109, allocations: 39.7 kB / 0.7288 GB, free: 8.516 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.958e-05/0.7109, allocations: 4 kB / 0.7288 GB, free: 8.512 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.7111, allocations: 15.98 kB / 0.7288 GB, free: 8.496 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.049e-05/0.7112, allocations: 47.91 kB / 0.7289 GB, free: 8.449 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.7112, allocations: 15.98 kB / 0.7289 GB, free: 8.434 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001267/0.7113, allocations: 222.9 kB / 0.7291 GB, free: 8.211 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4e-08/0.7113, allocations: 0 / 0.7291 GB, free: 8.211 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003947/0.7153, allocations: 2.442 MB / 0.7315 GB, free: 5.762 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 10 ($cse4.phase,$cse5.phase,$cse6.phase,volume.medium.state.phase,volume.medium.sat.liq.phase,volume.medium.sat.vap.phase,fixedMassFlowRate.medium.state.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.sat.vap.phase,ambient.medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005979/0.7212, allocations: 3.691 MB / 0.7351 GB, free: 2.406 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000999/0.7222, allocations: 0.8087 MB / 0.7359 GB, free: 1.57 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.7222, allocations: 0 / 0.7359 GB, free: 1.57 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003234/0.7226, allocations: 394.7 kB / 0.7363 GB, free: 1.168 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.7236, allocations: 378.6 kB / 0.7366 GB, free: 0.8047 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.7249, allocations: 0.9958 MB / 0.7376 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.105e-05/0.725, allocations: 135.4 kB / 0.7377 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002368/0.7253, allocations: 123.1 kB / 0.7379 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.28e-05/0.7253, allocations: 40.5 kB / 0.7379 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of SimCode: time 9.72e-07/0.7253, allocations: 0 / 0.7379 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of Templates: time 0.2046/0.9299, allocations: 78.87 MB / 0.8149 GB, free: 121.4 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.166833373950794]