Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.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_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT") translateModel(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001251/0.001252, allocations: 190.7 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.399/1.399, allocations: 205.1 MB / 222.1 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04185/0.04185, allocations: 9.081 MB / 278.5 MB, free: 12.34 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.001316/0.001316, allocations: 63.91 kB / 337.5 MB, free: 25.79 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0968/0.09813, allocations: 48.17 MB / 385.7 MB, free: 9.586 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT): time 0.3322/0.4304, allocations: 141.6 MB / 0.5149 GB, free: 8.641 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3451/0.7755, allocations: 97.48 MB / 0.6101 GB, free: 280 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006387/0.7762, allocations: 5.531 kB / 0.6101 GB, free: 280 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002871/0.7792, allocations: 1.281 MB / 0.6114 GB, free: 272 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003262/0.7824, allocations: 1.555 MB / 0.6129 GB, free: 256 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.06865/0.8511, allocations: 26.69 MB / 0.6389 GB, free: 15.47 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002002/0.8531, allocations: 1.402 MB / 0.6403 GB, free: 15.35 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002335/0.8533, allocations: 122.9 kB / 0.6404 GB, free: 15.32 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01703/0.8704, allocations: 10.03 MB / 0.6502 GB, free: 11.68 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005412/0.871, allocations: 388.3 kB / 0.6506 GB, free: 11.43 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.409e-05/0.871, allocations: 44 kB / 0.6506 GB, free: 11.39 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.06397/0.935, allocations: 35.57 MB / 0.6854 GB, free: 2.004 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002825/0.9353, allocations: 119.3 kB / 0.6855 GB, free: 1.891 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006581/0.936, allocations: 313.9 kB / 0.6858 GB, free: 1.586 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05091/0.9869, allocations: 14.59 MB / 0.7 GB, free: 4.113 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.987, allocations: 0 / 0.7 GB, free: 4.113 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.987, allocations: 0 / 0.7 GB, free: 4.113 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.987, allocations: 4 kB / 0.7 GB, free: 4.109 MB / 494.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.006608/0.9936, allocations: 2.657 MB / 0.7026 GB, free: 1.406 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.9937, allocations: 14.94 kB / 0.7026 GB, free: 1.395 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000544/0.9942, allocations: 79.41 kB / 0.7027 GB, free: 1.316 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003953/0.9946, allocations: 337.7 kB / 0.703 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.643e-05/0.9947, allocations: 28.66 kB / 0.7031 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.367e-05/0.9947, allocations: 39.81 kB / 0.7031 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.9958, allocations: 0.5766 MB / 0.7037 GB, free: 308 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.9959, allocations: 0 / 0.7037 GB, free: 308 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.864e-05/0.9959, allocations: 16 kB / 0.7037 GB, free: 292 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.518e-05/0.996, allocations: 18.25 kB / 0.7037 GB, free: 276 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.9971, allocations: 0.5251 MB / 0.7042 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002413/0.9995, allocations: 2.48 MB / 0.7066 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009723/1, allocations: 0.4901 MB / 0.7071 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004903/1.001, allocations: 330.3 kB / 0.7074 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3103/1.311, allocations: 113.4 MB / 0.8182 GB, free: 298 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/1.311, allocations: 43.3 kB / 0.8182 GB, free: 297.9 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=78): time 2.645e-06/1.311, allocations: 1.062 kB / 0.8182 GB, free: 297.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=83): time 0.0065/1.318, allocations: 2.426 MB / 0.8206 GB, free: 297 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/1.318, allocations: 61.7 kB / 0.8206 GB, free: 296.9 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002915/1.318, allocations: 261.2 kB / 0.8209 GB, free: 296.8 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.093e-05/1.318, allocations: 35.08 kB / 0.8209 GB, free: 296.7 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.463e-05/1.318, allocations: 193.3 kB / 0.8211 GB, free: 296.6 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/1.319, allocations: 261.8 kB / 0.8214 GB, free: 296.4 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/1.319, allocations: 99.64 kB / 0.8215 GB, free: 296.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 7.619e-05/1.319, allocations: 355.1 kB / 0.8218 GB, free: 296 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004954/1.319, allocations: 277.2 kB / 0.8221 GB, free: 295.9 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005489/1.32, allocations: 399.1 kB / 0.8224 GB, free: 295.6 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/1.321, allocations: 0.7037 MB / 0.8231 GB, free: 295.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/1.321, allocations: 1.656 kB / 0.8231 GB, free: 295.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00146/1.322, allocations: 0.8289 MB / 0.8239 GB, free: 294.9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/1.322, allocations: 6.344 kB / 0.8239 GB, free: 294.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/1.322, allocations: 4 kB / 0.824 GB, free: 294.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002989/1.323, allocations: 78.52 kB / 0.824 GB, free: 294.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005057/1.323, allocations: 108.3 kB / 0.8241 GB, free: 294.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0464/1.37, allocations: 13.68 MB / 0.8375 GB, free: 286.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006489/1.37, allocations: 50.42 kB / 0.8375 GB, free: 286.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-05/1.37, allocations: 18.25 kB / 0.8375 GB, free: 286.9 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.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 (48): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003303/1.371, allocations: 197.6 kB / 0.8377 GB, free: 286.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/1.371, allocations: 45 kB / 0.8378 GB, free: 286.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001879/1.373, allocations: 1.724 MB / 0.8395 GB, free: 285.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.006e-05/1.373, allocations: 13.36 kB / 0.8395 GB, free: 285.5 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/1.373, allocations: 0 / 0.8395 GB, free: 285.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001411/1.374, allocations: 1.273 MB / 0.8407 GB, free: 284.6 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002478/1.377, allocations: 1.747 MB / 0.8424 GB, free: 283.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/1.377, allocations: 0 / 0.8424 GB, free: 283.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003595/1.377, allocations: 78.81 kB / 0.8425 GB, free: 283.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003323/1.377, allocations: 123.4 kB / 0.8426 GB, free: 283.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.244e-05/1.377, allocations: 13.73 kB / 0.8426 GB, free: 283.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001253/1.379, allocations: 2.09 MB / 0.8447 GB, free: 281.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.379, allocations: 2.031 kB / 0.8447 GB, free: 281.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001811/1.38, allocations: 1.419 MB / 0.8461 GB, free: 280.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/1.381, allocations: 123.1 kB / 0.8462 GB, free: 280.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.677e-05/1.381, allocations: 10.06 kB / 0.8462 GB, free: 280.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003777/1.381, allocations: 37.34 kB / 0.8462 GB, free: 280.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/1.381, allocations: 49.53 kB / 0.8463 GB, free: 280.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-05/1.381, allocations: 21.14 kB / 0.8463 GB, free: 280.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002425/1.382, allocations: 218.8 kB / 0.8465 GB, free: 280.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.1e-07/1.382, allocations: 6.656 kB / 0.8465 GB, free: 280.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007377/1.389, allocations: 2.99 MB / 0.8494 GB, free: 277.9 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.T) * Number of discrete variables: 10 ($cse11.phase,$cse12.phase,$cse14.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 (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01313/1.402, allocations: 3.835 MB / 0.8532 GB, free: 274.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002171/1.404, allocations: 1.075 MB / 0.8542 GB, free: 273.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.404, allocations: 0 / 0.8542 GB, free: 273.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007247/1.405, allocations: 0.5574 MB / 0.8548 GB, free: 273.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001729/1.407, allocations: 400.6 kB / 0.8551 GB, free: 272.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/1.408, allocations: 1.431 MB / 0.8565 GB, free: 271.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002201/1.408, allocations: 0.8645 MB / 0.8574 GB, free: 270.4 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003812/1.409, allocations: 126.1 kB / 0.8575 GB, free: 270.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.707e-05/1.409, allocations: 47.44 kB / 0.8576 GB, free: 270.3 MB / 0.5919 GB Notification: Performance of SimCode: time 8.12e-07/1.409, allocations: 0 / 0.8576 GB, free: 270.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.1066/1.516, allocations: 112.2 MB / 0.9671 GB, free: 158.1 MB / 0.5919 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe 2>&1)