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.001237/0.001237, allocations: 114.2 kB / 16.42 MB, free: 6.508 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.001207/0.001207, allocations: 183.9 kB / 17.35 MB, free: 5.754 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.266/1.266, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04508/0.04508, allocations: 9.094 MB / 279.7 MB, free: 2.965 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.00146/0.00146, allocations: 68.3 kB / 388.2 MB, free: 47.3 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06574/0.06721, allocations: 48.18 MB / 436.4 MB, free: 7.691 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel): time 0.3166/0.3839, allocations: 127.5 MB / 0.5507 GB, free: 2.086 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.08369/0.4676, allocations: 109.6 MB / 0.6577 GB, free: 3.961 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004845/0.4681, allocations: 11.94 kB / 0.6578 GB, free: 3.949 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002137/0.4703, allocations: 1.199 MB / 0.6589 GB, free: 2.746 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002073/0.4724, allocations: 1.266 MB / 0.6602 GB, free: 1.477 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.06283/0.5352, allocations: 30.45 MB / 0.6899 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001604/0.5368, allocations: 1.371 MB / 0.6912 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002195/0.5371, allocations: 112.7 kB / 0.6914 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01849/0.5556, allocations: 12.1 MB / 0.7032 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004649/0.5561, allocations: 382.4 kB / 0.7035 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.648e-05/0.5562, allocations: 40 kB / 0.7036 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.052/0.6082, allocations: 33.12 MB / 0.7359 GB, free: 3.742 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002058/0.6084, allocations: 119.6 kB / 0.736 GB, free: 3.625 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004531/0.6089, allocations: 302.8 kB / 0.7363 GB, free: 3.328 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.2676/0.8765, allocations: 14.13 MB / 0.7501 GB, free: 58.05 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.8766, allocations: 0 / 0.7501 GB, free: 58.05 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.462e-06/0.8766, allocations: 0 / 0.7501 GB, free: 58.05 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.876e-06/0.8766, allocations: 0 / 0.7501 GB, free: 58.05 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.007066/0.8837, allocations: 2.678 MB / 0.7527 GB, free: 56.53 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.8837, allocations: 13.31 kB / 0.7528 GB, free: 56.53 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005829/0.8843, allocations: 93.45 kB / 0.7528 GB, free: 56.5 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004212/0.8847, allocations: 336.4 kB / 0.7532 GB, free: 56.28 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.011e-05/0.8848, allocations: 29.16 kB / 0.7532 GB, free: 56.28 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.001e-05/0.8848, allocations: 33.34 kB / 0.7532 GB, free: 56.28 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.8859, allocations: 0.6022 MB / 0.7538 GB, free: 56.18 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.886, allocations: 0 / 0.7538 GB, free: 56.18 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.478e-05/0.886, allocations: 15.38 kB / 0.7538 GB, free: 56.18 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/0.886, allocations: 22.03 kB / 0.7538 GB, free: 56.18 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/0.8872, allocations: 0.5524 MB / 0.7544 GB, free: 56.18 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001892/0.8891, allocations: 2.54 MB / 0.7569 GB, free: 54.45 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.8901, allocations: 0.5117 MB / 0.7574 GB, free: 54.41 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004528/0.8906, allocations: 337.8 kB / 0.7577 GB, free: 54.4 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.231/1.122, allocations: 139 MB / 0.8934 GB, free: 26.44 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/1.122, allocations: 38.66 kB / 0.8934 GB, free: 26.4 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=79): time 4.409e-06/1.122, allocations: 4 kB / 0.8934 GB, free: 26.39 MB / 0.6387 GB Notification: Performance of matching and sorting (n=83): time 0.005553/1.127, allocations: 2.325 MB / 0.8957 GB, free: 24.59 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/1.127, allocations: 63.34 kB / 0.8958 GB, free: 24.52 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002431/1.128, allocations: 254.7 kB / 0.896 GB, free: 24.31 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.783e-05/1.128, allocations: 37.08 kB / 0.8961 GB, free: 24.27 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 8.829e-05/1.128, allocations: 183.9 kB / 0.8962 GB, free: 24.12 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/1.128, allocations: 284.7 kB / 0.8965 GB, free: 23.88 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/1.128, allocations: 100.8 kB / 0.8966 GB, free: 23.81 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001489/1.128, allocations: 353.6 kB / 0.8969 GB, free: 23.47 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004197/1.129, allocations: 272.1 kB / 0.8972 GB, free: 23.31 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00045/1.129, allocations: 401.7 kB / 0.8976 GB, free: 22.99 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008632/1.13, allocations: 0.696 MB / 0.8983 GB, free: 22.51 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/1.13, allocations: 7 kB / 0.8983 GB, free: 22.51 MB / 0.6387 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001295/1.131, allocations: 0.7797 MB / 0.899 GB, free: 21.98 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/1.131, allocations: 4 kB / 0.899 GB, free: 21.97 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/1.131, allocations: 8.906 kB / 0.899 GB, free: 21.97 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002262/1.131, allocations: 64.95 kB / 0.8991 GB, free: 21.91 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003732/1.132, allocations: 101.1 kB / 0.8992 GB, free: 21.82 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06383/1.196, allocations: 17.2 MB / 0.916 GB, free: 5.117 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004584/1.196, allocations: 31.97 kB / 0.916 GB, free: 5.094 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.136e-05/1.196, allocations: 19.81 kB / 0.916 GB, free: 5.078 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.000275/1.197, allocations: 185 kB / 0.9162 GB, free: 4.938 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/1.197, allocations: 43.72 kB / 0.9163 GB, free: 4.895 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001645/1.198, allocations: 1.552 MB / 0.9178 GB, free: 3.801 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001208/1.2, allocations: 1.14 MB / 0.9189 GB, free: 2.844 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/1.2, allocations: 0 / 0.9189 GB, free: 2.844 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/1.2, allocations: 124.8 kB / 0.919 GB, free: 2.703 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.686e-05/1.2, allocations: 7.562 kB / 0.919 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002872/1.2, allocations: 27.47 kB / 0.919 GB, free: 2.68 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/1.2, allocations: 44.25 kB / 0.9191 GB, free: 2.645 MB / 0.6387 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001329/1.201, allocations: 0.7951 MB / 0.9199 GB, free: 2.062 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001484/1.203, allocations: 1.186 MB / 0.921 GB, free: 1.215 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000423/1.203, allocations: 326.3 kB / 0.9213 GB, free: 1.035 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002332/1.204, allocations: 240.7 kB / 0.9216 GB, free: 0.8438 MB / 0.6387 GB Notification: Performance of Backend: time 2.51e-07/1.204, allocations: 0 / 0.9216 GB, free: 0.8438 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.03363/1.237, allocations: 8.239 MB / 0.9296 GB, free: 9.789 MB / 0.6544 GB Notification: Performance of SimCode: time 0.002267/1.24, allocations: 1.502 MB / 0.9311 GB, free: 8.316 MB / 0.6544 GB Notification: Performance of Templates: time 0.3515/1.591, allocations: 162.8 MB / 1.09 GB, free: 257.4 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)