Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel.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.001858/0.001858, allocations: 89.48 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.001953/0.001953, 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.551/1.551, allocations: 177.1 MB / 203.1 MB, free: 5.617 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.06076/0.06076, allocations: 7.499 MB / 267.1 MB, free: 6.043 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.CarbondioxideTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 338 MB, free: 11.28 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.956e-05/2.067e-05, allocations: 5.125 kB / 338 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel): time 0.269/0.269, allocations: 130.2 MB / 468.1 MB, free: 9.91 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.3155/0.5845, allocations: 112.7 MB / 0.5672 GB, free: 3.207 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005267/0.585, allocations: 9.719 kB / 0.5672 GB, free: 3.207 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002772/0.5878, allocations: 1.242 MB / 0.5684 GB, free: 3.199 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003504/0.5913, allocations: 1.606 MB / 0.57 GB, free: 3.188 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.06488/0.6562, allocations: 32.38 MB / 0.6016 GB, free: 15.53 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001714/0.6579, allocations: 1.435 MB / 0.603 GB, free: 15.2 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001953/0.6581, allocations: 75.61 kB / 0.6031 GB, free: 15.19 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.01918/0.6773, allocations: 12.2 MB / 0.615 GB, free: 11.39 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005504/0.6778, allocations: 342.7 kB / 0.6153 GB, free: 11.29 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 6.677e-05/0.6779, allocations: 47.16 kB / 0.6154 GB, free: 11.28 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05171/0.7296, allocations: 26.36 MB / 0.6411 GB, free: 15.41 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002614/0.7299, allocations: 132.4 kB / 0.6412 GB, free: 15.34 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005621/0.7304, allocations: 217 kB / 0.6414 GB, free: 15.18 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04165/0.7721, allocations: 14.79 MB / 0.6559 GB, free: 3.961 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.7721, allocations: 0 / 0.6559 GB, free: 3.961 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.7721, allocations: 0 / 0.6559 GB, free: 3.961 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.7721, allocations: 0 / 0.6559 GB, free: 3.961 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.006357/0.7785, allocations: 2.719 MB / 0.6585 GB, free: 1.207 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.7785, allocations: 12.62 kB / 0.6586 GB, free: 1.195 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007305/0.7792, allocations: 174.8 kB / 0.6587 GB, free: 1.023 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005157/0.7797, allocations: 285.2 kB / 0.659 GB, free: 0.7305 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.369e-05/0.7798, allocations: 28.66 kB / 0.659 GB, free: 0.7031 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.371e-05/0.7799, allocations: 36 kB / 0.6591 GB, free: 0.668 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.7813, allocations: 0.6799 MB / 0.6597 GB, free: 15.93 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.7813, allocations: 10.61 kB / 0.6597 GB, free: 15.92 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.411e-05/0.7813, allocations: 16 kB / 0.6598 GB, free: 15.9 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.125e-05/0.7813, allocations: 15.83 kB / 0.6598 GB, free: 15.89 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/0.7825, allocations: 415.9 kB / 0.6602 GB, free: 15.49 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003057/0.7856, allocations: 1.982 MB / 0.6621 GB, free: 13.49 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009902/0.7866, allocations: 343.7 kB / 0.6624 GB, free: 13.15 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004134/0.787, allocations: 184.9 kB / 0.6626 GB, free: 12.96 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2266/1.014, allocations: 41.7 MB / 0.7033 GB, free: 3.395 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.507e-05/1.014, allocations: 45.31 kB / 0.7034 GB, free: 3.34 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=77): time 2.655e-06/1.014, allocations: 0 / 0.7034 GB, free: 3.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=81): time 0.005614/1.019, allocations: 1.75 MB / 0.7051 GB, free: 1.566 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/1.019, allocations: 55.41 kB / 0.7051 GB, free: 1.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003709/1.02, allocations: 332.2 kB / 0.7054 GB, free: 1.156 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.182e-05/1.02, allocations: 33.7 kB / 0.7055 GB, free: 1.117 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000187/1.02, allocations: 251.5 kB / 0.7057 GB, free: 0.8711 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000281/1.02, allocations: 299 kB / 0.706 GB, free: 0.582 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002276/1.02, allocations: 147.8 kB / 0.7061 GB, free: 440 kB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003633/1.021, allocations: 0.5664 MB / 0.7067 GB, free: 15.85 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000409/1.021, allocations: 165.4 kB / 0.7069 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005776/1.022, allocations: 344.3 kB / 0.7072 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/1.023, allocations: 0.5481 MB / 0.7077 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/1.023, allocations: 0 / 0.7077 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001378/1.024, allocations: 0.6203 MB / 0.7083 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/1.024, allocations: 4 kB / 0.7083 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/1.024, allocations: 4 kB / 0.7083 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003195/1.025, allocations: 75.7 kB / 0.7084 GB, free: 14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007138/1.025, allocations: 136.5 kB / 0.7085 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07833/1.104, allocations: 20.22 MB / 0.7283 GB, free: 9.109 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003824/1.104, allocations: 20 kB / 0.7283 GB, free: 9.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.191e-05/1.104, allocations: 19.98 kB / 0.7283 GB, free: 9.07 MB / 0.5261 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.0003169/1.104, allocations: 227.4 kB / 0.7285 GB, free: 8.844 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/1.104, allocations: 55.77 kB / 0.7286 GB, free: 8.789 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002911/1.107, allocations: 1.918 MB / 0.7305 GB, free: 6.781 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.95e-05/1.107, allocations: 8.609 kB / 0.7305 GB, free: 6.773 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/1.107, allocations: 0 / 0.7305 GB, free: 6.773 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001692/1.109, allocations: 0.9405 MB / 0.7314 GB, free: 5.738 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002233/1.111, allocations: 1.299 MB / 0.7326 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/1.111, allocations: 0.5 kB / 0.7327 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003139/1.112, allocations: 70.95 kB / 0.7327 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003921/1.112, allocations: 145.9 kB / 0.7329 GB, free: 4.188 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.009e-05/1.112, allocations: 8.062 kB / 0.7329 GB, free: 4.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002659/1.115, allocations: 3.459 MB / 0.7362 GB, free: 0.5508 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/1.115, allocations: 3.938 kB / 0.7362 GB, free: 0.5469 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/1.117, allocations: 1.018 MB / 0.7372 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.518e-05/1.117, allocations: 35.7 kB / 0.7373 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.852e-05/1.117, allocations: 11.98 kB / 0.7373 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002751/1.117, allocations: 16 kB / 0.7373 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/1.117, allocations: 43.91 kB / 0.7373 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.604e-05/1.117, allocations: 19.98 kB / 0.7374 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000275/1.117, allocations: 258.9 kB / 0.7376 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/1.117, allocations: 0 / 0.7376 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006649/1.124, allocations: 2.438 MB / 0.74 GB, free: 12.68 MB / 0.5417 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.01147/1.136, allocations: 3.882 MB / 0.7438 GB, free: 9.141 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002434/1.138, allocations: 0.9326 MB / 0.7447 GB, free: 8.18 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/1.138, allocations: 0 / 0.7447 GB, free: 8.18 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0008505/1.139, allocations: 469.9 kB / 0.7451 GB, free: 7.711 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002052/1.141, allocations: 385.6 kB / 0.7455 GB, free: 7.34 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/1.143, allocations: 1.035 MB / 0.7465 GB, free: 6.281 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/1.143, allocations: 246.2 kB / 0.7468 GB, free: 6.02 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003741/1.144, allocations: 129.2 kB / 0.7469 GB, free: 5.898 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/1.144, allocations: 44.48 kB / 0.7469 GB, free: 5.855 MB / 0.5417 GB Notification: Performance of SimCode: time 1.302e-06/1.144, allocations: 0 / 0.7469 GB, free: 5.855 MB / 0.5417 GB Notification: Performance of Templates: time 0.2001/1.344, allocations: 78.98 MB / 0.824 GB, free: 226.4 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 13.647334882058203]