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.0006639/0.0006639, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000839/0.001503, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007025/0.0007025, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008663/0.001569, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.8781/0.8781, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08143/0.9595, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.04482/0.04482, allocations: 11.71 MB / 255.7 MB, free: 3.93 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004693/0.04952, allocations: 3.096 MB / 258.8 MB, free: 0.8242 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.663e-06/1.663e-06, allocations: 0 / 260.1 MB, free: 15.51 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.123e-05/1.289e-05, allocations: 2.312 kB / 260.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.AmmoniaTestModel): time 0.1522/0.1522, allocations: 61.99 MB / 322.1 MB, free: 5.449 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03244/0.1847, allocations: 48.77 MB / 370.8 MB, free: 4.543 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003185/0.185, allocations: 11.94 kB / 370.9 MB, free: 4.531 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009899/0.186, allocations: 482.5 kB / 371.3 MB, free: 4.059 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009065/0.1869, allocations: 0.6607 MB / 372 MB, free: 3.395 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.03837/0.2253, allocations: 23.89 MB / 395.9 MB, free: 11.43 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001249/0.2265, allocations: 1.495 MB / 397.4 MB, free: 9.922 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.2267, allocations: 101.7 kB / 397.5 MB, free: 9.82 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00397/0.2307, allocations: 4.258 MB / 401.7 MB, free: 5.555 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003291/0.231, allocations: 341 kB / 402.1 MB, free: 5.223 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.061e-05/0.231, allocations: 40 kB / 402.1 MB, free: 5.184 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02428/0.2553, allocations: 18.36 MB / 420.5 MB, free: 2.801 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001313/0.2554, allocations: 103.6 kB / 420.6 MB, free: 2.699 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003588/0.2558, allocations: 191.7 kB / 420.7 MB, free: 2.512 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1437/0.3995, allocations: 7.113 MB / 427.9 MB, free: 50.63 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.554e-05/0.3995, allocations: 1.125 kB / 427.9 MB, free: 50.63 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3995, allocations: 0 / 427.9 MB, free: 50.63 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.895e-05/0.3995, allocations: 1.156 kB / 427.9 MB, free: 50.63 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.004216/0.4038, allocations: 2.505 MB / 430.4 MB, free: 49.55 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.4038, allocations: 9.625 kB / 430.4 MB, free: 49.55 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002537/0.404, allocations: 87.16 kB / 430.5 MB, free: 49.54 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002892/0.4043, allocations: 242.2 kB / 430.7 MB, free: 49.38 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.946e-05/0.4044, allocations: 31.97 kB / 430.7 MB, free: 49.38 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.376e-05/0.4044, allocations: 37.34 kB / 430.8 MB, free: 49.38 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005675/0.405, allocations: 0.5551 MB / 431.3 MB, free: 49.08 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.405, allocations: 5.312 kB / 431.3 MB, free: 49.08 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.526e-05/0.405, allocations: 17.94 kB / 431.3 MB, free: 49.08 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.787e-05/0.405, allocations: 17.94 kB / 431.4 MB, free: 49.08 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000371/0.4054, allocations: 245.3 kB / 431.6 MB, free: 49.07 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.4065, allocations: 1.254 MB / 432.9 MB, free: 48.36 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003981/0.4069, allocations: 306.3 kB / 433.2 MB, free: 48.29 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.198e-05/0.407, allocations: 91.31 kB / 433.2 MB, free: 48.28 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07903/0.486, allocations: 70.86 MB / 0.4923 GB, free: 15.73 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.486, allocations: 38.38 kB / 0.4923 GB, free: 15.69 MB / 394.7 MB Notification: Performance of pre-optimization done (n=81): time 2.965e-06/0.486, allocations: 0 / 0.4923 GB, free: 15.69 MB / 394.7 MB Notification: Performance of matching and sorting (n=85): time 0.002771/0.4888, allocations: 1.487 MB / 0.4938 GB, free: 14.29 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.799e-05/0.4888, allocations: 57.61 kB / 0.4938 GB, free: 14.23 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.4889, allocations: 219 kB / 0.494 GB, free: 14.03 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.489, allocations: 29.52 kB / 0.4941 GB, free: 14 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.792e-05/0.489, allocations: 180.8 kB / 0.4942 GB, free: 13.83 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.4e-05/0.4891, allocations: 289.9 kB / 0.4945 GB, free: 13.59 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.301e-05/0.4892, allocations: 112.6 kB / 0.4946 GB, free: 13.52 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.622e-05/0.4892, allocations: 356.4 kB / 0.495 GB, free: 13.18 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.969e-05/0.4893, allocations: 88.05 kB / 0.495 GB, free: 13.1 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.4894, allocations: 200.5 kB / 0.4952 GB, free: 12.88 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000219/0.4896, allocations: 364.9 kB / 0.4956 GB, free: 12.53 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4896, allocations: 8 kB / 0.4956 GB, free: 12.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.000376/0.49, allocations: 421.7 kB / 0.496 GB, free: 12.14 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.49, allocations: 12.03 kB / 0.496 GB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.49, allocations: 4.375 kB / 0.496 GB, free: 12.13 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001937/0.4902, allocations: 93.98 kB / 0.4961 GB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007/0.4909, allocations: 254.7 kB / 0.4963 GB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002194/0.4931, allocations: 5.555 MB / 0.5018 GB, free: 6.277 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/0.4933, allocations: 11.06 kB / 0.5018 GB, free: 6.273 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/0.4933, allocations: 23.92 kB / 0.5018 GB, free: 6.254 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.0001037/0.4934, allocations: 139.8 kB / 0.5019 GB, free: 6.125 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.33e-05/0.4934, allocations: 46.7 kB / 0.502 GB, free: 6.086 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001468/0.4949, allocations: 3.189 MB / 0.5051 GB, free: 3.426 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006429/0.4955, allocations: 1.394 MB / 0.5065 GB, free: 2.035 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.4955, allocations: 4 kB / 0.5065 GB, free: 2.031 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006799/0.4962, allocations: 1.682 MB / 0.5081 GB, free: 276 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00148/0.4977, allocations: 1.942 MB / 0.51 GB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.4977, allocations: 0 / 0.51 GB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004875/0.4982, allocations: 190.3 kB / 0.5102 GB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.412e-05/0.4982, allocations: 71.33 kB / 0.5102 GB, free: 14.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001133/0.4984, allocations: 40.81 kB / 0.5103 GB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.4984, allocations: 15.86 kB / 0.5103 GB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006769/0.4991, allocations: 1.761 MB / 0.512 GB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.4991, allocations: 0 / 0.512 GB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.5001, allocations: 1.457 MB / 0.5134 GB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.737e-05/0.5001, allocations: 14.25 kB / 0.5135 GB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.5002, allocations: 15.66 kB / 0.5135 GB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.297e-05/0.5003, allocations: 35.98 kB / 0.5135 GB, free: 11.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.5003, allocations: 18.42 kB / 0.5135 GB, free: 11.03 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.345e-05/0.5004, allocations: 87.27 kB / 0.5136 GB, free: 10.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.5004, allocations: 4 kB / 0.5136 GB, free: 10.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00303/0.5034, allocations: 1.239 MB / 0.5148 GB, free: 9.758 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.003085/0.5065, allocations: 2.237 MB / 0.517 GB, free: 7.781 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008388/0.5073, allocations: 0.9559 MB / 0.5179 GB, free: 6.859 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.374e-05/0.5073, allocations: 7.938 kB / 0.5179 GB, free: 6.852 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004341/0.5078, allocations: 0.566 MB / 0.5185 GB, free: 6.316 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008501/0.5086, allocations: 445 kB / 0.5189 GB, free: 5.953 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006878/0.5155, allocations: 1.573 MB / 0.5205 GB, free: 4.508 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001324/0.5156, allocations: 206.7 kB / 0.5207 GB, free: 4.285 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003104/0.516, allocations: 177.3 kB / 0.5208 GB, free: 4.117 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004158/0.5164, allocations: 278.3 kB / 0.5211 GB, free: 3.855 MB / 410.7 MB Notification: Performance of SimCode: time 1.302e-06/0.5164, allocations: 0 / 0.5211 GB, free: 3.855 MB / 410.7 MB Notification: Performance of Templates: time 0.04946/0.5658, allocations: 44.72 MB / 0.5648 GB, free: 8.328 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.294524020515382]