Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.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.0008271/0.0008271, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001243/0.00207, 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.0007517/0.0007517, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001048/0.0018, 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.9975/0.9975, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0875/1.085, 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.04728/0.04728, allocations: 11.73 MB / 255.9 MB, free: 3.797 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005666/0.05295, allocations: 3.08 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.PropaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 260.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.835e-05/1.954e-05, allocations: 2.312 kB / 260.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel): time 0.1754/0.1754, allocations: 62.03 MB / 322.3 MB, free: 5.148 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.04756/0.223, allocations: 48.77 MB / 371.1 MB, free: 4.25 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004069/0.2234, allocations: 11.94 kB / 371.1 MB, free: 4.238 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.2244, allocations: 478.5 kB / 371.6 MB, free: 3.77 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007092/0.2315, allocations: 0.6686 MB / 372.3 MB, free: 3.098 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.07847/0.31, allocations: 23.84 MB / 396.1 MB, free: 11.18 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001568/0.3116, allocations: 1.507 MB / 397.6 MB, free: 9.668 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.3117, allocations: 89.75 kB / 397.7 MB, free: 9.578 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004239/0.316, allocations: 4.278 MB / 402 MB, free: 5.293 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003311/0.3163, allocations: 338.9 kB / 402.3 MB, free: 4.961 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.278e-05/0.3164, allocations: 44 kB / 402.3 MB, free: 4.918 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02952/0.3459, allocations: 18.41 MB / 420.7 MB, free: 2.48 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002115/0.3461, allocations: 103.6 kB / 420.8 MB, free: 2.379 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004205/0.3465, allocations: 191.8 kB / 421 MB, free: 2.191 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1803/0.5268, allocations: 7.114 MB / 428.1 MB, free: 49.72 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.406e-05/0.5269, allocations: 0.7812 kB / 428.1 MB, free: 49.72 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.5269, allocations: 0.6875 kB / 428.1 MB, free: 49.72 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.726e-05/0.5269, allocations: 0 / 428.1 MB, free: 49.72 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.006727/0.5336, allocations: 2.499 MB / 430.6 MB, free: 48.64 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.5337, allocations: 8.625 kB / 430.7 MB, free: 48.64 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003508/0.534, allocations: 94.95 kB / 430.7 MB, free: 48.63 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000404/0.5344, allocations: 249.8 kB / 431 MB, free: 48.46 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.285e-05/0.5344, allocations: 26.78 kB / 431 MB, free: 48.46 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.389e-05/0.5345, allocations: 36.97 kB / 431.1 MB, free: 48.46 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006694/0.5352, allocations: 0.5601 MB / 431.6 MB, free: 48.17 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.5352, allocations: 2.625 kB / 431.6 MB, free: 48.17 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.7e-05/0.5352, allocations: 17.25 kB / 431.6 MB, free: 48.17 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/0.5352, allocations: 18.23 kB / 431.7 MB, free: 48.17 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004212/0.5356, allocations: 245 kB / 431.9 MB, free: 48.16 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001341/0.537, allocations: 1.252 MB / 433.1 MB, free: 47.45 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005054/0.5375, allocations: 299.8 kB / 433.4 MB, free: 47.38 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.5376, allocations: 91.31 kB / 433.5 MB, free: 47.37 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08309/0.6207, allocations: 70.95 MB / 0.4927 GB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.007e-05/0.6207, allocations: 36.25 kB / 0.4927 GB, free: 14.44 MB / 394.7 MB Notification: Performance of pre-optimization done (n=81): time 3.697e-06/0.6207, allocations: 0 / 0.4927 GB, free: 14.44 MB / 394.7 MB Notification: Performance of matching and sorting (n=85): time 0.003116/0.6239, allocations: 1.501 MB / 0.4942 GB, free: 13.04 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.954e-05/0.6239, allocations: 64.62 kB / 0.4942 GB, free: 12.96 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.624, allocations: 215.1 kB / 0.4944 GB, free: 12.77 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.624, allocations: 29.45 kB / 0.4944 GB, free: 12.74 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.093e-05/0.6241, allocations: 180.8 kB / 0.4946 GB, free: 12.57 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.591e-05/0.6242, allocations: 292.1 kB / 0.4949 GB, free: 12.33 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.254e-05/0.6242, allocations: 109.5 kB / 0.495 GB, free: 12.26 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.059e-05/0.6243, allocations: 361.5 kB / 0.4953 GB, free: 11.92 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.561e-05/0.6244, allocations: 88.05 kB / 0.4954 GB, free: 11.84 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.6245, allocations: 202.9 kB / 0.4956 GB, free: 11.63 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002415/0.6247, allocations: 369 kB / 0.496 GB, free: 11.27 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.6247, allocations: 0 / 0.496 GB, free: 11.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0003938/0.6251, allocations: 429.9 kB / 0.4964 GB, free: 10.88 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.6251, allocations: 4.375 kB / 0.4964 GB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.6251, allocations: 11.38 kB / 0.4964 GB, free: 10.87 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002/0.6253, allocations: 90.12 kB / 0.4965 GB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007966/0.6261, allocations: 263.3 kB / 0.4967 GB, free: 10.56 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002469/0.6286, allocations: 5.545 MB / 0.5022 GB, free: 5.016 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002204/0.6288, allocations: 15.56 kB / 0.5022 GB, free: 5.008 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.736e-05/0.6289, allocations: 19.67 kB / 0.5022 GB, free: 4.992 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.0001327/0.629, allocations: 151 kB / 0.5023 GB, free: 4.852 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.052e-05/0.629, allocations: 50.17 kB / 0.5024 GB, free: 4.812 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001584/0.6306, allocations: 3.187 MB / 0.5055 GB, free: 2.148 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006966/0.6313, allocations: 1.391 MB / 0.5068 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.6313, allocations: 0 / 0.5068 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009593/0.6323, allocations: 1.68 MB / 0.5085 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001813/0.6341, allocations: 1.953 MB / 0.5104 GB, free: 13.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.6341, allocations: 0 / 0.5104 GB, free: 13.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005838/0.6347, allocations: 183.6 kB / 0.5106 GB, free: 13.17 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.6348, allocations: 71.33 kB / 0.5106 GB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001286/0.6349, allocations: 42.73 kB / 0.5107 GB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.924e-05/0.635, allocations: 12.62 kB / 0.5107 GB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0011/0.6361, allocations: 1.762 MB / 0.5124 GB, free: 11.22 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.6361, allocations: 0 / 0.5124 GB, free: 11.22 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.6372, allocations: 1.466 MB / 0.5138 GB, free: 9.805 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.885e-05/0.6373, allocations: 15.31 kB / 0.5139 GB, free: 9.801 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.6374, allocations: 20.3 kB / 0.5139 GB, free: 9.793 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.791e-05/0.6375, allocations: 36.05 kB / 0.5139 GB, free: 9.762 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/0.6375, allocations: 15.78 kB / 0.5139 GB, free: 9.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.109e-05/0.6376, allocations: 84.77 kB / 0.514 GB, free: 9.676 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.6376, allocations: 1.531 kB / 0.514 GB, free: 9.676 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004456/0.6421, allocations: 1.252 MB / 0.5152 GB, free: 8.469 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.006041/0.6481, allocations: 2.235 MB / 0.5174 GB, free: 6.484 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001454/0.6495, allocations: 0.9659 MB / 0.5184 GB, free: 5.559 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.202e-05/0.6496, allocations: 8 kB / 0.5184 GB, free: 5.551 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009089/0.6505, allocations: 0.5917 MB / 0.5189 GB, free: 4.988 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001543/0.652, allocations: 1.497 MB / 0.5204 GB, free: 3.344 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00718/0.6592, allocations: 1.573 MB / 0.5219 GB, free: 1.906 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001656/0.6594, allocations: 206.7 kB / 0.5221 GB, free: 1.684 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004397/0.6598, allocations: 180.6 kB / 0.5223 GB, free: 1.512 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005057/0.6603, allocations: 280.7 kB / 0.5226 GB, free: 1.25 MB / 410.7 MB Notification: Performance of SimCode: time 1.834e-06/0.6603, allocations: 0 / 0.5226 GB, free: 1.25 MB / 410.7 MB Notification: Performance of Templates: time 0.05161/0.7119, allocations: 44.75 MB / 0.5663 GB, free: 5.707 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.415315365418792]