Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) 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.HeliumTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 99.38 kB / 15.37 MB, free: 0.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001729/0.001729, allocations: 181.8 kB / 16.28 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.432/1.432, allocations: 205.4 MB / 222.5 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04537/0.04537, allocations: 9.075 MB / 279.8 MB, free: 12.14 MB / 238.1 MB 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.0004945/0.0004945, allocations: 15.94 kB / 339.7 MB, free: 25.64 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07817/0.07868, allocations: 49.19 MB / 388.9 MB, free: 8.41 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel): time 0.3288/0.4075, allocations: 128.2 MB / 0.505 GB, free: 7.746 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.3415/0.7491, allocations: 110.5 MB / 0.6129 GB, free: 1.785 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005514/0.7497, allocations: 7.188 kB / 0.6129 GB, free: 1.785 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00305/0.7527, allocations: 1.117 MB / 0.614 GB, free: 1.777 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003452/0.7562, allocations: 1.392 MB / 0.6154 GB, free: 1.766 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.07233/0.8286, allocations: 24.56 MB / 0.6394 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002202/0.8308, allocations: 1.751 MB / 0.6411 GB, free: 376 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003144/0.8311, allocations: 99.11 kB / 0.6412 GB, free: 348 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01565/0.8468, allocations: 8.192 MB / 0.6492 GB, free: 13.47 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007343/0.8475, allocations: 376.9 kB / 0.6495 GB, free: 13.39 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.253e-05/0.8476, allocations: 18.66 kB / 0.6495 GB, free: 13.39 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.06108/0.9087, allocations: 29.98 MB / 0.6788 GB, free: 13.2 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002963/0.9091, allocations: 104.1 kB / 0.6789 GB, free: 13.14 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006422/0.9097, allocations: 303.2 kB / 0.6792 GB, free: 12.97 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04037/0.9501, allocations: 13.65 MB / 0.6925 GB, free: 2.52 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.9502, allocations: 0 / 0.6925 GB, free: 2.52 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.9502, allocations: 0 / 0.6925 GB, free: 2.52 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.618e-05/0.9502, allocations: 0 / 0.6925 GB, free: 2.52 MB / 478.1 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.006456/0.9567, allocations: 2.486 MB / 0.695 GB, free: 80 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.9567, allocations: 12.03 kB / 0.695 GB, free: 68 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006352/0.9574, allocations: 87.34 kB / 0.6951 GB, free: 15.98 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004558/0.9579, allocations: 338.3 kB / 0.6954 GB, free: 15.66 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.285e-05/0.9579, allocations: 32.22 kB / 0.6954 GB, free: 15.65 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.918e-05/0.958, allocations: 27.88 kB / 0.6954 GB, free: 15.63 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/0.9594, allocations: 0.6167 MB / 0.696 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/0.9594, allocations: 3.938 kB / 0.696 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.644e-05/0.9595, allocations: 13 kB / 0.6961 GB, free: 15.17 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.017e-05/0.9595, allocations: 21.33 kB / 0.6961 GB, free: 15.16 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001385/0.9609, allocations: 0.5694 MB / 0.6966 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002608/0.9635, allocations: 2.519 MB / 0.6991 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/0.9647, allocations: 0.5037 MB / 0.6996 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005557/0.9653, allocations: 360.7 kB / 0.6999 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4117/1.377, allocations: 135.8 MB / 0.8325 GB, free: 261.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.899e-05/1.377, allocations: 46.22 kB / 0.8326 GB, free: 261.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=78): time 3.316e-06/1.377, allocations: 0 / 0.8326 GB, free: 261.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.006045/1.383, allocations: 2.411 MB / 0.8349 GB, free: 260.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/1.383, allocations: 59.12 kB / 0.835 GB, free: 260.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/1.384, allocations: 256.6 kB / 0.8352 GB, free: 260 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.967e-05/1.384, allocations: 29.7 kB / 0.8353 GB, free: 260 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.876e-05/1.384, allocations: 189.4 kB / 0.8355 GB, free: 259.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001493/1.384, allocations: 268.8 kB / 0.8357 GB, free: 259.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.408e-05/1.384, allocations: 64.59 kB / 0.8358 GB, free: 259.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.734e-05/1.384, allocations: 354.3 kB / 0.8361 GB, free: 259.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004653/1.384, allocations: 281.6 kB / 0.8364 GB, free: 259.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005136/1.385, allocations: 419.8 kB / 0.8368 GB, free: 258.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/1.386, allocations: 0.738 MB / 0.8375 GB, free: 258.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/1.386, allocations: 0 / 0.8375 GB, free: 258.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001446/1.387, allocations: 0.8235 MB / 0.8383 GB, free: 257.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/1.388, allocations: 7.875 kB / 0.8383 GB, free: 257.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/1.388, allocations: 5.562 kB / 0.8383 GB, free: 257.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002599/1.388, allocations: 63.83 kB / 0.8384 GB, free: 257.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006292/1.388, allocations: 140.3 kB / 0.8385 GB, free: 257.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0936/1.482, allocations: 25.27 MB / 0.8632 GB, free: 237.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005295/1.483, allocations: 59.86 kB / 0.8632 GB, free: 237.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.25e-05/1.483, allocations: 19.7 kB / 0.8633 GB, free: 237.5 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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.0003107/1.483, allocations: 190.3 kB / 0.8634 GB, free: 237.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.811e-05/1.483, allocations: 39.53 kB / 0.8635 GB, free: 237.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001775/1.485, allocations: 1.606 MB / 0.8651 GB, free: 235.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.707e-05/1.485, allocations: 14.42 kB / 0.8651 GB, free: 235.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/1.485, allocations: 7.984 kB / 0.8651 GB, free: 235.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001247/1.486, allocations: 1.203 MB / 0.8663 GB, free: 234.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002006/1.488, allocations: 1.666 MB / 0.8679 GB, free: 232.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/1.488, allocations: 4.031 kB / 0.8679 GB, free: 232.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003197/1.489, allocations: 83.88 kB / 0.868 GB, free: 232.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003863/1.489, allocations: 119 kB / 0.8681 GB, free: 232.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.943e-05/1.489, allocations: 4 kB / 0.8681 GB, free: 232.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001079/1.49, allocations: 1.905 MB / 0.8699 GB, free: 230.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.49, allocations: 0 / 0.8699 GB, free: 230.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001776/1.492, allocations: 1.288 MB / 0.8712 GB, free: 228.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000153/1.492, allocations: 144.5 kB / 0.8713 GB, free: 228.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.71e-05/1.492, allocations: 8 kB / 0.8713 GB, free: 228.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003719/1.492, allocations: 59.52 kB / 0.8714 GB, free: 228.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.232e-05/1.493, allocations: 43.88 kB / 0.8714 GB, free: 228.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.393e-05/1.493, allocations: 12 kB / 0.8715 GB, free: 228.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002228/1.493, allocations: 243 kB / 0.8717 GB, free: 228.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/1.493, allocations: 0 / 0.8717 GB, free: 228.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.008079/1.501, allocations: 3.193 MB / 0.8748 GB, free: 225.7 MB / 0.5762 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 (38): * Single equations (assignments): 33 * 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 Backend phase and start with SimCode phase: time 0.01679/1.518, allocations: 4.162 MB / 0.8789 GB, free: 222 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001959/1.52, allocations: 1.011 MB / 0.8799 GB, free: 220.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/1.52, allocations: 0 / 0.8799 GB, free: 220.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006869/1.52, allocations: 0.4992 MB / 0.8803 GB, free: 220.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002098/1.523, allocations: 385.1 kB / 0.8807 GB, free: 220 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/1.525, allocations: 1.42 MB / 0.8821 GB, free: 218.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/1.525, allocations: 0.8602 MB / 0.8829 GB, free: 217.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004964/1.525, allocations: 149.5 kB / 0.8831 GB, free: 217.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/1.525, allocations: 35.44 kB / 0.8831 GB, free: 217.6 MB / 0.5762 GB Notification: Performance of SimCode: time 1.482e-06/1.525, allocations: 0 / 0.8831 GB, free: 217.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.1352/1.661, allocations: 117.6 MB / 0.9979 GB, free: 99.86 MB / 0.5762 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.makefile Environment - environmentSimulation: (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe 2>&1) Environment - environmentSimulation: