Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.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.002358/0.002358, allocations: 81.5 kB / 19.44 MB, free: 344 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.002896/0.002896, allocations: 173.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.566/1.566, allocations: 177.1 MB / 203.1 MB, free: 5.629 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.06043/0.06043, allocations: 7.516 MB / 267.1 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.MediaTestModels.PropaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 338 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.62e-05/2.771e-05, allocations: 2.312 kB / 338 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel): time 0.2922/0.2923, allocations: 130.1 MB / 468.1 MB, free: 9.949 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.424/0.7162, allocations: 112.7 MB / 0.5671 GB, free: 2.957 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007171/0.7169, allocations: 9.875 kB / 0.5671 GB, free: 2.957 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003575/0.7205, allocations: 1.244 MB / 0.5683 GB, free: 2.945 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004991/0.7255, allocations: 1.606 MB / 0.5699 GB, free: 2.934 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.08738/0.8129, allocations: 31.75 MB / 0.6009 GB, free: 15.3 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002159/0.815, allocations: 1.429 MB / 0.6023 GB, free: 14.97 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002614/0.8153, allocations: 75.77 kB / 0.6024 GB, free: 14.96 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:621:5-621:120:writable] Warning: assert triggered: setState_pTX: d_min and d_max did not bracket the root Notification: Performance of NFEvalConstants.evaluate: time 0.02061/0.8359, allocations: 10.31 MB / 0.6125 GB, free: 12.29 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007418/0.8367, allocations: 334.1 kB / 0.6128 GB, free: 12.2 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001128/0.8368, allocations: 47.03 kB / 0.6128 GB, free: 12.19 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05731/0.8941, allocations: 24.74 MB / 0.637 GB, free: 3.656 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004441/0.8945, allocations: 128.1 kB / 0.6371 GB, free: 3.586 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007324/0.8952, allocations: 218.9 kB / 0.6373 GB, free: 3.426 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0479/0.9431, allocations: 14.51 MB / 0.6515 GB, free: 8.332 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.9432, allocations: 4 kB / 0.6515 GB, free: 8.328 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.9432, allocations: 0 / 0.6515 GB, free: 8.328 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.771e-05/0.9432, allocations: 0 / 0.6515 GB, free: 8.328 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.007197/0.9504, allocations: 2.715 MB / 0.6541 GB, free: 5.574 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.9504, allocations: 8.625 kB / 0.6541 GB, free: 5.566 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008501/0.9513, allocations: 178.8 kB / 0.6543 GB, free: 5.395 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000566/0.9518, allocations: 292 kB / 0.6546 GB, free: 5.102 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.838e-05/0.9519, allocations: 28.66 kB / 0.6546 GB, free: 5.074 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.781e-05/0.952, allocations: 36 kB / 0.6547 GB, free: 5.039 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001632/0.9536, allocations: 0.6843 MB / 0.6553 GB, free: 4.293 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/0.9536, allocations: 0 / 0.6553 GB, free: 4.293 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.111e-05/0.9537, allocations: 20 kB / 0.6553 GB, free: 4.273 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-05/0.9537, allocations: 13.86 kB / 0.6554 GB, free: 4.262 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/0.9551, allocations: 424.1 kB / 0.6558 GB, free: 3.855 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003696/0.9588, allocations: 1.962 MB / 0.6577 GB, free: 1.863 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001077/0.9599, allocations: 351.7 kB / 0.658 GB, free: 1.512 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004442/0.9603, allocations: 182.3 kB / 0.6582 GB, free: 1.332 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2409/1.201, allocations: 41.7 MB / 0.6989 GB, free: 7.758 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.448e-05/1.201, allocations: 41.61 kB / 0.6989 GB, free: 7.707 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=78): time 2.585e-06/1.201, allocations: 0 / 0.6989 GB, free: 7.707 MB / 0.4948 GB Notification: Performance of matching and sorting (n=82): time 0.006028/1.207, allocations: 1.732 MB / 0.7006 GB, free: 5.949 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/1.207, allocations: 62.12 kB / 0.7007 GB, free: 5.879 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000378/1.208, allocations: 322.5 kB / 0.701 GB, free: 5.547 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.163e-05/1.208, allocations: 29.7 kB / 0.701 GB, free: 5.512 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002098/1.208, allocations: 260.5 kB / 0.7013 GB, free: 5.258 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003084/1.208, allocations: 304.4 kB / 0.7016 GB, free: 4.961 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002302/1.209, allocations: 147.8 kB / 0.7017 GB, free: 4.809 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003514/1.209, allocations: 0.5625 MB / 0.7023 GB, free: 4.234 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004111/1.209, allocations: 153.4 kB / 0.7024 GB, free: 4.078 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005842/1.21, allocations: 336.1 kB / 0.7027 GB, free: 3.703 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/1.211, allocations: 0.5345 MB / 0.7033 GB, free: 3.133 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/1.211, allocations: 0 / 0.7033 GB, free: 3.133 MB / 0.4948 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001441/1.212, allocations: 0.6097 MB / 0.7038 GB, free: 2.523 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/1.212, allocations: 8 kB / 0.7039 GB, free: 2.516 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/1.212, allocations: 4 kB / 0.7039 GB, free: 2.512 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000346/1.213, allocations: 74.7 kB / 0.7039 GB, free: 2.434 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006406/1.213, allocations: 121.6 kB / 0.704 GB, free: 2.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07854/1.292, allocations: 18.36 MB / 0.722 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004011/1.292, allocations: 23.98 kB / 0.722 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.253e-05/1.292, allocations: 16 kB / 0.722 GB, free: 15.37 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {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.0003544/1.293, allocations: 238.4 kB / 0.7222 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001624/1.293, allocations: 51.72 kB / 0.7223 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003055/1.296, allocations: 1.891 MB / 0.7241 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.69e-05/1.296, allocations: 18.45 kB / 0.7242 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/1.296, allocations: 0 / 0.7242 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001407/1.297, allocations: 0.9135 MB / 0.7251 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002314/1.3, allocations: 1.262 MB / 0.7263 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/1.3, allocations: 4 kB / 0.7263 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003442/1.3, allocations: 75.08 kB / 0.7264 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003493/1.3, allocations: 96.7 kB / 0.7265 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.16e-05/1.3, allocations: 19.09 kB / 0.7265 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002321/1.303, allocations: 2.635 MB / 0.729 GB, free: 7.816 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/1.303, allocations: 0 / 0.729 GB, free: 7.816 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001942/1.305, allocations: 0.9787 MB / 0.73 GB, free: 6.812 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/1.305, allocations: 31.77 kB / 0.73 GB, free: 6.781 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.05e-05/1.305, allocations: 8 kB / 0.73 GB, free: 6.773 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000283/1.305, allocations: 19.98 kB / 0.7301 GB, free: 6.754 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/1.305, allocations: 47.91 kB / 0.7301 GB, free: 6.707 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.53e-05/1.305, allocations: 16.03 kB / 0.7301 GB, free: 6.691 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002935/1.306, allocations: 249.1 kB / 0.7304 GB, free: 6.449 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/1.306, allocations: 0 / 0.7304 GB, free: 6.449 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006952/1.313, allocations: 2.438 MB / 0.7327 GB, free: 4.004 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 (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 Backend phase and start with SimCode phase: time 0.01219/1.325, allocations: 3.752 MB / 0.7364 GB, free: 0.6016 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002453/1.327, allocations: 0.9171 MB / 0.7373 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.327, allocations: 0 / 0.7373 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0009086/1.328, allocations: 459.1 kB / 0.7377 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002176/1.33, allocations: 385.4 kB / 0.7381 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/1.332, allocations: 1.044 MB / 0.7391 GB, free: 13.76 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/1.333, allocations: 254.3 kB / 0.7394 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004036/1.333, allocations: 137.6 kB / 0.7395 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/1.333, allocations: 40.5 kB / 0.7395 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of SimCode: time 1.062e-06/1.333, allocations: 0 / 0.7395 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of Templates: time 0.2189/1.552, allocations: 78.73 MB / 0.8164 GB, free: 234.5 MB / 0.5417 GB " [Timeout remaining time 658] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 12.457179197925143]