Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.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.001869/0.001869, allocations: 85.48 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.002126/0.002126, 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.576/1.576, allocations: 177.1 MB / 203.1 MB, free: 5.633 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.05904/0.05904, allocations: 7.507 MB / 267.1 MB, free: 6.051 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.HeliumTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 338 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.455e-05, allocations: 4.984 kB / 338 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel): time 0.276/0.276, allocations: 129.4 MB / 467.4 MB, free: 10.54 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.3309/0.6069, allocations: 111.7 MB / 0.5655 GB, free: 3.359 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000578/0.6075, allocations: 12.41 kB / 0.5655 GB, free: 3.359 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002597/0.6101, allocations: 1.15 MB / 0.5666 GB, free: 3.352 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003354/0.6134, allocations: 1.493 MB / 0.5681 GB, free: 3.34 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.06648/0.6799, allocations: 30.95 MB / 0.5983 GB, free: 15.65 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001713/0.6816, allocations: 1.356 MB / 0.5996 GB, free: 15.32 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002043/0.6818, allocations: 80.52 kB / 0.5997 GB, free: 15.31 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.01605/0.6979, allocations: 9.114 MB / 0.6086 GB, free: 13.45 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000578/0.6985, allocations: 331.2 kB / 0.6089 GB, free: 13.35 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 7.544e-05/0.6985, allocations: 43.66 kB / 0.609 GB, free: 13.35 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05001/0.7485, allocations: 24.15 MB / 0.6325 GB, free: 6.574 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002956/0.7488, allocations: 130.5 kB / 0.6327 GB, free: 6.5 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000601/0.7494, allocations: 213 kB / 0.6329 GB, free: 6.344 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04532/0.7948, allocations: 14.54 MB / 0.6471 GB, free: 12.12 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.7948, allocations: 0 / 0.6471 GB, free: 12.12 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.7948, allocations: 0 / 0.6471 GB, free: 12.12 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.426e-05/0.7948, allocations: 0 / 0.6471 GB, free: 12.12 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.007524/0.8023, allocations: 2.725 MB / 0.6497 GB, free: 9.363 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.8023, allocations: 12.62 kB / 0.6497 GB, free: 9.352 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008109/0.8032, allocations: 174.8 kB / 0.6499 GB, free: 9.18 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005143/0.8037, allocations: 283.2 kB / 0.6502 GB, free: 8.891 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.003e-05/0.8037, allocations: 24.66 kB / 0.6502 GB, free: 8.867 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.896e-05/0.8038, allocations: 39.94 kB / 0.6502 GB, free: 8.828 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/0.8052, allocations: 0.6862 MB / 0.6509 GB, free: 8.082 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.8052, allocations: 4 kB / 0.6509 GB, free: 8.078 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.64e-05/0.8053, allocations: 15.94 kB / 0.6509 GB, free: 8.062 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.194e-05/0.8053, allocations: 15.2 kB / 0.6509 GB, free: 8.051 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00118/0.8065, allocations: 420.9 kB / 0.6513 GB, free: 7.648 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002811/0.8093, allocations: 1.968 MB / 0.6533 GB, free: 5.652 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.8103, allocations: 362.1 kB / 0.6536 GB, free: 5.293 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004157/0.8107, allocations: 186.8 kB / 0.6538 GB, free: 5.109 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.232/1.043, allocations: 41.68 MB / 0.6945 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.455e-05/1.043, allocations: 37.67 kB / 0.6945 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=78): time 2.304e-06/1.043, allocations: 0 / 0.6945 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=82): time 0.005976/1.049, allocations: 1.747 MB / 0.6962 GB, free: 9.742 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.989e-05/1.049, allocations: 55.41 kB / 0.6963 GB, free: 9.676 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004025/1.049, allocations: 318.6 kB / 0.6966 GB, free: 9.348 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002845/1.05, allocations: 29.7 kB / 0.6966 GB, free: 9.312 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002146/1.05, allocations: 248.8 kB / 0.6969 GB, free: 9.062 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003459/1.05, allocations: 312.7 kB / 0.6972 GB, free: 8.762 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002457/1.05, allocations: 147.8 kB / 0.6973 GB, free: 8.609 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003766/1.051, allocations: 0.5625 MB / 0.6978 GB, free: 8.035 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004562/1.051, allocations: 161.4 kB / 0.698 GB, free: 7.871 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006374/1.052, allocations: 366.2 kB / 0.6983 GB, free: 7.453 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/1.053, allocations: 0.5605 MB / 0.6989 GB, free: 6.84 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/1.053, allocations: 3.469 kB / 0.6989 GB, free: 6.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001486/1.054, allocations: 0.6157 MB / 0.6995 GB, free: 6.23 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/1.054, allocations: 14.28 kB / 0.6995 GB, free: 6.219 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/1.054, allocations: 4 kB / 0.6995 GB, free: 6.215 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003452/1.055, allocations: 75.33 kB / 0.6996 GB, free: 6.133 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006395/1.055, allocations: 116.4 kB / 0.6997 GB, free: 6.027 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07826/1.134, allocations: 18.47 MB / 0.7177 GB, free: 2.996 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000457/1.134, allocations: 12 kB / 0.7177 GB, free: 2.984 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-05/1.134, allocations: 23.98 kB / 0.7178 GB, free: 2.961 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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.0004515/1.135, allocations: 234.7 kB / 0.718 GB, free: 2.727 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000192/1.135, allocations: 59.66 kB / 0.7181 GB, free: 2.668 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003163/1.138, allocations: 1.818 MB / 0.7198 GB, free: 0.7578 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.818e-05/1.138, allocations: 11.44 kB / 0.7198 GB, free: 0.75 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/1.138, allocations: 3.938 kB / 0.7198 GB, free: 0.7461 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001444/1.139, allocations: 0.8579 MB / 0.7207 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002648/1.142, allocations: 1.235 MB / 0.7219 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/1.142, allocations: 8.031 kB / 0.7219 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003399/1.142, allocations: 70.89 kB / 0.722 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003976/1.143, allocations: 93.88 kB / 0.7221 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.761e-05/1.143, allocations: 8.688 kB / 0.7221 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002455/1.145, allocations: 2.651 MB / 0.7246 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.145, allocations: 4 kB / 0.7247 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0019/1.147, allocations: 0.9448 MB / 0.7256 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/1.147, allocations: 39.66 kB / 0.7256 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.454e-05/1.147, allocations: 7.938 kB / 0.7256 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002967/1.148, allocations: 23.98 kB / 0.7256 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/1.148, allocations: 39.92 kB / 0.7257 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.226e-05/1.148, allocations: 19.98 kB / 0.7257 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000327/1.148, allocations: 271 kB / 0.726 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/1.148, allocations: 2.906 kB / 0.726 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006596/1.155, allocations: 2.438 MB / 0.7283 GB, free: 7.738 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 (38): * Single equations (assignments): 33 * 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 Backend phase and start with SimCode phase: time 0.013/1.168, allocations: 3.768 MB / 0.732 GB, free: 4.316 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002469/1.17, allocations: 0.9057 MB / 0.7329 GB, free: 3.387 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/1.17, allocations: 3 kB / 0.7329 GB, free: 3.387 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009414/1.171, allocations: 449.6 kB / 0.7333 GB, free: 2.93 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002156/1.173, allocations: 377.3 kB / 0.7337 GB, free: 2.559 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002111/1.176, allocations: 1.03 MB / 0.7347 GB, free: 1.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/1.176, allocations: 256.8 kB / 0.7349 GB, free: 1.234 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000489/1.176, allocations: 133.4 kB / 0.7351 GB, free: 1.109 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/1.176, allocations: 40.48 kB / 0.7351 GB, free: 1.07 MB / 0.5261 GB Notification: Performance of SimCode: time 2.083e-06/1.176, allocations: 0 / 0.7351 GB, free: 1.07 MB / 0.5261 GB Notification: Performance of Templates: time 0.2274/1.404, allocations: 78.46 MB / 0.8117 GB, free: 238.2 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 8.866458927979693]