Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.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.IsobutaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009926/0.0009926, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001079/0.001079, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 205.4 MB / 222.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04389/0.04389, allocations: 9.061 MB / 279.4 MB, free: 12.16 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.0005322/0.0005326, allocations: 16.22 kB / 339.1 MB, free: 26.01 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09149/0.09204, allocations: 49.19 MB / 388.3 MB, free: 8.773 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel): time 0.3028/0.3948, allocations: 106.7 MB / 495 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.08661/0.4815, allocations: 88.48 MB / 0.5698 GB, free: 3.816 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007009/0.4823, allocations: 7.938 kB / 0.5698 GB, free: 3.809 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003129/0.4854, allocations: 1.129 MB / 0.5709 GB, free: 2.676 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003268/0.4887, allocations: 1.297 MB / 0.5721 GB, free: 1.375 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3034/0.7921, allocations: 22.62 MB / 0.5942 GB, free: 16.62 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001759/0.7939, allocations: 0.778 MB / 0.595 GB, free: 16.62 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002892/0.7942, allocations: 86.02 kB / 0.5951 GB, free: 16.61 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01956/0.8138, allocations: 9.808 MB / 0.6047 GB, free: 16.44 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004316/0.8143, allocations: 264.3 kB / 0.6049 GB, free: 16.44 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.623e-05/0.8143, allocations: 19.25 kB / 0.6049 GB, free: 16.44 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04802/0.8623, allocations: 25.61 MB / 0.6299 GB, free: 16.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002941/0.8627, allocations: 90.78 kB / 0.63 GB, free: 16.39 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000402/0.8631, allocations: 141.9 kB / 0.6302 GB, free: 16.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01558/0.8787, allocations: 6.498 MB / 0.6365 GB, free: 14.47 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.8787, allocations: 0 / 0.6365 GB, free: 14.47 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.8788, allocations: 6.953 kB / 0.6365 GB, free: 14.47 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.818e-06/0.8788, allocations: 0 / 0.6365 GB, free: 14.47 MB / 446.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.005487/0.8843, allocations: 1.995 MB / 0.6385 GB, free: 12.85 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.8843, allocations: 16.03 kB / 0.6385 GB, free: 12.83 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000632/0.885, allocations: 94.66 kB / 0.6386 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003693/0.8853, allocations: 324.5 kB / 0.6389 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.677e-05/0.8854, allocations: 29.16 kB / 0.6389 GB, free: 12.44 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.482e-05/0.8854, allocations: 32.06 kB / 0.6389 GB, free: 12.42 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001129/0.8866, allocations: 0.6051 MB / 0.6395 GB, free: 11.99 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.8866, allocations: 10.44 kB / 0.6395 GB, free: 11.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.004e-05/0.8866, allocations: 18.62 kB / 0.6395 GB, free: 11.97 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.662e-05/0.8867, allocations: 12.41 kB / 0.6396 GB, free: 11.96 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.8878, allocations: 0.5697 MB / 0.6401 GB, free: 11.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002038/0.8899, allocations: 2.478 MB / 0.6425 GB, free: 9.316 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009294/0.8908, allocations: 0.4993 MB / 0.643 GB, free: 9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2408/1.132, allocations: 136.2 MB / 0.776 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.488e-05/1.132, allocations: 40.92 kB / 0.7761 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=77): time 2.695e-06/1.132, allocations: 0 / 0.7761 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=81): time 0.006306/1.138, allocations: 2.706 MB / 0.7787 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/1.138, allocations: 57.84 kB / 0.7788 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002652/1.138, allocations: 254.5 kB / 0.779 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.85e-05/1.138, allocations: 35.08 kB / 0.779 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/1.138, allocations: 196.3 kB / 0.7792 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000168/1.139, allocations: 256.4 kB / 0.7795 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.269e-05/1.139, allocations: 10.44 kB / 0.7795 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001337/1.139, allocations: 354.3 kB / 0.7798 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005289/1.139, allocations: 287.7 kB / 0.7801 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005518/1.14, allocations: 399.7 kB / 0.7805 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005607/1.141, allocations: 345 kB / 0.7808 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/1.141, allocations: 1.531 kB / 0.7808 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001445/1.142, allocations: 0.8136 MB / 0.7816 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/1.142, allocations: 7.953 kB / 0.7816 GB, free: 7.918 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/1.142, allocations: 4 kB / 0.7816 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002521/1.142, allocations: 67.17 kB / 0.7817 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007229/1.143, allocations: 147.8 kB / 0.7818 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3647/1.508, allocations: 25.04 MB / 0.8063 GB, free: 183.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005771/1.508, allocations: 57.66 kB / 0.8063 GB, free: 183.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.508e-05/1.508, allocations: 18.45 kB / 0.8063 GB, free: 183.5 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 9 (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,ambient.medium.sat.liq.phase,ambient.medium.sat.vap.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): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002872/1.509, allocations: 194.9 kB / 0.8065 GB, free: 183.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.097e-05/1.509, allocations: 47.09 kB / 0.8066 GB, free: 183.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002038/1.511, allocations: 1.746 MB / 0.8083 GB, free: 183.2 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/1.511, allocations: 14.36 kB / 0.8083 GB, free: 183.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/1.511, allocations: 0 / 0.8083 GB, free: 183.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00138/1.512, allocations: 1.319 MB / 0.8096 GB, free: 182.7 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002135/1.514, allocations: 1.781 MB / 0.8113 GB, free: 182.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/1.514, allocations: 0 / 0.8113 GB, free: 182.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003234/1.515, allocations: 84.02 kB / 0.8114 GB, free: 182.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003781/1.515, allocations: 176.4 kB / 0.8116 GB, free: 182.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.347e-05/1.515, allocations: 10.31 kB / 0.8116 GB, free: 182.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001199/1.516, allocations: 2.478 MB / 0.814 GB, free: 180 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/1.516, allocations: 0 / 0.814 GB, free: 180 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002016/1.518, allocations: 1.417 MB / 0.8154 GB, free: 179.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001697/1.519, allocations: 138.7 kB / 0.8155 GB, free: 179.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.352e-05/1.519, allocations: 10.72 kB / 0.8155 GB, free: 179.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003456/1.519, allocations: 40.33 kB / 0.8156 GB, free: 179.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/1.519, allocations: 44.64 kB / 0.8156 GB, free: 179.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.543e-05/1.519, allocations: 16.47 kB / 0.8156 GB, free: 179.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002245/1.519, allocations: 221.6 kB / 0.8158 GB, free: 179.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.11e-07/1.519, allocations: 0 / 0.8158 GB, free: 179.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00949/1.529, allocations: 3.184 MB / 0.8189 GB, free: 179.3 MB / 0.5919 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 (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01829/1.547, allocations: 4.143 MB / 0.823 GB, free: 178.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00226/1.55, allocations: 1.033 MB / 0.824 GB, free: 178.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/1.55, allocations: 3 kB / 0.824 GB, free: 178.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000791/1.55, allocations: 0.5086 MB / 0.8245 GB, free: 178.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001763/1.552, allocations: 340.3 kB / 0.8248 GB, free: 178.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001882/1.554, allocations: 1.438 MB / 0.8262 GB, free: 177.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/1.554, allocations: 0.8588 MB / 0.8271 GB, free: 176.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004139/1.555, allocations: 143.2 kB / 0.8272 GB, free: 176.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.142e-05/1.555, allocations: 37.66 kB / 0.8272 GB, free: 176.7 MB / 0.5919 GB Notification: Performance of SimCode: time 8.31e-07/1.555, allocations: 0 / 0.8272 GB, free: 176.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.1292/1.684, allocations: 117.6 MB / 0.9421 GB, free: 68.88 MB / 0.5919 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.makefile Environment - environmentSimulation: (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe 2>&1) Environment - environmentSimulation: