Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.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.ButaneTestModel_dT_component_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph") translateModel(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, 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.001246/0.001246, allocations: 177.3 kB / 15.95 MB, free: 216 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.692/1.692, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04854/0.04854, allocations: 9.066 MB / 279.4 MB, free: 12.26 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.0004973/0.0004973, allocations: 12.22 kB / 339.1 MB, free: 26.02 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1055, allocations: 49.19 MB / 388.3 MB, free: 8.789 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph): time 0.35/0.4556, allocations: 117.8 MB / 0.4942 GB, free: 1.441 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.07959/0.5353, allocations: 77.42 MB / 0.5698 GB, free: 3.863 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007803/0.5361, allocations: 7.938 kB / 0.5698 GB, free: 3.855 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003423/0.5396, allocations: 1.129 MB / 0.5709 GB, free: 2.723 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004172/0.5437, allocations: 1.289 MB / 0.5722 GB, free: 1.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3749/0.9186, allocations: 22.63 MB / 0.5943 GB, free: 16.8 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001845/0.9205, allocations: 0.786 MB / 0.595 GB, free: 16.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002507/0.9208, allocations: 90.72 kB / 0.5951 GB, free: 16.78 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02078/0.9416, allocations: 9.803 MB / 0.6047 GB, free: 16.62 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004296/0.942, allocations: 261.8 kB / 0.6049 GB, free: 16.61 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.627e-05/0.9421, allocations: 18.97 kB / 0.605 GB, free: 16.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05126/0.9934, allocations: 23.54 MB / 0.628 GB, free: 16.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002911/0.9937, allocations: 96.2 kB / 0.628 GB, free: 16.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005029/0.9942, allocations: 140.8 kB / 0.6282 GB, free: 16.54 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01592/1.01, allocations: 5.828 MB / 0.6339 GB, free: 15.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/1.01, allocations: 0 / 0.6339 GB, free: 15.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.372e-06/1.01, allocations: 0 / 0.6339 GB, free: 15.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.352e-05/1.01, allocations: 0 / 0.6339 GB, free: 15.09 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.006236/1.016, allocations: 1.818 MB / 0.6356 GB, free: 13.88 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/1.016, allocations: 8.688 kB / 0.6357 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006137/1.017, allocations: 83.08 kB / 0.6357 GB, free: 13.85 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004303/1.018, allocations: 329 kB / 0.636 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.376e-05/1.018, allocations: 30.11 kB / 0.6361 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.663e-05/1.018, allocations: 32.75 kB / 0.6361 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/1.019, allocations: 0.598 MB / 0.6367 GB, free: 13.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/1.019, allocations: 3.906 kB / 0.6367 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.328e-05/1.019, allocations: 18.39 kB / 0.6367 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.118e-05/1.019, allocations: 13.61 kB / 0.6367 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00118/1.02, allocations: 0.5493 MB / 0.6373 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002096/1.022, allocations: 2.493 MB / 0.6397 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009894/1.023, allocations: 0.5178 MB / 0.6402 GB, free: 11.19 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.194/1.217, allocations: 119.6 MB / 0.757 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.138e-05/1.217, allocations: 37.91 kB / 0.7571 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=78): time 3.236e-06/1.217, allocations: 0 / 0.7571 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.006765/1.224, allocations: 2.775 MB / 0.7598 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/1.224, allocations: 59.41 kB / 0.7598 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002925/1.224, allocations: 249.4 kB / 0.7601 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.127e-05/1.225, allocations: 36.2 kB / 0.7601 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/1.225, allocations: 189.5 kB / 0.7603 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001994/1.225, allocations: 261.9 kB / 0.7605 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.427e-05/1.225, allocations: 10.88 kB / 0.7605 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001385/1.225, allocations: 357.8 kB / 0.7609 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005258/1.226, allocations: 283.2 kB / 0.7612 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005701/1.226, allocations: 411 kB / 0.7616 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005528/1.227, allocations: 333.8 kB / 0.7619 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/1.227, allocations: 0 / 0.7619 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001506/1.228, allocations: 0.8235 MB / 0.7627 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/1.228, allocations: 8.031 kB / 0.7627 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/1.228, allocations: 4 kB / 0.7627 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005856/1.229, allocations: 111.4 kB / 0.7628 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005777/1.229, allocations: 117 kB / 0.7629 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1001/1.33, allocations: 24.6 MB / 0.7869 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006122/1.33, allocations: 58.38 kB / 0.787 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.528e-05/1.33, allocations: 18.25 kB / 0.787 GB, free: 4.871 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 (ambient.medium.state.phase,ambient.medium.sat.liq.phase,ambient.medium.sat.vap.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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * 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): 2 * 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: 2 {1,2} * 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.0003667/1.331, allocations: 187.3 kB / 0.7872 GB, free: 4.723 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/1.331, allocations: 47.39 kB / 0.7872 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002378/1.333, allocations: 1.721 MB / 0.7889 GB, free: 3.465 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-05/1.333, allocations: 19.14 kB / 0.7889 GB, free: 3.453 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/1.333, allocations: 1.75 kB / 0.7889 GB, free: 3.453 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001672/1.335, allocations: 1.288 MB / 0.7902 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002587/1.338, allocations: 1.777 MB / 0.7919 GB, free: 1.109 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/1.338, allocations: 4.062 kB / 0.7919 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003416/1.338, allocations: 82.03 kB / 0.792 GB, free: 1.031 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004481/1.338, allocations: 213.5 kB / 0.7922 GB, free: 0.8672 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.19e-05/1.338, allocations: 10.62 kB / 0.7922 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2288/1.567, allocations: 2.482 MB / 0.7946 GB, free: 313.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/1.567, allocations: 0 / 0.7946 GB, free: 313.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002525/1.57, allocations: 1.492 MB / 0.7961 GB, free: 313.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002065/1.57, allocations: 134.4 kB / 0.7962 GB, free: 313.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.005e-05/1.57, allocations: 13.94 kB / 0.7962 GB, free: 313.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003782/1.57, allocations: 48.75 kB / 0.7963 GB, free: 313.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/1.571, allocations: 45.69 kB / 0.7963 GB, free: 313.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.36e-05/1.571, allocations: 13.95 kB / 0.7963 GB, free: 313.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003049/1.571, allocations: 223.9 kB / 0.7966 GB, free: 313.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/1.571, allocations: 1.781 kB / 0.7966 GB, free: 313.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01081/1.582, allocations: 2.895 MB / 0.7994 GB, free: 313.2 MB / 0.5919 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: 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,2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.02045/1.602, allocations: 3.732 MB / 0.803 GB, free: 312.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002486/1.605, allocations: 1.009 MB / 0.804 GB, free: 312.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/1.605, allocations: 0 / 0.804 GB, free: 312.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001088/1.606, allocations: 0.5294 MB / 0.8045 GB, free: 312.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002195/1.608, allocations: 337.7 kB / 0.8048 GB, free: 312.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002607/1.611, allocations: 1.419 MB / 0.8062 GB, free: 311.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000487/1.611, allocations: 0.8615 MB / 0.8071 GB, free: 311.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005647/1.612, allocations: 107.5 kB / 0.8072 GB, free: 311 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/1.612, allocations: 37.2 kB / 0.8072 GB, free: 311 MB / 0.5919 GB Notification: Performance of SimCode: time 1.092e-06/1.612, allocations: 0 / 0.8072 GB, free: 311 MB / 0.5919 GB Notification: Performance of Templates: time 0.1335/1.745, allocations: 112.9 MB / 0.9175 GB, free: 210.5 MB / 0.5919 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.makefile Environment - environmentSimulation: (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe 2>&1) Environment - environmentSimulation: