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.000875/0.000875, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0008775/0.0008775, allocations: 173 kB / 23.49 MB, free: 1.059 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.8975/0.8975, allocations: 177.1 MB / 203.8 MB, free: 5.625 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.02995/0.02995, allocations: 7.521 MB / 267.8 MB, free: 6.055 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 2.084e-06/2.084e-06, allocations: 0 / 338.7 MB, free: 11.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.753e-05/2.962e-05, allocations: 10.31 kB / 338.7 MB, free: 11.26 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel): time 0.2036/0.2036, allocations: 130.1 MB / 468.8 MB, free: 9.949 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.2297/0.4333, allocations: 112.6 MB / 0.5678 GB, free: 3.012 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003982/0.4337, allocations: 9.219 kB / 0.5678 GB, free: 3.012 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00195/0.4356, allocations: 1.246 MB / 0.569 GB, free: 3.004 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002252/0.4379, allocations: 1.603 MB / 0.5706 GB, free: 2.992 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.04384/0.4817, allocations: 31.74 MB / 0.6016 GB, free: 15.36 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001255/0.483, allocations: 1.429 MB / 0.603 GB, free: 15.03 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.4831, allocations: 77.64 kB / 0.6031 GB, free: 15.02 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.009708/0.4928, allocations: 10.31 MB / 0.6131 GB, free: 12.38 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003604/0.4932, allocations: 345 kB / 0.6135 GB, free: 12.28 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.21e-05/0.4932, allocations: 42.16 kB / 0.6135 GB, free: 12.28 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03095/0.5242, allocations: 24.73 MB / 0.6376 GB, free: 3.773 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000156/0.5243, allocations: 136.2 kB / 0.6378 GB, free: 3.703 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002972/0.5246, allocations: 213.8 kB / 0.638 GB, free: 3.543 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02298/0.5476, allocations: 14.22 MB / 0.6519 GB, free: 8.629 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.5476, allocations: 0 / 0.6519 GB, free: 8.629 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.5476, allocations: 3.938 kB / 0.6519 GB, free: 8.625 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.5476, allocations: 4 kB / 0.6519 GB, free: 8.621 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.004159/0.5518, allocations: 2.679 MB / 0.6545 GB, free: 5.902 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.5518, allocations: 12.62 kB / 0.6545 GB, free: 5.891 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004746/0.5523, allocations: 174.8 kB / 0.6547 GB, free: 5.719 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003037/0.5526, allocations: 283.2 kB / 0.6549 GB, free: 5.43 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.335e-05/0.5526, allocations: 28.66 kB / 0.655 GB, free: 5.402 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.554e-05/0.5527, allocations: 36 kB / 0.655 GB, free: 5.367 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00074/0.5534, allocations: 0.6081 MB / 0.6556 GB, free: 4.695 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.5534, allocations: 10.62 kB / 0.6556 GB, free: 4.688 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.893e-05/0.5535, allocations: 12 kB / 0.6556 GB, free: 4.676 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.5535, allocations: 13.88 kB / 0.6556 GB, free: 4.664 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004856/0.554, allocations: 281.6 kB / 0.6559 GB, free: 4.395 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001441/0.5554, allocations: 1.813 MB / 0.6577 GB, free: 2.555 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005368/0.5559, allocations: 275.5 kB / 0.6579 GB, free: 2.277 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003867/0.5563, allocations: 129.2 kB / 0.6581 GB, free: 2.148 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0973/0.6536, allocations: 41.68 MB / 0.6988 GB, free: 8.602 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.6537, allocations: 52.45 kB / 0.6988 GB, free: 8.543 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=78): time 2.124e-06/0.6537, allocations: 0 / 0.6988 GB, free: 8.543 MB / 0.4948 GB Notification: Performance of matching and sorting (n=82): time 0.002835/0.6565, allocations: 1.469 MB / 0.7002 GB, free: 7.047 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.6565, allocations: 55.41 kB / 0.7003 GB, free: 6.98 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.6567, allocations: 278.6 kB / 0.7006 GB, free: 6.691 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.6567, allocations: 29.7 kB / 0.7006 GB, free: 6.656 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003419/0.6571, allocations: 250.3 kB / 0.7008 GB, free: 6.41 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/0.6572, allocations: 287.9 kB / 0.7011 GB, free: 6.133 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.6573, allocations: 119.8 kB / 0.7012 GB, free: 6.008 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.6575, allocations: 0.5352 MB / 0.7017 GB, free: 5.461 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.6576, allocations: 93.45 kB / 0.7018 GB, free: 5.363 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.6578, allocations: 255.2 kB / 0.7021 GB, free: 5.07 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003676/0.6582, allocations: 387.4 kB / 0.7024 GB, free: 4.652 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.6582, allocations: 0 / 0.7024 GB, free: 4.652 MB / 0.4948 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0005917/0.6588, allocations: 0.4957 MB / 0.7029 GB, free: 4.16 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.6588, allocations: 4 kB / 0.7029 GB, free: 4.156 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.6588, allocations: 7.984 kB / 0.7029 GB, free: 4.148 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001913/0.659, allocations: 51.69 kB / 0.703 GB, free: 4.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003215/0.6593, allocations: 126.2 kB / 0.7031 GB, free: 3.973 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03445/0.6938, allocations: 17.91 MB / 0.7206 GB, free: 1.516 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002086/0.694, allocations: 28.05 kB / 0.7206 GB, free: 1.488 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.694, allocations: 12 kB / 0.7206 GB, free: 1.477 MB / 0.5105 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.0001684/0.6942, allocations: 197.9 kB / 0.7208 GB, free: 1.277 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.014e-05/0.6942, allocations: 54.62 kB / 0.7209 GB, free: 1.227 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001471/0.6957, allocations: 1.5 MB / 0.7223 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.6957, allocations: 14.19 kB / 0.7224 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.6957, allocations: 0 / 0.7224 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005659/0.6963, allocations: 0.8203 MB / 0.7232 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009954/0.6973, allocations: 1.096 MB / 0.7242 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.6973, allocations: 4 kB / 0.7242 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.6974, allocations: 74.98 kB / 0.7243 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001712/0.6976, allocations: 91.16 kB / 0.7244 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.6976, allocations: 7.375 kB / 0.7244 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008777/0.6985, allocations: 2.558 MB / 0.7269 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.6985, allocations: 0 / 0.7269 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007242/0.6992, allocations: 0.7919 MB / 0.7277 GB, free: 9.895 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.751e-05/0.6993, allocations: 39.91 kB / 0.7277 GB, free: 9.855 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.112e-05/0.6993, allocations: 16.06 kB / 0.7277 GB, free: 9.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.6994, allocations: 15.98 kB / 0.7277 GB, free: 9.824 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.386e-05/0.6995, allocations: 43.92 kB / 0.7278 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.6995, allocations: 15.98 kB / 0.7278 GB, free: 9.766 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001216/0.6997, allocations: 217.1 kB / 0.728 GB, free: 9.555 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.6997, allocations: 0 / 0.728 GB, free: 9.555 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00435/0.704, allocations: 2.438 MB / 0.7304 GB, free: 7.109 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.005727/0.7097, allocations: 3.748 MB / 0.734 GB, free: 3.707 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009665/0.7107, allocations: 0.7771 MB / 0.7348 GB, free: 2.898 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.7107, allocations: 0 / 0.7348 GB, free: 2.898 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003199/0.711, allocations: 384.4 kB / 0.7352 GB, free: 2.508 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009607/0.712, allocations: 379.6 kB / 0.7355 GB, free: 2.133 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.7135, allocations: 0.9975 MB / 0.7365 GB, free: 1.117 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.34e-05/0.7136, allocations: 131.6 kB / 0.7366 GB, free: 0.9727 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002222/0.7138, allocations: 138.4 kB / 0.7368 GB, free: 0.8398 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.251e-05/0.7139, allocations: 44.5 kB / 0.7368 GB, free: 0.793 MB / 0.5261 GB Notification: Performance of SimCode: time 9.12e-07/0.7139, allocations: 0 / 0.7368 GB, free: 0.793 MB / 0.5261 GB Notification: Performance of Templates: time 0.1516/0.8654, allocations: 78.73 MB / 0.8137 GB, free: 238.9 MB / 0.5417 GB " [Timeout remaining time 659] 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: 7.012865443946794]