Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.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.EthanolTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 109.4 kB / 16.41 MB, free: 6.504 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.001803/0.001803, allocations: 189.6 kB / 17.35 MB, free: 5.762 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.33/1.33, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04644/0.04644, allocations: 9.102 MB / 279.7 MB, free: 2.957 MB / 222.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.001422/0.001422, allocations: 67.88 kB / 388.2 MB, free: 47.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07579/0.07722, allocations: 48.17 MB / 436.4 MB, free: 7.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel): time 0.3377/0.4149, allocations: 127.5 MB / 0.5507 GB, free: 2.102 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.09187/0.5069, allocations: 109.6 MB / 0.6577 GB, free: 3.875 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005198/0.5074, allocations: 8 kB / 0.6577 GB, free: 3.867 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002171/0.5097, allocations: 1.015 MB / 0.6587 GB, free: 2.848 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002161/0.5118, allocations: 1.086 MB / 0.6598 GB, free: 1.758 MB / 478.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.07177/0.5836, allocations: 28.64 MB / 0.6878 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002006/0.5856, allocations: 1.378 MB / 0.6891 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003337/0.586, allocations: 116.3 kB / 0.6892 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01995/0.606, allocations: 11.92 MB / 0.7009 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008065/0.6068, allocations: 374.5 kB / 0.7012 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001238/0.6069, allocations: 43.98 kB / 0.7013 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06201/0.669, allocations: 33.12 MB / 0.7336 GB, free: 5.992 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002411/0.6692, allocations: 115.6 kB / 0.7337 GB, free: 5.879 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004713/0.6697, allocations: 310.7 kB / 0.734 GB, free: 5.574 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.2893/0.959, allocations: 14.09 MB / 0.7478 GB, free: 58.43 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.959, allocations: 1.312 kB / 0.7478 GB, free: 58.43 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.404e-06/0.9591, allocations: 1.781 kB / 0.7478 GB, free: 58.43 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.473e-05/0.9591, allocations: 0 / 0.7478 GB, free: 58.43 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.008715/0.9678, allocations: 2.575 MB / 0.7503 GB, free: 57.08 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.9679, allocations: 8.188 kB / 0.7503 GB, free: 57.08 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006168/0.9685, allocations: 84.34 kB / 0.7504 GB, free: 57.06 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004033/0.9689, allocations: 342.2 kB / 0.7507 GB, free: 56.83 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.687e-05/0.9689, allocations: 34.47 kB / 0.7507 GB, free: 56.83 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.538e-05/0.969, allocations: 31.84 kB / 0.7508 GB, free: 56.83 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/0.9702, allocations: 0.5946 MB / 0.7513 GB, free: 56.74 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.9702, allocations: 4.906 kB / 0.7514 GB, free: 56.74 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.113e-05/0.9702, allocations: 17.38 kB / 0.7514 GB, free: 56.74 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/0.9703, allocations: 17.33 kB / 0.7514 GB, free: 56.74 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.9715, allocations: 0.5544 MB / 0.7519 GB, free: 56.74 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001972/0.9735, allocations: 2.547 MB / 0.7544 GB, free: 55 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.9745, allocations: 0.5061 MB / 0.7549 GB, free: 54.98 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004799/0.975, allocations: 330.4 kB / 0.7552 GB, free: 54.97 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2422/1.217, allocations: 139 MB / 0.891 GB, free: 28.25 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.692e-05/1.217, allocations: 36.06 kB / 0.891 GB, free: 28.21 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=79): time 3.307e-06/1.217, allocations: 0 / 0.891 GB, free: 28.21 MB / 0.6387 GB Notification: Performance of matching and sorting (n=83): time 0.006342/1.224, allocations: 2.332 MB / 0.8933 GB, free: 26.4 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/1.224, allocations: 55.41 kB / 0.8933 GB, free: 26.34 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003853/1.224, allocations: 251.1 kB / 0.8936 GB, free: 26.13 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.671e-05/1.224, allocations: 29.58 kB / 0.8936 GB, free: 26.1 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/1.224, allocations: 186.3 kB / 0.8938 GB, free: 25.94 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002482/1.225, allocations: 269.1 kB / 0.894 GB, free: 25.71 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001919/1.225, allocations: 99.17 kB / 0.8941 GB, free: 25.64 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001918/1.225, allocations: 349.1 kB / 0.8944 GB, free: 25.31 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005776/1.226, allocations: 273.4 kB / 0.8947 GB, free: 25.15 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005756/1.226, allocations: 396.5 kB / 0.8951 GB, free: 24.84 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/1.227, allocations: 0.7081 MB / 0.8958 GB, free: 24.35 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/1.227, allocations: 0 / 0.8958 GB, free: 24.35 MB / 0.6387 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001382/1.229, allocations: 0.7848 MB / 0.8965 GB, free: 23.82 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/1.229, allocations: 8 kB / 0.8965 GB, free: 23.81 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/1.229, allocations: 5.906 kB / 0.8966 GB, free: 23.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002676/1.229, allocations: 67.89 kB / 0.8966 GB, free: 23.75 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003964/1.229, allocations: 96.88 kB / 0.8967 GB, free: 23.66 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07103/1.3, allocations: 17.19 MB / 0.9135 GB, free: 6.965 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005558/1.301, allocations: 28.03 kB / 0.9135 GB, free: 6.941 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-05/1.301, allocations: 23.67 kB / 0.9135 GB, free: 6.922 MB / 0.6387 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.0003278/1.301, allocations: 192 kB / 0.9137 GB, free: 6.773 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/1.302, allocations: 43.44 kB / 0.9138 GB, free: 6.73 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001815/1.303, allocations: 1.547 MB / 0.9153 GB, free: 5.641 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0013/1.305, allocations: 1.148 MB / 0.9164 GB, free: 4.676 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/1.305, allocations: 0 / 0.9164 GB, free: 4.676 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001629/1.305, allocations: 108.6 kB / 0.9165 GB, free: 4.551 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.727e-05/1.305, allocations: 11.12 kB / 0.9165 GB, free: 4.547 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003226/1.305, allocations: 26.72 kB / 0.9165 GB, free: 4.527 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/1.305, allocations: 42 kB / 0.9166 GB, free: 4.492 MB / 0.6387 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001432/1.307, allocations: 0.7955 MB / 0.9174 GB, free: 3.906 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001529/1.308, allocations: 1.187 MB / 0.9185 GB, free: 3.059 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004409/1.309, allocations: 332.4 kB / 0.9188 GB, free: 2.871 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002357/1.309, allocations: 237.1 kB / 0.9191 GB, free: 2.688 MB / 0.6387 GB Notification: Performance of Backend: time 3.61e-07/1.309, allocations: 0 / 0.9191 GB, free: 2.688 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0365/1.346, allocations: 8.133 MB / 0.927 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of SimCode: time 0.002489/1.348, allocations: 1.495 MB / 0.9285 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of Templates: time 0.4029/1.751, allocations: 163 MB / 1.088 GB, free: 261.1 MB / 0.6856 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.pipe 2>&1)