Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.AmmoniaTestModel.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.0006799/0.0006799, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009466/0.001626, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.000717/0.000717, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009761/0.001693, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9757/0.9757, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1084/1.084, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-main/package.mo): time 0.04627/0.04627, allocations: 11.73 MB / 255.9 MB, free: 3.801 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005866/0.05214, allocations: 3.084 MB / 259 MB, free: 0.707 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-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.AmmoniaTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.AmmoniaTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.AmmoniaTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.AmmoniaTestModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 260.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.079e-05/2.224e-05, allocations: 2.312 kB / 260.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.AmmoniaTestModel): time 0.2027/0.2027, allocations: 62.03 MB / 322.3 MB, free: 5.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03744/0.2402, allocations: 48.77 MB / 371.1 MB, free: 4.254 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004515/0.2406, allocations: 11.88 kB / 371.1 MB, free: 4.242 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001225/0.2419, allocations: 474.6 kB / 371.6 MB, free: 3.777 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001372/0.2432, allocations: 0.6647 MB / 372.2 MB, free: 3.109 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.05492/0.2981, allocations: 23.91 MB / 396.2 MB, free: 11.12 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001586/0.2997, allocations: 1.507 MB / 397.7 MB, free: 9.605 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001925/0.2999, allocations: 89.75 kB / 397.8 MB, free: 9.516 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00502/0.3049, allocations: 4.485 MB / 402.2 MB, free: 5.023 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004111/0.3054, allocations: 339 kB / 402.6 MB, free: 4.691 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.134e-05/0.3054, allocations: 40 kB / 402.6 MB, free: 4.652 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03742/0.3428, allocations: 18.43 MB / 421 MB, free: 2.195 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002666/0.3431, allocations: 111.6 kB / 421.1 MB, free: 2.086 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005041/0.3436, allocations: 187.8 kB / 421.3 MB, free: 1.902 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1987/0.5423, allocations: 7.111 MB / 428.4 MB, free: 48.8 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.386e-05/0.5424, allocations: 0 / 428.4 MB, free: 48.8 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5424, allocations: 0 / 428.4 MB, free: 48.8 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.845e-05/0.5424, allocations: 0 / 428.4 MB, free: 48.8 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.007395/0.5498, allocations: 2.51 MB / 431 MB, free: 47.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.5498, allocations: 10.09 kB / 431 MB, free: 47.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003653/0.5502, allocations: 93.58 kB / 431.1 MB, free: 47.71 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003963/0.5506, allocations: 238.9 kB / 431.3 MB, free: 47.55 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.251e-05/0.5506, allocations: 28.66 kB / 431.3 MB, free: 47.55 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.515e-05/0.5507, allocations: 39.47 kB / 431.4 MB, free: 47.55 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007262/0.5514, allocations: 0.5551 MB / 431.9 MB, free: 47.25 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.5514, allocations: 3.906 kB / 431.9 MB, free: 47.25 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.658e-05/0.5515, allocations: 17.69 kB / 431.9 MB, free: 47.25 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.351e-05/0.5515, allocations: 19.81 kB / 431.9 MB, free: 47.25 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004348/0.5519, allocations: 244.5 kB / 432.2 MB, free: 47.25 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/0.5532, allocations: 1.255 MB / 433.4 MB, free: 46.54 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004428/0.5536, allocations: 299.9 kB / 433.7 MB, free: 46.46 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.5538, allocations: 86.19 kB / 433.8 MB, free: 46.45 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08144/0.6352, allocations: 70.95 MB / 0.4929 GB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/0.6353, allocations: 42.5 kB / 0.493 GB, free: 13.98 MB / 394.7 MB Notification: Performance of pre-optimization done (n=81): time 3.115e-06/0.6353, allocations: 3.469 kB / 0.493 GB, free: 13.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=85): time 0.003039/0.6383, allocations: 1.493 MB / 0.4944 GB, free: 12.57 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.429e-05/0.6383, allocations: 59.73 kB / 0.4945 GB, free: 12.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.6385, allocations: 223.1 kB / 0.4947 GB, free: 12.31 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.6385, allocations: 33.39 kB / 0.4947 GB, free: 12.28 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.41e-05/0.6385, allocations: 181.2 kB / 0.4949 GB, free: 12.11 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.6386, allocations: 289.8 kB / 0.4952 GB, free: 11.86 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.786e-05/0.6387, allocations: 111.2 kB / 0.4953 GB, free: 11.79 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.324e-05/0.6388, allocations: 350.4 kB / 0.4956 GB, free: 11.46 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.46e-05/0.6389, allocations: 92.11 kB / 0.4957 GB, free: 11.38 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.639, allocations: 206 kB / 0.4959 GB, free: 11.16 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002373/0.6392, allocations: 365 kB / 0.4963 GB, free: 10.8 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.6392, allocations: 0 / 0.4963 GB, free: 10.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0003868/0.6396, allocations: 435.9 kB / 0.4967 GB, free: 10.41 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.318e-06/0.6396, allocations: 4 kB / 0.4967 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.6396, allocations: 4 kB / 0.4967 GB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001798/0.6398, allocations: 90.52 kB / 0.4968 GB, free: 10.33 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007961/0.6406, allocations: 260.8 kB / 0.497 GB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002434/0.643, allocations: 5.556 MB / 0.5024 GB, free: 4.547 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.6432, allocations: 8.625 kB / 0.5025 GB, free: 4.543 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.694e-05/0.6432, allocations: 23.8 kB / 0.5025 GB, free: 4.527 MB / 394.7 MB 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 (51): * Single equations (assignments): 44 * 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.0001176/0.6434, allocations: 146.9 kB / 0.5026 GB, free: 4.391 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.72e-05/0.6434, allocations: 35.84 kB / 0.5027 GB, free: 4.359 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00166/0.6451, allocations: 3.202 MB / 0.5058 GB, free: 1.688 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007238/0.6458, allocations: 1.388 MB / 0.5071 GB, free: 312 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.6458, allocations: 0 / 0.5071 GB, free: 312 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001044/0.6468, allocations: 1.678 MB / 0.5088 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00188/0.6487, allocations: 1.951 MB / 0.5107 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.6487, allocations: 5.25 kB / 0.5107 GB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005401/0.6493, allocations: 185.8 kB / 0.5109 GB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.808e-05/0.6493, allocations: 75.31 kB / 0.5109 GB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000118/0.6495, allocations: 37.02 kB / 0.511 GB, free: 12.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.021e-05/0.6495, allocations: 15.98 kB / 0.511 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007481/0.6502, allocations: 1.763 MB / 0.5127 GB, free: 10.76 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.6502, allocations: 0 / 0.5127 GB, free: 10.76 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.6514, allocations: 1.472 MB / 0.5141 GB, free: 9.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.587e-05/0.6514, allocations: 7.5 kB / 0.5142 GB, free: 9.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.6516, allocations: 11.31 kB / 0.5142 GB, free: 9.336 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.789e-05/0.6516, allocations: 39.98 kB / 0.5142 GB, free: 9.301 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.478e-05/0.6516, allocations: 13.36 kB / 0.5142 GB, free: 9.293 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.415e-05/0.6517, allocations: 92.81 kB / 0.5143 GB, free: 9.215 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.6517, allocations: 0 / 0.5143 GB, free: 9.215 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00412/0.6558, allocations: 1.247 MB / 0.5155 GB, free: 8.012 MB / 410.7 MB 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: 12 (volume.medium.sat.liq.phase,volume.medium.sat.vap.phase,$cse5.phase,$cse6.phase,$cse7.phase,$cse9.sat.vap.phase,$cse9.sat.liq.phase,volume.medium.state.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 (59): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007815/0.6637, allocations: 2.24 MB / 0.5177 GB, free: 6.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001225/0.6649, allocations: 0.9681 MB / 0.5187 GB, free: 5.094 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.052e-05/0.6649, allocations: 4 kB / 0.5187 GB, free: 5.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005525/0.6655, allocations: 0.5953 MB / 0.5192 GB, free: 4.523 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001379/0.6668, allocations: 1.502 MB / 0.5207 GB, free: 2.879 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006974/0.6738, allocations: 1.565 MB / 0.5222 GB, free: 1.441 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001715/0.674, allocations: 202.7 kB / 0.5224 GB, free: 1.223 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004404/0.6744, allocations: 181 kB / 0.5226 GB, free: 1.051 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000457/0.6749, allocations: 279.4 kB / 0.5229 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of SimCode: time 9.22e-07/0.6749, allocations: 0 / 0.5229 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of Templates: time 0.05284/0.7277, allocations: 44.77 MB / 0.5666 GB, free: 5.23 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.AmmoniaTestModel.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.AmmoniaTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.AmmoniaTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.AmmoniaTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.AmmoniaTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.AmmoniaTestModel -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.AmmoniaTestModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.335885521955788]