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.001276/0.001276, allocations: 99.86 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.001212/0.001212, 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.676/1.676, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04955/0.04955, allocations: 9.054 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.0005266/0.0005266, allocations: 16.22 kB / 339.1 MB, free: 26.03 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1018, allocations: 49.2 MB / 388.3 MB, free: 8.789 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT): time 0.3588/0.4606, allocations: 117.8 MB / 0.4942 GB, free: 1.441 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.08398/0.5446, allocations: 77.42 MB / 0.5698 GB, free: 3.867 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00071/0.5454, allocations: 11.94 kB / 0.5698 GB, free: 3.855 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003664/0.549, allocations: 1.129 MB / 0.5709 GB, free: 2.723 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003867/0.5529, allocations: 1.293 MB / 0.5722 GB, free: 1.426 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3799/0.9329, allocations: 22.63 MB / 0.5943 GB, free: 16.7 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001834/0.9347, allocations: 0.7945 MB / 0.595 GB, free: 16.7 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002583/0.935, allocations: 90.48 kB / 0.5951 GB, free: 16.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02205/0.957, allocations: 9.813 MB / 0.6047 GB, free: 16.52 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005205/0.9576, allocations: 262.1 kB / 0.6049 GB, free: 16.52 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.858e-05/0.9577, allocations: 19.59 kB / 0.605 GB, free: 16.52 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04743/1.005, allocations: 22.49 MB / 0.6269 GB, free: 16.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003326/1.005, allocations: 91.14 kB / 0.627 GB, free: 16.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004784/1.006, allocations: 144.2 kB / 0.6272 GB, free: 16.45 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01715/1.023, allocations: 5.49 MB / 0.6325 GB, free: 15.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/1.023, allocations: 0 / 0.6325 GB, free: 15.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.506e-06/1.023, allocations: 0 / 0.6325 GB, free: 15.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.783e-05/1.023, allocations: 0 / 0.6325 GB, free: 15.23 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.007986/1.031, allocations: 1.72 MB / 0.6342 GB, free: 14.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.369e-05/1.031, allocations: 10.19 kB / 0.6342 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006152/1.032, allocations: 80.67 kB / 0.6343 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005061/1.032, allocations: 334.9 kB / 0.6346 GB, free: 13.78 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.938e-05/1.033, allocations: 28.5 kB / 0.6346 GB, free: 13.78 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.409e-05/1.033, allocations: 31.97 kB / 0.6347 GB, free: 13.78 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/1.034, allocations: 0.5889 MB / 0.6352 GB, free: 13.6 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/1.034, allocations: 5.656 kB / 0.6352 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.019e-05/1.034, allocations: 20.84 kB / 0.6353 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.682e-05/1.034, allocations: 17.12 kB / 0.6353 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/1.035, allocations: 0.5452 MB / 0.6358 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002413/1.038, allocations: 2.479 MB / 0.6382 GB, free: 11.58 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009874/1.039, allocations: 0.5105 MB / 0.6387 GB, free: 11.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1662/1.205, allocations: 111.4 MB / 0.7475 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.899e-05/1.205, allocations: 38.34 kB / 0.7475 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=78): time 2.575e-06/1.205, allocations: 0 / 0.7475 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=83): time 0.006919/1.212, allocations: 2.998 MB / 0.7505 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/1.212, allocations: 55.41 kB / 0.7505 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002871/1.212, allocations: 258.4 kB / 0.7508 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.101e-05/1.212, allocations: 38.33 kB / 0.7508 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/1.212, allocations: 194.1 kB / 0.751 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001833/1.213, allocations: 262.1 kB / 0.7512 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.068e-05/1.213, allocations: 11.12 kB / 0.7512 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001362/1.213, allocations: 348.9 kB / 0.7516 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005351/1.213, allocations: 295.1 kB / 0.7518 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005616/1.214, allocations: 404.8 kB / 0.7522 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005722/1.215, allocations: 343.3 kB / 0.7526 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/1.215, allocations: 4 kB / 0.7526 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001518/1.216, allocations: 0.8305 MB / 0.7534 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/1.216, allocations: 4 kB / 0.7534 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/1.216, allocations: 6.625 kB / 0.7534 GB, free: 8.289 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008415/1.217, allocations: 156.9 kB / 0.7535 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000635/1.218, allocations: 125.6 kB / 0.7537 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002326/1.22, allocations: 3.656 MB / 0.7572 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004977/1.22, allocations: 51.31 kB / 0.7573 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.648e-05/1.22, allocations: 23.8 kB / 0.7573 GB, free: 4.219 MB / 0.5606 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.0003486/1.221, allocations: 190 kB / 0.7575 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/1.221, allocations: 43.48 kB / 0.7575 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002391/1.223, allocations: 1.705 MB / 0.7592 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.864e-05/1.223, allocations: 13.89 kB / 0.7592 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/1.223, allocations: 0 / 0.7592 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001624/1.225, allocations: 1.268 MB / 0.7604 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002544/1.228, allocations: 1.756 MB / 0.7622 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/1.228, allocations: 0 / 0.7622 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003502/1.228, allocations: 82.17 kB / 0.7622 GB, free: 468 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007559/1.229, allocations: 261.6 kB / 0.7625 GB, free: 260 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.311e-05/1.229, allocations: 14.98 kB / 0.7625 GB, free: 252 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001146/1.23, allocations: 1.772 MB / 0.7642 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/1.23, allocations: 5.734 kB / 0.7642 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002164/1.232, allocations: 1.507 MB / 0.7657 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002345/1.232, allocations: 135.1 kB / 0.7658 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.322e-05/1.232, allocations: 11.38 kB / 0.7658 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004225/1.233, allocations: 47.69 kB / 0.7659 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/1.233, allocations: 45.64 kB / 0.7659 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.561e-05/1.233, allocations: 15.8 kB / 0.7659 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002822/1.233, allocations: 218.2 kB / 0.7662 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.51e-07/1.233, allocations: 4 kB / 0.7662 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007734/1.241, allocations: 1.96 MB / 0.7681 GB, free: 11.18 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.01407/1.255, allocations: 2.821 MB / 0.7708 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002554/1.258, allocations: 0.8904 MB / 0.7717 GB, free: 8.117 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/1.258, allocations: 3.984 kB / 0.7717 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008303/1.259, allocations: 442.4 kB / 0.7721 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00193/1.261, allocations: 320.5 kB / 0.7724 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002558/1.263, allocations: 1.41 MB / 0.7738 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005241/1.264, allocations: 0.8595 MB / 0.7746 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004388/1.264, allocations: 85.44 kB / 0.7747 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.802e-05/1.264, allocations: 35.44 kB / 0.7748 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of SimCode: time 8.61e-07/1.264, allocations: 0 / 0.7748 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of Templates: time 0.3887/1.653, allocations: 69.34 MB / 0.8425 GB, free: 169.3 MB / 0.5919 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: