Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT") translateModel(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001254/0.001254, allocations: 172.7 kB / 15.95 MB, free: 208 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.708/1.708, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04311/0.04311, allocations: 9.066 MB / 279.5 MB, free: 12.27 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.0005988/0.0005991, allocations: 16 kB / 339.1 MB, free: 26 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1022, allocations: 49.2 MB / 388.3 MB, free: 8.758 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT): time 0.3625/0.4647, allocations: 132.4 MB / 0.5086 GB, free: 3.785 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.3661/0.8309, allocations: 91.4 MB / 0.5978 GB, free: 10.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008173/0.8318, allocations: 4.281 kB / 0.5978 GB, free: 10.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003419/0.8352, allocations: 1.069 MB / 0.5989 GB, free: 10.59 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004094/0.8393, allocations: 1.322 MB / 0.6002 GB, free: 10.58 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.07803/0.9174, allocations: 22.63 MB / 0.6223 GB, free: 10.22 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002419/0.9198, allocations: 1.584 MB / 0.6238 GB, free: 10.22 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003/0.9201, allocations: 93.88 kB / 0.6239 GB, free: 10.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01749/0.9376, allocations: 9.782 MB / 0.6334 GB, free: 9.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005593/0.9382, allocations: 359.9 kB / 0.6338 GB, free: 8.895 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.471e-05/0.9383, allocations: 23.28 kB / 0.6338 GB, free: 8.891 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05188/0.9902, allocations: 23.76 MB / 0.657 GB, free: 14.5 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004096/0.9906, allocations: 96.36 kB / 0.6571 GB, free: 14.43 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007287/0.9914, allocations: 144.1 kB / 0.6572 GB, free: 14.32 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01922/1.011, allocations: 6.93 MB / 0.664 GB, free: 8.77 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/1.011, allocations: 0 / 0.664 GB, free: 8.77 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.055e-06/1.011, allocations: 0 / 0.664 GB, free: 8.77 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.303e-05/1.011, allocations: 0 / 0.664 GB, free: 8.77 MB / 462.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.006091/1.017, allocations: 2.071 MB / 0.666 GB, free: 6.738 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/1.017, allocations: 8.031 kB / 0.666 GB, free: 6.73 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005115/1.017, allocations: 81.69 kB / 0.6661 GB, free: 6.652 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004659/1.018, allocations: 321.7 kB / 0.6664 GB, free: 6.348 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.294e-05/1.018, allocations: 38.8 kB / 0.6665 GB, free: 6.328 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.495e-05/1.018, allocations: 35.66 kB / 0.6665 GB, free: 6.305 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/1.019, allocations: 0.5904 MB / 0.6671 GB, free: 5.883 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/1.019, allocations: 0 / 0.6671 GB, free: 5.883 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.048e-05/1.019, allocations: 18.44 kB / 0.6671 GB, free: 5.875 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.306e-05/1.019, allocations: 23.73 kB / 0.6671 GB, free: 5.859 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001208/1.02, allocations: 0.5326 MB / 0.6676 GB, free: 5.488 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002635/1.023, allocations: 2.498 MB / 0.6701 GB, free: 3.176 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/1.024, allocations: 0.4995 MB / 0.6706 GB, free: 2.855 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004791/1.025, allocations: 338.9 kB / 0.6709 GB, free: 2.664 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1521/1.177, allocations: 111 MB / 0.7793 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.844e-05/1.177, allocations: 33.09 kB / 0.7793 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=78): time 3.356e-06/1.177, allocations: 0 / 0.7793 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83): time 0.006868/1.184, allocations: 2.702 MB / 0.782 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/1.184, allocations: 59.39 kB / 0.782 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003178/1.184, allocations: 258.7 kB / 0.7823 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.65e-05/1.184, allocations: 32.19 kB / 0.7823 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/1.184, allocations: 186.6 kB / 0.7825 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000196/1.185, allocations: 275.7 kB / 0.7827 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.973e-05/1.185, allocations: 7.25 kB / 0.7828 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001446/1.185, allocations: 351.4 kB / 0.7831 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004889/1.185, allocations: 290.9 kB / 0.7834 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005484/1.186, allocations: 418.2 kB / 0.7838 GB, free: 264 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005624/1.186, allocations: 337.6 kB / 0.7841 GB, free: 64 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/1.186, allocations: 4 kB / 0.7841 GB, free: 60 kB / 0.5762 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.2346/1.421, allocations: 0.8293 MB / 0.7849 GB, free: 304.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/1.421, allocations: 6 kB / 0.7849 GB, free: 304.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/1.421, allocations: 3.156 kB / 0.7849 GB, free: 304.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008718/1.422, allocations: 151.1 kB / 0.7851 GB, free: 304.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006295/1.423, allocations: 125.7 kB / 0.7852 GB, free: 304.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001862/1.424, allocations: 3.642 MB / 0.7887 GB, free: 300.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004777/1.425, allocations: 53.09 kB / 0.7888 GB, free: 300.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.524e-05/1.425, allocations: 19.61 kB / 0.7888 GB, free: 300.9 MB / 0.5762 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): 39 * 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,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002958/1.425, allocations: 184.6 kB / 0.789 GB, free: 300.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.814e-05/1.425, allocations: 41.67 kB / 0.789 GB, free: 300.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00279/1.428, allocations: 1.71 MB / 0.7907 GB, free: 300.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-05/1.428, allocations: 14.11 kB / 0.7907 GB, free: 300.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/1.428, allocations: 1.828 kB / 0.7907 GB, free: 300.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00157/1.43, allocations: 1.269 MB / 0.7919 GB, free: 300.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002537/1.432, allocations: 1.747 MB / 0.7936 GB, free: 299.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/1.432, allocations: 0.6562 kB / 0.7936 GB, free: 299.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003581/1.433, allocations: 84.14 kB / 0.7937 GB, free: 299.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007463/1.434, allocations: 269.9 kB / 0.794 GB, free: 299.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.941e-05/1.434, allocations: 10.98 kB / 0.794 GB, free: 299.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008392/1.434, allocations: 1.775 MB / 0.7957 GB, free: 297.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/1.434, allocations: 2.344 kB / 0.7957 GB, free: 297.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002154/1.437, allocations: 1.5 MB / 0.7972 GB, free: 296.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001517/1.437, allocations: 135.7 kB / 0.7973 GB, free: 296.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.654e-05/1.437, allocations: 8.469 kB / 0.7973 GB, free: 296.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003289/1.437, allocations: 48.72 kB / 0.7974 GB, free: 296.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/1.437, allocations: 45.12 kB / 0.7974 GB, free: 296.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-05/1.437, allocations: 15.22 kB / 0.7974 GB, free: 296.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002501/1.438, allocations: 223.1 kB / 0.7977 GB, free: 296.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/1.438, allocations: 0 / 0.7977 GB, free: 296.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.008221/1.446, allocations: 1.973 MB / 0.7996 GB, free: 296.4 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.d,volume.medium.T) * Number of discrete variables: 10 ($cse1.phase,$cse2.phase,$cse3.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 (35): * Single equations (assignments): 29 * 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: 0 * Non-linear torn systems: 3 {1 2,1 1,2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01348/1.459, allocations: 2.811 MB / 0.8023 GB, free: 296 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002851/1.462, allocations: 0.8884 MB / 0.8032 GB, free: 295.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/1.462, allocations: 2.906 kB / 0.8032 GB, free: 295.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009112/1.463, allocations: 437.2 kB / 0.8036 GB, free: 295.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001774/1.465, allocations: 320.7 kB / 0.8039 GB, free: 295.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/1.467, allocations: 1.435 MB / 0.8053 GB, free: 294.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/1.467, allocations: 0.8475 MB / 0.8061 GB, free: 293.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003469/1.467, allocations: 89.25 kB / 0.8062 GB, free: 293.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.462e-05/1.468, allocations: 35 kB / 0.8063 GB, free: 293.9 MB / 0.5762 GB Notification: Performance of SimCode: time 8.32e-07/1.468, allocations: 0 / 0.8063 GB, free: 293.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.07478/1.542, allocations: 69.36 MB / 0.874 GB, free: 230.4 MB / 0.5762 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.makefile Environment - environmentSimulation: (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.pipe 2>&1) Environment - environmentSimulation: