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.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.00157/0.00157, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001732/0.001732, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.455/1.455, allocations: 207.6 MB / 231.4 MB, free: 3.16 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.05256/0.05256, allocations: 9.144 MB / 292.6 MB, free: 6.109 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.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: 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.002304/0.002304, allocations: 70.41 kB / 409.2 MB, free: 14.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2733, allocations: 50.71 MB / 459.9 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel): time 0.1573/0.4306, allocations: 129.5 MB / 0.5756 GB, free: 5.324 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3604/0.7909, allocations: 111.4 MB / 0.6843 GB, free: 36 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007048/0.7917, allocations: 9.531 kB / 0.6844 GB, free: 36 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003388/0.795, allocations: 1.553 MB / 0.6859 GB, free: 16 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0043/0.7993, allocations: 1.826 MB / 0.6877 GB, free: 15.97 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.08038/0.8797, allocations: 31.31 MB / 0.7182 GB, free: 2.082 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002016/0.8817, allocations: 1.41 MB / 0.7196 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002524/0.882, allocations: 97.58 kB / 0.7197 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01689/0.8989, allocations: 9.998 MB / 0.7295 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005384/0.8994, allocations: 393.3 kB / 0.7298 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.451e-05/0.8995, allocations: 44 kB / 0.7299 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06629/0.9658, allocations: 35.72 MB / 0.7648 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000262/0.966, allocations: 126.2 kB / 0.7649 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000591/0.9666, allocations: 310 kB / 0.7652 GB, free: 3.57 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.04561/1.012, allocations: 14.12 MB / 0.779 GB, free: 6.523 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.876e-06/1.012, allocations: 3.984 kB / 0.779 GB, free: 6.52 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.984e-06/1.012, allocations: 0 / 0.779 GB, free: 6.52 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.073e-05/1.012, allocations: 4 kB / 0.779 GB, free: 6.516 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.007052/1.019, allocations: 2.677 MB / 0.7816 GB, free: 3.793 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/1.019, allocations: 8.031 kB / 0.7816 GB, free: 3.785 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006545/1.02, allocations: 91.62 kB / 0.7817 GB, free: 3.695 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005323/1.021, allocations: 345.1 kB / 0.782 GB, free: 3.32 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.61e-05/1.021, allocations: 32.66 kB / 0.7821 GB, free: 3.289 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.438e-05/1.021, allocations: 32.88 kB / 0.7821 GB, free: 3.258 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/1.022, allocations: 0.6009 MB / 0.7827 GB, free: 2.645 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/1.022, allocations: 4 kB / 0.7827 GB, free: 2.641 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.355e-05/1.022, allocations: 16 kB / 0.7827 GB, free: 2.625 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.537e-05/1.022, allocations: 15.98 kB / 0.7827 GB, free: 2.609 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/1.024, allocations: 0.5454 MB / 0.7832 GB, free: 2.066 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002971/1.026, allocations: 2.51 MB / 0.7857 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/1.028, allocations: 471.8 kB / 0.7861 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005463/1.028, allocations: 298.3 kB / 0.7864 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.441/1.469, allocations: 139 MB / 0.9222 GB, free: 201.1 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/1.469, allocations: 45.48 kB / 0.9222 GB, free: 201 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=78): time 2.775e-06/1.469, allocations: 0 / 0.9222 GB, free: 201 MB / 0.6075 GB Notification: Performance of matching and sorting (n=82): time 0.005512/1.475, allocations: 2.339 MB / 0.9245 GB, free: 198.7 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/1.475, allocations: 55.41 kB / 0.9245 GB, free: 198.6 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002359/1.475, allocations: 257.4 kB / 0.9248 GB, free: 198.4 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.713e-05/1.475, allocations: 33.7 kB / 0.9248 GB, free: 198.3 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.972e-05/1.475, allocations: 193.7 kB / 0.925 GB, free: 198.2 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/1.475, allocations: 283.7 kB / 0.9253 GB, free: 197.9 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/1.475, allocations: 98.11 kB / 0.9254 GB, free: 197.8 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.068e-05/1.475, allocations: 350.5 kB / 0.9257 GB, free: 197.5 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003998/1.476, allocations: 276.4 kB / 0.926 GB, free: 197.2 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004556/1.476, allocations: 388.2 kB / 0.9263 GB, free: 196.8 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008561/1.477, allocations: 0.6882 MB / 0.927 GB, free: 196.1 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.477, allocations: 0 / 0.927 GB, free: 196.1 MB / 0.6075 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00119/1.478, allocations: 0.7857 MB / 0.9278 GB, free: 195.3 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/1.478, allocations: 7.938 kB / 0.9278 GB, free: 195.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/1.478, allocations: 4 kB / 0.9278 GB, free: 195.3 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002563/1.479, allocations: 69.08 kB / 0.9279 GB, free: 195.2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005772/1.479, allocations: 119.9 kB / 0.928 GB, free: 195.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06543/1.545, allocations: 19.44 MB / 0.9469 GB, free: 175.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004871/1.545, allocations: 28 kB / 0.947 GB, free: 175.1 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.583e-05/1.545, allocations: 16 kB / 0.947 GB, free: 175.1 MB / 0.6075 GB 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 0.0003302/1.545, allocations: 199.3 kB / 0.9472 GB, free: 174.9 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.155e-05/1.546, allocations: 43.72 kB / 0.9472 GB, free: 174.8 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001685/1.547, allocations: 1.668 MB / 0.9488 GB, free: 173.1 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.771e-05/1.547, allocations: 18.48 kB / 0.9489 GB, free: 173.1 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/1.547, allocations: 0 / 0.9489 GB, free: 173.1 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001163/1.548, allocations: 1.248 MB / 0.9501 GB, free: 171.7 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001824/1.55, allocations: 1.693 MB / 0.9517 GB, free: 170 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/1.55, allocations: 0 / 0.9517 GB, free: 170 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003059/1.551, allocations: 75.89 kB / 0.9518 GB, free: 169.9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002418/1.551, allocations: 105.6 kB / 0.9519 GB, free: 169.8 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.454e-05/1.551, allocations: 8 kB / 0.9519 GB, free: 169.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009007/1.552, allocations: 2 MB / 0.9539 GB, free: 167.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.552, allocations: 0 / 0.9539 GB, free: 167.6 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001635/1.553, allocations: 1.295 MB / 0.9551 GB, free: 166.3 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.686e-05/1.553, allocations: 119 kB / 0.9553 GB, free: 166.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.589e-05/1.553, allocations: 15.92 kB / 0.9553 GB, free: 166.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002884/1.554, allocations: 28.05 kB / 0.9553 GB, free: 166.1 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/1.554, allocations: 43.39 kB / 0.9553 GB, free: 166.1 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.58e-05/1.554, allocations: 16 kB / 0.9553 GB, free: 166.1 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001747/1.554, allocations: 219.1 kB / 0.9556 GB, free: 165.9 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/1.554, allocations: 0 / 0.9556 GB, free: 165.9 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.009191/1.563, allocations: 3.571 MB / 0.959 GB, free: 162.7 MB / 0.6075 GB 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: 10 ($cse7.phase,$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 (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 Backend phase and start with SimCode phase: time 0.01644/1.58, allocations: 4.617 MB / 0.9636 GB, free: 158.6 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001982/1.582, allocations: 0.974 MB / 0.9645 GB, free: 157.6 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/1.582, allocations: 3.938 kB / 0.9645 GB, free: 157.6 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006238/1.582, allocations: 483.3 kB / 0.965 GB, free: 157.1 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001722/1.584, allocations: 403.5 kB / 0.9654 GB, free: 156.7 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/1.586, allocations: 1.178 MB / 0.9665 GB, free: 155.5 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002177/1.586, allocations: 0.8565 MB / 0.9673 GB, free: 154.6 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003403/1.586, allocations: 143.2 kB / 0.9675 GB, free: 154.5 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.135e-05/1.586, allocations: 47.36 kB / 0.9675 GB, free: 154.4 MB / 0.6075 GB Notification: Performance of SimCode: time 1.754e-06/1.586, allocations: 0 / 0.9675 GB, free: 154.4 MB / 0.6075 GB Notification: Performance of Templates: time 0.1314/1.718, allocations: 126.7 MB / 1.091 GB, free: 27.58 MB / 0.6075 GB " [Timeout remaining time 658] 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=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 15.799991929903626]