Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropyleneTestModel.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.000872/0.000872, allocations: 79.75 kB / 20.11 MB, free: 4.148 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.0009912/0.0009912, allocations: 156.5 kB / 23.55 MB, free: 0.7148 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 0.9351/0.9351, allocations: 177.1 MB / 204 MB, free: 5.367 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.04601/0.04601, allocations: 11.7 MB / 272.2 MB, free: 1.789 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.PropyleneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropyleneTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.PropyleneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropyleneTestModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 1.25 kB / 291.6 MB, free: 17.42 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.221e-05/1.441e-05, allocations: 4.922 kB / 291.6 MB, free: 17.42 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PropyleneTestModel): time 0.04318/0.04319, allocations: 62.18 MB / 353.7 MB, free: 9.926 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03341/0.0766, allocations: 47.42 MB / 401.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003057/0.07691, allocations: 11.94 kB / 401.2 MB, free: 10.37 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.07791, allocations: 486.2 kB / 401.7 MB, free: 9.895 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008694/0.07878, allocations: 0.6647 MB / 402.3 MB, free: 9.227 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.04696/0.1257, allocations: 23.53 MB / 425.8 MB, free: 1.59 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001683/0.1274, allocations: 1.507 MB / 427.4 MB, free: 84 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002013/0.1276, allocations: 94.5 kB / 427.4 MB, free: 15.98 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005974/0.1336, allocations: 6.036 MB / 433.5 MB, free: 9.938 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004085/0.134, allocations: 331 kB / 433.8 MB, free: 9.613 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.759e-05/0.1341, allocations: 44 kB / 433.8 MB, free: 9.57 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.164/0.2981, allocations: 17.57 MB / 451.4 MB, free: 47.6 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000162/0.2982, allocations: 141.1 kB / 451.6 MB, free: 47.6 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004445/0.2987, allocations: 223.6 kB / 451.8 MB, free: 47.6 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01418/0.3128, allocations: 8.126 MB / 459.9 MB, free: 47.49 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3128, allocations: 0 / 459.9 MB, free: 47.49 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.3128, allocations: 4.484 kB / 459.9 MB, free: 47.49 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.842e-06/0.3129, allocations: 3.625 kB / 459.9 MB, free: 47.49 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.002086/0.3149, allocations: 1.679 MB / 461.6 MB, free: 46.54 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.651e-05/0.315, allocations: 9.125 kB / 461.6 MB, free: 46.54 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001949/0.3152, allocations: 97.5 kB / 461.7 MB, free: 46.52 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.3154, allocations: 230.3 kB / 461.9 MB, free: 46.36 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/0.3154, allocations: 29.75 kB / 461.9 MB, free: 46.36 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.499e-05/0.3155, allocations: 32.84 kB / 462 MB, free: 46.36 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004631/0.3159, allocations: 0.5529 MB / 462.5 MB, free: 46.06 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.316, allocations: 5.062 kB / 462.5 MB, free: 46.06 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.11e-05/0.316, allocations: 19.03 kB / 462.6 MB, free: 46.06 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.316, allocations: 15.03 kB / 462.6 MB, free: 46.06 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002589/0.3162, allocations: 213.7 kB / 462.8 MB, free: 46.05 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009289/0.3172, allocations: 1.252 MB / 464 MB, free: 45.34 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003139/0.3175, allocations: 267.2 kB / 464.3 MB, free: 45.27 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.379e-05/0.3176, allocations: 85.81 kB / 464.4 MB, free: 45.26 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05543/0.373, allocations: 51.87 MB / 0.5041 GB, free: 21.3 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.373, allocations: 34.97 kB / 0.5042 GB, free: 21.27 MB / 394.7 MB Notification: Performance of pre-optimization done (n=78): time 2.455e-06/0.373, allocations: 0 / 0.5042 GB, free: 21.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=82): time 0.002691/0.3757, allocations: 1.432 MB / 0.5056 GB, free: 19.92 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.864e-05/0.3757, allocations: 55.41 kB / 0.5056 GB, free: 19.85 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.3759, allocations: 220.4 kB / 0.5058 GB, free: 19.66 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.3759, allocations: 36.64 kB / 0.5059 GB, free: 19.62 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.887e-05/0.3759, allocations: 178.7 kB / 0.506 GB, free: 19.46 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.741e-05/0.376, allocations: 283 kB / 0.5063 GB, free: 19.22 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.861e-05/0.3761, allocations: 101 kB / 0.5064 GB, free: 19.15 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.416e-05/0.3761, allocations: 351 kB / 0.5068 GB, free: 18.82 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.389e-05/0.3762, allocations: 89.25 kB / 0.5068 GB, free: 18.74 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.3763, allocations: 191.5 kB / 0.507 GB, free: 18.54 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002117/0.3765, allocations: 340.3 kB / 0.5073 GB, free: 18.2 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3765, allocations: 0 / 0.5073 GB, free: 18.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0003551/0.3769, allocations: 410.9 kB / 0.5077 GB, free: 17.84 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.3769, allocations: 4 kB / 0.5077 GB, free: 17.83 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.3769, allocations: 4 kB / 0.5077 GB, free: 17.83 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001872/0.3771, allocations: 70.67 kB / 0.5078 GB, free: 17.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007092/0.3778, allocations: 257.6 kB / 0.5081 GB, free: 17.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002345/0.3801, allocations: 5.495 MB / 0.5134 GB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.3803, allocations: 24.86 kB / 0.5134 GB, free: 12.03 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.3803, allocations: 17.5 kB / 0.5135 GB, free: 12.02 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.432e-05/0.3804, allocations: 141.7 kB / 0.5136 GB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.174e-05/0.3804, allocations: 43.66 kB / 0.5136 GB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001452/0.3819, allocations: 3.032 MB / 0.5166 GB, free: 9.328 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006764/0.3826, allocations: 1.367 MB / 0.5179 GB, free: 7.973 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.3826, allocations: 0 / 0.5179 GB, free: 7.973 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006958/0.3833, allocations: 1.657 MB / 0.5196 GB, free: 6.227 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001274/0.3845, allocations: 1.939 MB / 0.5214 GB, free: 4.578 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.3845, allocations: 0 / 0.5214 GB, free: 4.578 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004573/0.385, allocations: 180.4 kB / 0.5216 GB, free: 4.414 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001097/0.3851, allocations: 44.55 kB / 0.5217 GB, free: 4.371 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.3851, allocations: 15.69 kB / 0.5217 GB, free: 4.363 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004058/0.3855, allocations: 1.751 MB / 0.5234 GB, free: 2.547 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.3855, allocations: 0 / 0.5234 GB, free: 2.547 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008672/0.3864, allocations: 1.443 MB / 0.5248 GB, free: 1.141 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.263e-05/0.3864, allocations: 75.28 kB / 0.5249 GB, free: 1.066 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.076e-05/0.3865, allocations: 12.31 kB / 0.5249 GB, free: 1.062 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.3866, allocations: 22.25 kB / 0.5249 GB, free: 1.051 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.753e-05/0.3867, allocations: 60.27 kB / 0.525 GB, free: 1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.3867, allocations: 14.17 kB / 0.525 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.317e-05/0.3867, allocations: 90.33 kB / 0.5251 GB, free: 0.918 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3867, allocations: 0 / 0.5251 GB, free: 0.918 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001625/0.3884, allocations: 1.164 MB / 0.5262 GB, free: 15.8 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 (56): * Single equations (assignments): 49 * 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.002598/0.391, allocations: 1.925 MB / 0.5281 GB, free: 14.13 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008317/0.3918, allocations: 0.9396 MB / 0.529 GB, free: 13.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.024e-06/0.3918, allocations: 6.328 kB / 0.529 GB, free: 13.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004111/0.3922, allocations: 0.5533 MB / 0.5295 GB, free: 12.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008009/0.393, allocations: 379 kB / 0.5299 GB, free: 12.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.3946, allocations: 1.537 MB / 0.5314 GB, free: 10.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.3948, allocations: 202 kB / 0.5316 GB, free: 10.75 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000262/0.395, allocations: 127.9 kB / 0.5317 GB, free: 10.63 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003984/0.3954, allocations: 264.7 kB / 0.532 GB, free: 10.39 MB / 410.7 MB Notification: Performance of SimCode: time 7.01e-07/0.3954, allocations: 0 / 0.532 GB, free: 10.39 MB / 410.7 MB Notification: Performance of Templates: time 0.04098/0.4364, allocations: 43.01 MB / 0.574 GB, free: 0.5117 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropyleneTestModel.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropyleneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropyleneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropyleneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropyleneTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropyleneTestModel -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropyleneTestModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.220913211815059]