Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.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.PropaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel") 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: 103.4 kB / 15.33 MB, free: 0.5078 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.001253/0.001253, allocations: 194.9 kB / 16.25 MB, free: 6.621 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.276/1.276, allocations: 205.1 MB / 222.1 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04182/0.04182, allocations: 9.084 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.001267/0.001267, allocations: 63.84 kB / 337.5 MB, free: 25.79 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07943/0.08071, allocations: 48.17 MB / 385.7 MB, free: 9.582 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel): time 0.268/0.3488, allocations: 128.3 MB / 0.5019 GB, free: 5.984 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.3032/0.652, allocations: 110.8 MB / 0.6101 GB, free: 260 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004892/0.6526, allocations: 6.781 kB / 0.6101 GB, free: 260 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002892/0.6555, allocations: 1.286 MB / 0.6114 GB, free: 252 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003026/0.6586, allocations: 1.552 MB / 0.6129 GB, free: 236 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.06202/0.7206, allocations: 26.65 MB / 0.6389 GB, free: 15.47 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001634/0.7223, allocations: 1.408 MB / 0.6403 GB, free: 15.34 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002226/0.7225, allocations: 114.3 kB / 0.6404 GB, free: 15.31 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0151/0.7376, allocations: 9.883 MB / 0.65 GB, free: 11.89 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00047/0.7381, allocations: 392.3 kB / 0.6504 GB, free: 11.64 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.262e-05/0.7382, allocations: 46.91 kB / 0.6505 GB, free: 11.59 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05211/0.7903, allocations: 34.51 MB / 0.6842 GB, free: 3.188 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002646/0.7906, allocations: 120.3 kB / 0.6843 GB, free: 3.074 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006052/0.7912, allocations: 301 kB / 0.6846 GB, free: 2.781 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04218/0.8334, allocations: 14.12 MB / 0.6983 GB, free: 5.75 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.8334, allocations: 4 kB / 0.6984 GB, free: 5.746 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.8335, allocations: 0 / 0.6984 GB, free: 5.746 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.8335, allocations: 0 / 0.6984 GB, free: 5.746 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.006286/0.8398, allocations: 2.573 MB / 0.7009 GB, free: 3.129 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.8398, allocations: 8.031 kB / 0.7009 GB, free: 3.121 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006194/0.8405, allocations: 91.39 kB / 0.701 GB, free: 3.031 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004097/0.8409, allocations: 336.6 kB / 0.7013 GB, free: 2.668 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.821e-05/0.8409, allocations: 32.66 kB / 0.7013 GB, free: 2.637 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.731e-05/0.841, allocations: 28 kB / 0.7013 GB, free: 2.609 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/0.8422, allocations: 0.6002 MB / 0.7019 GB, free: 1.996 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.8422, allocations: 0 / 0.7019 GB, free: 1.996 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.916e-05/0.8423, allocations: 20 kB / 0.7019 GB, free: 1.977 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/0.8423, allocations: 13.62 kB / 0.702 GB, free: 1.969 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001235/0.8435, allocations: 0.5559 MB / 0.7025 GB, free: 1.418 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002431/0.846, allocations: 2.508 MB / 0.7049 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.847, allocations: 0.4929 MB / 0.7054 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005001/0.8475, allocations: 334.3 kB / 0.7057 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3868/1.234, allocations: 139 MB / 0.8415 GB, free: 278.8 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/1.234, allocations: 46.53 kB / 0.8415 GB, free: 278.7 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=78): time 3.907e-06/1.234, allocations: 0 / 0.8415 GB, free: 278.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.005614/1.24, allocations: 2.335 MB / 0.8438 GB, free: 277.4 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.179e-05/1.24, allocations: 55.16 kB / 0.8438 GB, free: 277.4 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00023/1.24, allocations: 260.5 kB / 0.8441 GB, free: 277.2 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.371e-05/1.24, allocations: 33.52 kB / 0.8441 GB, free: 277.1 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.298e-05/1.24, allocations: 190.2 kB / 0.8443 GB, free: 277 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/1.241, allocations: 270.1 kB / 0.8446 GB, free: 276.8 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/1.241, allocations: 97.8 kB / 0.8447 GB, free: 276.7 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 6.671e-05/1.241, allocations: 346.7 kB / 0.845 GB, free: 276.4 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004229/1.241, allocations: 276 kB / 0.8452 GB, free: 276.2 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004593/1.242, allocations: 383.8 kB / 0.8456 GB, free: 275.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008672/1.243, allocations: 0.6811 MB / 0.8463 GB, free: 275.5 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/1.243, allocations: 3.969 kB / 0.8463 GB, free: 275.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001224/1.244, allocations: 0.7918 MB / 0.8471 GB, free: 275.1 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/1.244, allocations: 3.969 kB / 0.8471 GB, free: 275.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/1.244, allocations: 6.031 kB / 0.8471 GB, free: 275.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002405/1.244, allocations: 61.39 kB / 0.8471 GB, free: 275.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005586/1.245, allocations: 130 kB / 0.8472 GB, free: 275 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09068/1.335, allocations: 25.18 MB / 0.8718 GB, free: 252.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005078/1.336, allocations: 43.97 kB / 0.8719 GB, free: 252.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.554e-05/1.336, allocations: 16 kB / 0.8719 GB, free: 252.4 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003057/1.336, allocations: 195.7 kB / 0.8721 GB, free: 252.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/1.336, allocations: 51.38 kB / 0.8721 GB, free: 252.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0018/1.338, allocations: 1.674 MB / 0.8738 GB, free: 250.4 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.12e-05/1.338, allocations: 18.25 kB / 0.8738 GB, free: 250.4 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/1.338, allocations: 0 / 0.8738 GB, free: 250.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001216/1.34, allocations: 1.247 MB / 0.875 GB, free: 249.1 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001859/1.341, allocations: 1.707 MB / 0.8767 GB, free: 247.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/1.341, allocations: 0 / 0.8767 GB, free: 247.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003053/1.342, allocations: 83.88 kB / 0.8767 GB, free: 247.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002546/1.342, allocations: 105.3 kB / 0.8768 GB, free: 247.1 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.987e-05/1.342, allocations: 8 kB / 0.8769 GB, free: 247.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009068/1.343, allocations: 1.989 MB / 0.8788 GB, free: 244.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.343, allocations: 0.5 kB / 0.8788 GB, free: 244.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001559/1.345, allocations: 1.305 MB / 0.8801 GB, free: 243.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/1.345, allocations: 112.7 kB / 0.8802 GB, free: 243.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.064e-05/1.345, allocations: 8 kB / 0.8802 GB, free: 243.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003335/1.345, allocations: 40.38 kB / 0.8802 GB, free: 243.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.906e-05/1.345, allocations: 55.88 kB / 0.8803 GB, free: 243.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-05/1.345, allocations: 11.98 kB / 0.8803 GB, free: 243.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001644/1.345, allocations: 223.1 kB / 0.8805 GB, free: 243.2 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.41e-07/1.345, allocations: 0 / 0.8805 GB, free: 243.2 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.006865/1.352, allocations: 3.179 MB / 0.8836 GB, free: 240.4 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (39): * Single equations (assignments): 33 * 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 {(1,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.01389/1.366, allocations: 4.135 MB / 0.8876 GB, free: 236.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002151/1.368, allocations: 1.019 MB / 0.8886 GB, free: 235.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/1.368, allocations: 0 / 0.8886 GB, free: 235.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00066/1.369, allocations: 0.5069 MB / 0.8891 GB, free: 235.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001759/1.371, allocations: 395.8 kB / 0.8895 GB, free: 234.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/1.372, allocations: 1.401 MB / 0.8909 GB, free: 233.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002161/1.373, allocations: 0.8565 MB / 0.8917 GB, free: 232.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003893/1.373, allocations: 150.9 kB / 0.8919 GB, free: 232.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.563e-05/1.373, allocations: 39.42 kB / 0.8919 GB, free: 232.3 MB / 0.5919 GB Notification: Performance of SimCode: time 3.81e-07/1.373, allocations: 0 / 0.8919 GB, free: 232.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.1078/1.481, allocations: 118.4 MB / 1.008 GB, free: 113.8 MB / 0.5919 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe 2>&1)