Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001764/0.001764, allocations: 113.1 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001929/0.001929, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.488/1.488, allocations: 207.6 MB / 231.4 MB, free: 3.406 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.0517/0.0517, allocations: 9.151 MB / 292.6 MB, free: 6.219 MB / 238.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002175/0.002175, allocations: 78.08 kB / 409.2 MB, free: 14.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.2777, allocations: 50.72 MB / 459.9 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel): time 0.156/0.4337, allocations: 129.4 MB / 0.5754 GB, free: 5.453 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3668/0.8005, allocations: 111.5 MB / 0.6843 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006161/0.8011, allocations: 5.906 kB / 0.6843 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003052/0.8041, allocations: 1.6 MB / 0.6859 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003441/0.8076, allocations: 1.862 MB / 0.6877 GB, free: 15.91 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeClassSections: time 0.07572/0.8833, allocations: 31.35 MB / 0.7183 GB, free: 1.906 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002049/0.8853, allocations: 1.424 MB / 0.7197 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002267/0.8856, allocations: 85.73 kB / 0.7198 GB, free: 444 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001082/0.8866, allocations: 0.6152 MB / 0.7204 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005282/0.8872, allocations: 394.9 kB / 0.7207 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.245e-05/0.8872, allocations: 40 kB / 0.7208 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0673/0.9545, allocations: 35.45 MB / 0.7554 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002745/0.9548, allocations: 126.1 kB / 0.7555 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000613/0.9554, allocations: 301.2 kB / 0.7558 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.04655/1.002, allocations: 13.97 MB / 0.7695 GB, free: 15.82 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/1.002, allocations: 0 / 0.7695 GB, free: 15.82 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.483e-06/1.002, allocations: 0 / 0.7695 GB, free: 15.82 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.043e-05/1.002, allocations: 0 / 0.7695 GB, free: 15.82 MB / 0.545 GB 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.007323/1.009, allocations: 2.684 MB / 0.7721 GB, free: 13.1 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/1.009, allocations: 15.41 kB / 0.7721 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006995/1.01, allocations: 87.64 kB / 0.7722 GB, free: 13 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007166/1.011, allocations: 353.5 kB / 0.7725 GB, free: 12.62 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.272e-05/1.011, allocations: 28.66 kB / 0.7725 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.185e-05/1.011, allocations: 36 kB / 0.7726 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/1.012, allocations: 0.5933 MB / 0.7731 GB, free: 11.95 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/1.012, allocations: 7.938 kB / 0.7732 GB, free: 11.94 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.689e-05/1.012, allocations: 16 kB / 0.7732 GB, free: 11.92 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.239e-05/1.012, allocations: 14.03 kB / 0.7732 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001365/1.014, allocations: 0.5493 MB / 0.7737 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003371/1.017, allocations: 2.547 MB / 0.7762 GB, free: 8.59 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/1.018, allocations: 471.9 kB / 0.7767 GB, free: 8.121 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006047/1.019, allocations: 306.3 kB / 0.7769 GB, free: 7.816 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5488/1.568, allocations: 139 MB / 0.9127 GB, free: 57.53 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.759e-05/1.568, allocations: 39.09 kB / 0.9127 GB, free: 57.49 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=79): time 2.765e-06/1.568, allocations: 0 / 0.9127 GB, free: 57.49 MB / 0.6075 GB Notification: Performance of matching and sorting (n=83): time 0.005669/1.574, allocations: 2.341 MB / 0.915 GB, free: 57 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/1.574, allocations: 63.14 kB / 0.915 GB, free: 56.93 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002244/1.574, allocations: 248 kB / 0.9153 GB, free: 56.83 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/1.574, allocations: 38.83 kB / 0.9153 GB, free: 56.8 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.133e-05/1.574, allocations: 181.4 kB / 0.9155 GB, free: 56.68 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001561/1.574, allocations: 281.3 kB / 0.9158 GB, free: 56.53 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/1.574, allocations: 103.7 kB / 0.9159 GB, free: 56.51 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.459e-05/1.574, allocations: 350 kB / 0.9162 GB, free: 56.2 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004269/1.575, allocations: 271.8 kB / 0.9165 GB, free: 56.2 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005166/1.575, allocations: 401 kB / 0.9168 GB, free: 56.06 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009848/1.576, allocations: 0.7009 MB / 0.9175 GB, free: 55.91 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.576, allocations: 3.609 kB / 0.9175 GB, free: 55.91 MB / 0.6075 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001377/1.578, allocations: 0.7888 MB / 0.9183 GB, free: 55.82 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/1.578, allocations: 7.406 kB / 0.9183 GB, free: 55.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/1.578, allocations: 2.125 kB / 0.9183 GB, free: 55.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002691/1.578, allocations: 64.34 kB / 0.9184 GB, free: 55.8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004038/1.578, allocations: 102 kB / 0.9185 GB, free: 55.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06442/1.643, allocations: 16.62 MB / 0.9347 GB, free: 49.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005232/1.643, allocations: 36.44 kB / 0.9347 GB, free: 49.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.789e-05/1.643, allocations: 16.41 kB / 0.9347 GB, free: 49.59 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 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.0002994/1.644, allocations: 192 kB / 0.9349 GB, free: 49.47 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.984e-05/1.644, allocations: 45.75 kB / 0.935 GB, free: 49.45 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001883/1.646, allocations: 1.542 MB / 0.9365 GB, free: 49.2 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-05/1.646, allocations: 17.23 kB / 0.9365 GB, free: 49.2 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/1.646, allocations: 0 / 0.9365 GB, free: 49.2 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001257/1.647, allocations: 1.139 MB / 0.9376 GB, free: 48.71 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002004/1.649, allocations: 1.593 MB / 0.9392 GB, free: 48.37 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/1.649, allocations: 0 / 0.9392 GB, free: 48.37 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003215/1.649, allocations: 79.47 kB / 0.9392 GB, free: 48.37 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002081/1.649, allocations: 46.78 kB / 0.9393 GB, free: 48.36 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.616e-05/1.649, allocations: 16.48 kB / 0.9393 GB, free: 48.36 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007874/1.65, allocations: 1.424 MB / 0.9407 GB, free: 47 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/1.65, allocations: 0 / 0.9407 GB, free: 47 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001682/1.652, allocations: 1.179 MB / 0.9418 GB, free: 46.79 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.637e-05/1.652, allocations: 116.7 kB / 0.942 GB, free: 46.67 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.673e-05/1.652, allocations: 13.64 kB / 0.942 GB, free: 46.67 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00029/1.652, allocations: 28.75 kB / 0.942 GB, free: 46.66 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/1.652, allocations: 39.64 kB / 0.942 GB, free: 46.66 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.649e-05/1.653, allocations: 17.58 kB / 0.942 GB, free: 46.66 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002181/1.653, allocations: 244 kB / 0.9423 GB, free: 46.58 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/1.653, allocations: 0 / 0.9423 GB, free: 46.58 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01082/1.664, allocations: 3.572 MB / 0.9458 GB, free: 45.1 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 9 ($cse8.phase,$cse9.phase,volume.medium.state.phase,volume.medium.sat.liq.phase,volume.medium.sat.vap.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 (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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.01715/1.681, allocations: 4.504 MB / 0.9502 GB, free: 41.71 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001872/1.683, allocations: 0.899 MB / 0.951 GB, free: 41.11 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.922e-06/1.683, allocations: 0.625 kB / 0.951 GB, free: 41.11 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007388/1.683, allocations: 476.8 kB / 0.9515 GB, free: 40.8 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001861/1.685, allocations: 406.3 kB / 0.9519 GB, free: 40.54 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/1.687, allocations: 1.173 MB / 0.953 GB, free: 39.6 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002269/1.687, allocations: 0.8516 MB / 0.9539 GB, free: 38.78 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003657/1.687, allocations: 153.7 kB / 0.954 GB, free: 38.67 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.602e-05/1.688, allocations: 46.67 kB / 0.9541 GB, free: 38.64 MB / 0.6075 GB Notification: Performance of SimCode: time 6.71e-07/1.688, allocations: 0 / 0.9541 GB, free: 38.64 MB / 0.6075 GB Notification: Performance of Templates: time 0.3747/2.062, allocations: 126.2 MB / 1.077 GB, free: 350.2 MB / 0.6856 GB " [Timeout remaining time 658] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.726759475655854]