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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001219/0.001219, allocations: 183.5 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04995/0.04995, allocations: 9.099 MB / 25.83 MB, free: 3.414 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.746/1.746, allocations: 205.1 MB / 233.2 MB, free: 14.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009836/0.0009836, allocations: 103.3 kB / 282.1 MB, free: 15.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001068/0.001068, allocations: 47.92 kB / 341.1 MB, free: 4.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2946, allocations: 48.17 MB / 389.2 MB, free: 38.55 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT): time 0.4263/0.721, allocations: 144.1 MB / 0.5209 GB, free: 1.555 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0894/0.8104, allocations: 99.26 MB / 0.6178 GB, free: 15.7 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007217/0.8112, allocations: 7.938 kB / 0.6178 GB, free: 15.7 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003318/0.8146, allocations: 1.175 MB / 0.6189 GB, free: 14.52 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004236/0.8188, allocations: 1.458 MB / 0.6204 GB, free: 13.05 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.09872/0.9176, allocations: 25.11 MB / 0.6449 GB, free: 3.855 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.003164/0.9208, allocations: 1.843 MB / 0.6467 GB, free: 2.008 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003244/0.9211, allocations: 93.7 kB / 0.6468 GB, free: 1.918 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02476/0.9459, allocations: 9.375 MB / 0.6559 GB, free: 8.523 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009095/0.9469, allocations: 394.4 kB / 0.6563 GB, free: 8.137 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 8.143e-05/0.947, allocations: 20 kB / 0.6563 GB, free: 8.117 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3886/1.336, allocations: 26.55 MB / 0.6823 GB, free: 40.66 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002999/1.336, allocations: 100.2 kB / 0.6824 GB, free: 40.66 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006162/1.337, allocations: 285.4 kB / 0.6826 GB, free: 40.66 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03709/1.374, allocations: 11.52 MB / 0.6939 GB, free: 40.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/1.374, allocations: 0 / 0.6939 GB, free: 40.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.453e-06/1.374, allocations: 1.859 kB / 0.6939 GB, free: 40.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.118e-05/1.374, allocations: 2.062 kB / 0.6939 GB, free: 40.6 MB / 490.7 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.01009/1.384, allocations: 2.137 MB / 0.696 GB, free: 39.48 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/1.384, allocations: 9.844 kB / 0.696 GB, free: 39.48 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005252/1.384, allocations: 79.05 kB / 0.6961 GB, free: 39.46 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004113/1.385, allocations: 337.5 kB / 0.6964 GB, free: 39.23 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.952e-05/1.385, allocations: 30.62 kB / 0.6964 GB, free: 39.23 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.016e-05/1.385, allocations: 31.69 kB / 0.6964 GB, free: 39.23 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/1.386, allocations: 0.5836 MB / 0.697 GB, free: 39.14 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/1.386, allocations: 4.562 kB / 0.697 GB, free: 39.13 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.908e-05/1.386, allocations: 15.94 kB / 0.697 GB, free: 39.13 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.24e-05/1.386, allocations: 20.09 kB / 0.697 GB, free: 39.13 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/1.387, allocations: 0.5089 MB / 0.6975 GB, free: 39.13 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002209/1.39, allocations: 2.482 MB / 0.7 GB, free: 37.46 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009689/1.39, allocations: 0.4943 MB / 0.7004 GB, free: 37.44 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004696/1.391, allocations: 330.5 kB / 0.7008 GB, free: 37.42 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1671/1.558, allocations: 113.3 MB / 0.8114 GB, free: 32.2 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.571e-05/1.558, allocations: 35.09 kB / 0.8114 GB, free: 32.16 MB / 0.573 GB Notification: Performance of pre-optimization done (n=78): time 3.477e-06/1.558, allocations: 0 / 0.8114 GB, free: 32.16 MB / 0.573 GB Notification: Performance of matching and sorting (n=83): time 0.005878/1.564, allocations: 2.629 MB / 0.814 GB, free: 31.28 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/1.564, allocations: 58.56 kB / 0.814 GB, free: 31.22 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002449/1.564, allocations: 270 kB / 0.8143 GB, free: 31.07 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/1.564, allocations: 37.23 kB / 0.8143 GB, free: 31.04 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 9.521e-05/1.565, allocations: 188.5 kB / 0.8145 GB, free: 30.9 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/1.565, allocations: 266.2 kB / 0.8148 GB, free: 30.71 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/1.565, allocations: 98.33 kB / 0.8149 GB, free: 30.68 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001184/1.565, allocations: 351.3 kB / 0.8152 GB, free: 30.35 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004615/1.565, allocations: 283.3 kB / 0.8155 GB, free: 30.31 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000506/1.566, allocations: 404.4 kB / 0.8158 GB, free: 30.14 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009732/1.567, allocations: 0.7054 MB / 0.8165 GB, free: 29.74 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/1.567, allocations: 4 kB / 0.8165 GB, free: 29.73 MB / 0.573 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001305/1.568, allocations: 0.8178 MB / 0.8173 GB, free: 29.18 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/1.568, allocations: 8 kB / 0.8173 GB, free: 29.17 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/1.568, allocations: 4 kB / 0.8173 GB, free: 29.16 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000728/1.569, allocations: 140.2 kB / 0.8175 GB, free: 29.04 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005858/1.57, allocations: 126.5 kB / 0.8176 GB, free: 28.93 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0022/1.572, allocations: 3.658 MB / 0.8212 GB, free: 25.18 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004388/1.572, allocations: 39.25 kB / 0.8212 GB, free: 25.14 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.712e-05/1.572, allocations: 22.19 kB / 0.8212 GB, free: 25.13 MB / 0.573 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.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 (47): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002931/1.573, allocations: 188.9 kB / 0.8214 GB, free: 24.98 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.575e-05/1.573, allocations: 43.44 kB / 0.8215 GB, free: 24.94 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00186/1.575, allocations: 1.688 MB / 0.8231 GB, free: 23.77 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.172e-05/1.575, allocations: 18.03 kB / 0.8231 GB, free: 23.76 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/1.575, allocations: 4 kB / 0.8231 GB, free: 23.75 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001604/1.576, allocations: 1.243 MB / 0.8243 GB, free: 22.75 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002583/1.579, allocations: 1.73 MB / 0.826 GB, free: 21.52 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/1.579, allocations: 0 / 0.826 GB, free: 21.52 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003271/1.579, allocations: 70.66 kB / 0.8261 GB, free: 21.46 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006372/1.58, allocations: 266.6 kB / 0.8263 GB, free: 21.25 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.887e-05/1.58, allocations: 12.38 kB / 0.8264 GB, free: 21.25 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001129/1.581, allocations: 1.772 MB / 0.8281 GB, free: 19.5 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/1.581, allocations: 3.984 kB / 0.8281 GB, free: 19.5 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09145/1.672, allocations: 30.04 MB / 0.8574 GB, free: 7.238 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/1.673, allocations: 118.1 kB / 0.8575 GB, free: 7.105 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.471e-05/1.673, allocations: 3.938 kB / 0.8575 GB, free: 7.105 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003612/1.673, allocations: 43.69 kB / 0.8576 GB, free: 7.07 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/1.673, allocations: 39.81 kB / 0.8576 GB, free: 7.035 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.512e-05/1.673, allocations: 23.92 kB / 0.8576 GB, free: 7.016 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002646/1.674, allocations: 219.8 kB / 0.8579 GB, free: 6.844 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.71e-07/1.674, allocations: 0 / 0.8579 GB, free: 6.844 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01187/1.685, allocations: 3.323 MB / 0.8611 GB, free: 3.684 MB / 0.5886 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,1), (2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02212/1.708, allocations: 4.084 MB / 0.8651 GB, free: 176 kB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002445/1.71, allocations: 0.8825 MB / 0.8659 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/1.71, allocations: 0 / 0.8659 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0008265/1.711, allocations: 419.9 kB / 0.8663 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002167/1.713, allocations: 397.8 kB / 0.8667 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002816/1.716, allocations: 2.085 MB / 0.8688 GB, free: 13.19 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003812/1.716, allocations: 0.8798 MB / 0.8696 GB, free: 12.29 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00048/1.717, allocations: 99.28 kB / 0.8697 GB, free: 12.18 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/1.717, allocations: 43.42 kB / 0.8698 GB, free: 12.14 MB / 0.6042 GB Notification: Performance of SimCode: time 1.183e-06/1.717, allocations: 0 / 0.8698 GB, free: 12.14 MB / 0.6042 GB Notification: Performance of Templates: time 0.3747/2.092, allocations: 129.4 MB / 0.9961 GB, free: 225.3 MB / 0.6042 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.makefile (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)