Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.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.001932/0.001932, allocations: 93.47 kB / 19.44 MB, free: 336 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.002092/0.002092, allocations: 169.2 kB / 22.76 MB, free: 1.664 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 1.592/1.592, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 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.0601/0.0601, allocations: 7.501 MB / 267.1 MB, free: 6.039 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.R134aTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 338 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.641e-05/2.782e-05, allocations: 6.312 kB / 338 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel): time 0.2932/0.2932, allocations: 129.9 MB / 467.9 MB, free: 10.07 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.3362/0.6294, allocations: 112.6 MB / 0.5669 GB, free: 3.055 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004825/0.6299, allocations: 10.03 kB / 0.567 GB, free: 3.055 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002836/0.6327, allocations: 1.243 MB / 0.5682 GB, free: 3.047 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003523/0.6363, allocations: 1.609 MB / 0.5697 GB, free: 3.035 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.06807/0.7043, allocations: 31.6 MB / 0.6006 GB, free: 15.4 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001921/0.7062, allocations: 1.428 MB / 0.602 GB, free: 15.07 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002618/0.7065, allocations: 78.69 kB / 0.6021 GB, free: 15.05 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01655/0.7231, allocations: 9.526 MB / 0.6114 GB, free: 12.43 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006822/0.7237, allocations: 346.9 kB / 0.6117 GB, free: 12.32 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.321e-05/0.7238, allocations: 46 kB / 0.6117 GB, free: 12.32 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0522/0.776, allocations: 24.44 MB / 0.6356 GB, free: 4.676 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002831/0.7763, allocations: 132 kB / 0.6357 GB, free: 4.605 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000578/0.7769, allocations: 219.3 kB / 0.6359 GB, free: 4.441 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04284/0.8197, allocations: 14.47 MB / 0.6501 GB, free: 9.438 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.8197, allocations: 0 / 0.6501 GB, free: 9.438 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.8197, allocations: 0 / 0.6501 GB, free: 9.438 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.555e-05/0.8198, allocations: 0 / 0.6501 GB, free: 9.438 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.007224/0.827, allocations: 2.724 MB / 0.6527 GB, free: 6.676 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.827, allocations: 12.62 kB / 0.6528 GB, free: 6.664 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007955/0.8278, allocations: 178.4 kB / 0.6529 GB, free: 6.492 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005503/0.8284, allocations: 290.9 kB / 0.6532 GB, free: 6.199 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.528e-05/0.8284, allocations: 28.66 kB / 0.6532 GB, free: 6.172 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.603e-05/0.8285, allocations: 36 kB / 0.6533 GB, free: 6.137 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/0.83, allocations: 0.6806 MB / 0.6539 GB, free: 5.395 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.83, allocations: 8 kB / 0.6539 GB, free: 5.387 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.446e-05/0.83, allocations: 15.94 kB / 0.6539 GB, free: 5.371 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.502e-05/0.8301, allocations: 15.91 kB / 0.654 GB, free: 5.359 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00124/0.8313, allocations: 420.8 kB / 0.6544 GB, free: 4.957 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003256/0.8345, allocations: 1.961 MB / 0.6563 GB, free: 2.973 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/0.8357, allocations: 356.6 kB / 0.6566 GB, free: 2.617 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004295/0.8361, allocations: 189.2 kB / 0.6568 GB, free: 2.43 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.239/1.075, allocations: 41.69 MB / 0.6975 GB, free: 8.871 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.34e-05/1.075, allocations: 44.7 kB / 0.6975 GB, free: 8.82 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=79): time 3.096e-06/1.075, allocations: 0 / 0.6975 GB, free: 8.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=83): time 0.006244/1.081, allocations: 1.736 MB / 0.6992 GB, free: 7.062 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/1.082, allocations: 55.41 kB / 0.6993 GB, free: 6.996 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004164/1.082, allocations: 314.6 kB / 0.6996 GB, free: 6.672 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.271e-05/1.082, allocations: 33.7 kB / 0.6996 GB, free: 6.633 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002245/1.082, allocations: 248.1 kB / 0.6999 GB, free: 6.387 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003577/1.083, allocations: 312.6 kB / 0.7002 GB, free: 6.086 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002509/1.083, allocations: 143.8 kB / 0.7003 GB, free: 5.938 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003779/1.083, allocations: 0.5625 MB / 0.7009 GB, free: 5.363 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004568/1.084, allocations: 160.7 kB / 0.701 GB, free: 5.203 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006324/1.084, allocations: 355.5 kB / 0.7013 GB, free: 4.797 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/1.085, allocations: 0.5531 MB / 0.7019 GB, free: 4.191 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/1.085, allocations: 4 kB / 0.7019 GB, free: 4.188 MB / 0.4948 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001505/1.087, allocations: 0.618 MB / 0.7025 GB, free: 3.586 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/1.087, allocations: 8 kB / 0.7025 GB, free: 3.578 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/1.087, allocations: 4.438 kB / 0.7025 GB, free: 3.574 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003805/1.087, allocations: 75.33 kB / 0.7026 GB, free: 3.492 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004357/1.088, allocations: 90.61 kB / 0.7027 GB, free: 3.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07935/1.167, allocations: 16.42 MB / 0.7187 GB, free: 2.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004204/1.168, allocations: 28.05 kB / 0.7187 GB, free: 2.453 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.345e-05/1.168, allocations: 20 kB / 0.7187 GB, free: 2.434 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003821/1.168, allocations: 238.8 kB / 0.719 GB, free: 2.195 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001567/1.168, allocations: 52.25 kB / 0.719 GB, free: 2.145 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003142/1.171, allocations: 1.793 MB / 0.7208 GB, free: 276 kB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-05/1.171, allocations: 18.8 kB / 0.7208 GB, free: 260 kB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/1.171, allocations: 0 / 0.7208 GB, free: 260 kB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001429/1.173, allocations: 0.8438 MB / 0.7216 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002415/1.175, allocations: 1.203 MB / 0.7228 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.377e-06/1.175, allocations: 7.984 kB / 0.7228 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003525/1.175, allocations: 67.06 kB / 0.7229 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002872/1.176, allocations: 59.61 kB / 0.7229 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.405e-05/1.176, allocations: 8 kB / 0.7229 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002091/1.178, allocations: 1.82 MB / 0.7247 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-06/1.178, allocations: 3.938 kB / 0.7247 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002239/1.18, allocations: 0.9138 MB / 0.7256 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001961/1.18, allocations: 39.66 kB / 0.7256 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/1.18, allocations: 11.94 kB / 0.7256 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004173/1.181, allocations: 19.98 kB / 0.7257 GB, free: 11 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002247/1.181, allocations: 43.92 kB / 0.7257 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.056e-05/1.181, allocations: 15.98 kB / 0.7257 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005928/1.182, allocations: 279 kB / 0.726 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.71e-07/1.182, allocations: 0 / 0.726 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01347/1.195, allocations: 2.43 MB / 0.7284 GB, free: 8.227 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 9 ($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 (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01551/1.211, allocations: 3.748 MB / 0.732 GB, free: 4.828 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00241/1.213, allocations: 0.8427 MB / 0.7328 GB, free: 3.957 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/1.213, allocations: 0.875 kB / 0.7328 GB, free: 3.957 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001038/1.214, allocations: 455.9 kB / 0.7333 GB, free: 3.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00229/1.216, allocations: 363.6 kB / 0.7336 GB, free: 3.145 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002686/1.219, allocations: 1.021 MB / 0.7346 GB, free: 2.098 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/1.22, allocations: 246.3 kB / 0.7349 GB, free: 1.84 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0005437/1.22, allocations: 154.5 kB / 0.735 GB, free: 1.691 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/1.22, allocations: 40.5 kB / 0.735 GB, free: 1.652 MB / 0.5261 GB Notification: Performance of SimCode: time 1.763e-06/1.22, allocations: 0 / 0.735 GB, free: 1.652 MB / 0.5261 GB Notification: Performance of Templates: time 0.2807/1.501, allocations: 78.14 MB / 0.8113 GB, free: 239.2 MB / 0.5417 GB " [Timeout remaining time 658] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 12.194915449013934]