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.0008696/0.0008696, allocations: 77.33 kB / 20.86 MB, free: 3.602 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.001432/0.001432, allocations: 172.5 kB / 24.3 MB, free: 168 kB / 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.9137/0.9137, allocations: 177.1 MB / 204.7 MB, free: 5.434 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.0471/0.0471, allocations: 11.7 MB / 272.9 MB, free: 1.863 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 3.0.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.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.714e-06/1.714e-06, allocations: 0 / 292.2 MB, free: 17.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.144e-05/1.316e-05, allocations: 3.297 kB / 292.3 MB, free: 17.49 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.AmmoniaTestModel): time 0.04217/0.04218, allocations: 62.19 MB / 354.4 MB, free: 10.05 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03139/0.07357, allocations: 47.41 MB / 401.9 MB, free: 10.51 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002342/0.07381, allocations: 7.938 kB / 401.9 MB, free: 10.5 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009308/0.07474, allocations: 482.3 kB / 402.3 MB, free: 10.03 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007967/0.07553, allocations: 0.6724 MB / 403 MB, free: 9.352 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.04034/0.1159, allocations: 23.54 MB / 426.6 MB, free: 1.715 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001548/0.1174, allocations: 1.511 MB / 428.1 MB, free: 204 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001782/0.1176, allocations: 90.5 kB / 428.1 MB, free: 108 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005636/0.1232, allocations: 6.04 MB / 434.2 MB, free: 10.05 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005618/0.1238, allocations: 327 kB / 434.5 MB, free: 9.734 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.632e-05/0.1238, allocations: 44 kB / 434.6 MB, free: 9.691 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1659/0.2898, allocations: 17.59 MB / 452.1 MB, free: 47.79 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001712/0.2899, allocations: 135 kB / 452.3 MB, free: 47.79 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004449/0.2904, allocations: 223.5 kB / 452.5 MB, free: 47.79 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01495/0.3053, allocations: 8.122 MB / 460.6 MB, free: 47.68 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.3053, allocations: 0 / 460.6 MB, free: 47.68 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3053, allocations: 3.438 kB / 460.6 MB, free: 47.68 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.3054, allocations: 0 / 460.6 MB, free: 47.68 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.00186/0.3072, allocations: 1.684 MB / 462.3 MB, free: 46.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.3072, allocations: 9.312 kB / 462.3 MB, free: 46.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001883/0.3074, allocations: 87.73 kB / 462.4 MB, free: 46.71 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.3077, allocations: 241.5 kB / 462.6 MB, free: 46.55 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/0.3077, allocations: 31.44 kB / 462.7 MB, free: 46.55 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.272e-05/0.3077, allocations: 33.09 kB / 462.7 MB, free: 46.55 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004576/0.3082, allocations: 0.5543 MB / 463.3 MB, free: 46.25 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.3082, allocations: 0.625 kB / 463.3 MB, free: 46.25 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.174e-05/0.3082, allocations: 13.53 kB / 463.3 MB, free: 46.25 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.3082, allocations: 18.48 kB / 463.3 MB, free: 46.25 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002534/0.3085, allocations: 213.7 kB / 463.5 MB, free: 46.24 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009213/0.3094, allocations: 1.254 MB / 464.7 MB, free: 45.53 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002989/0.3097, allocations: 273.1 kB / 465 MB, free: 45.46 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.764e-05/0.3098, allocations: 85.36 kB / 465.1 MB, free: 45.45 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07018/0.3799, allocations: 51.88 MB / 0.5049 GB, free: 21.48 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.38, allocations: 36.36 kB / 0.5049 GB, free: 21.44 MB / 394.7 MB Notification: Performance of pre-optimization done (n=78): time 2.454e-06/0.38, allocations: 4 kB / 0.5049 GB, free: 21.44 MB / 394.7 MB Notification: Performance of matching and sorting (n=82): time 0.00263/0.3826, allocations: 1.421 MB / 0.5063 GB, free: 20.09 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.224e-05/0.3826, allocations: 59.22 kB / 0.5063 GB, free: 20.03 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.3827, allocations: 213.6 kB / 0.5065 GB, free: 19.84 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.3827, allocations: 33.45 kB / 0.5066 GB, free: 19.8 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.757e-05/0.3828, allocations: 185.1 kB / 0.5068 GB, free: 19.63 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.978e-05/0.3829, allocations: 281.3 kB / 0.507 GB, free: 19.39 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.539e-05/0.3829, allocations: 96.44 kB / 0.5071 GB, free: 19.33 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.484e-05/0.383, allocations: 359.3 kB / 0.5075 GB, free: 18.99 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.218e-05/0.3831, allocations: 88.11 kB / 0.5075 GB, free: 18.91 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.734e-05/0.3832, allocations: 184.4 kB / 0.5077 GB, free: 18.71 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002094/0.3834, allocations: 344 kB / 0.508 GB, free: 18.38 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3834, allocations: 0 / 0.508 GB, free: 18.38 MB / 394.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0003564/0.3837, allocations: 405.4 kB / 0.5084 GB, free: 18.01 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.3838, allocations: 4 kB / 0.5084 GB, free: 18.01 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.3838, allocations: 11.17 kB / 0.5084 GB, free: 18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001848/0.3839, allocations: 73.69 kB / 0.5085 GB, free: 17.94 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007549/0.3847, allocations: 253.8 kB / 0.5088 GB, free: 17.71 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002402/0.3871, allocations: 5.496 MB / 0.5141 GB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.3872, allocations: 20.98 kB / 0.5141 GB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.3873, allocations: 17.05 kB / 0.5142 GB, free: 12.19 MB / 394.7 MB 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 9.741e-05/0.3873, allocations: 150.1 kB / 0.5143 GB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.27e-05/0.3874, allocations: 43.69 kB / 0.5143 GB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001408/0.3888, allocations: 3.025 MB / 0.5173 GB, free: 9.5 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006848/0.3895, allocations: 1.677 MB / 0.5189 GB, free: 7.742 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3895, allocations: 3.984 kB / 0.5189 GB, free: 7.738 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.89e-05/0.3895, allocations: 71.33 kB / 0.519 GB, free: 7.668 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.094e-05/0.3896, allocations: 11.88 kB / 0.519 GB, free: 7.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.3897, allocations: 19.42 kB / 0.519 GB, free: 7.648 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.79e-05/0.3897, allocations: 43.41 kB / 0.5191 GB, free: 7.613 MB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007151/0.3904, allocations: 1.163 MB / 0.5202 GB, free: 6.492 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00074/0.3912, allocations: 1.454 MB / 0.5216 GB, free: 5.082 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001801/0.3914, allocations: 331.5 kB / 0.522 GB, free: 4.781 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.321e-05/0.3914, allocations: 84.78 kB / 0.522 GB, free: 4.703 MB / 394.7 MB Notification: Performance of Backend: time 3.41e-07/0.3914, allocations: 4 kB / 0.522 GB, free: 4.699 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005491/0.3969, allocations: 4.275 MB / 0.5262 GB, free: 1.086 MB / 394.7 MB Notification: Performance of SimCode: time 0.001607/0.3985, allocations: 1.806 MB / 0.528 GB, free: 15.34 MB / 410.7 MB Notification: Performance of Templates: time 0.1725/0.571, allocations: 71.82 MB / 0.5981 GB, free: 140.6 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: 5.184863459318876]