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.0009946/0.0009948, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001073/0.001073, allocations: 192 kB / 16.14 MB, free: 6.711 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.227/1.227, allocations: 205.1 MB / 222 MB, free: 4.793 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04286/0.04286, allocations: 9.081 MB / 278.4 MB, free: 12.4 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.001238/0.001238, allocations: 63.91 kB / 337.3 MB, free: 25.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06805/0.0693, allocations: 48.18 MB / 385.5 MB, free: 9.684 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel): time 0.2466/0.3159, allocations: 130.6 MB / 0.504 GB, free: 3.941 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2773/0.5933, allocations: 112.8 MB / 0.6141 GB, free: 1.086 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004225/0.5937, allocations: 7.062 kB / 0.6142 GB, free: 1.086 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002327/0.5961, allocations: 1.174 MB / 0.6153 GB, free: 1.082 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002544/0.5987, allocations: 1.471 MB / 0.6167 GB, free: 1.066 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.05485/0.6535, allocations: 25.07 MB / 0.6412 GB, free: 15.83 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001631/0.6552, allocations: 1.824 MB / 0.643 GB, free: 15.53 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001864/0.6554, allocations: 93.5 kB / 0.6431 GB, free: 15.5 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01344/0.6688, allocations: 9.228 MB / 0.6521 GB, free: 12.45 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004175/0.6693, allocations: 391.8 kB / 0.6525 GB, free: 12.31 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.916e-05/0.6693, allocations: 23 kB / 0.6525 GB, free: 12.31 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04687/0.7162, allocations: 31.35 MB / 0.6831 GB, free: 6.68 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000197/0.7164, allocations: 108.3 kB / 0.6832 GB, free: 6.605 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005123/0.7169, allocations: 284.2 kB / 0.6835 GB, free: 6.391 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03414/0.7511, allocations: 13.67 MB / 0.6968 GB, free: 10.75 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.7511, allocations: 0 / 0.6968 GB, free: 10.75 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.7511, allocations: 4 kB / 0.6968 GB, free: 10.74 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.7512, allocations: 0 / 0.6968 GB, free: 10.74 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.005257/0.7564, allocations: 2.561 MB / 0.6993 GB, free: 8.137 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.7565, allocations: 12.03 kB / 0.6993 GB, free: 8.125 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005921/0.7571, allocations: 95.33 kB / 0.6994 GB, free: 8.031 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003618/0.7574, allocations: 335.8 kB / 0.6998 GB, free: 7.668 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.29e-05/0.7575, allocations: 32.66 kB / 0.6998 GB, free: 7.637 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.849e-05/0.7575, allocations: 28 kB / 0.6998 GB, free: 7.609 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/0.7588, allocations: 0.5964 MB / 0.7004 GB, free: 7 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.7588, allocations: 3.938 kB / 0.7004 GB, free: 6.996 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.987e-05/0.7589, allocations: 16 kB / 0.7004 GB, free: 6.98 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.804e-05/0.7589, allocations: 19.34 kB / 0.7004 GB, free: 6.965 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/0.7601, allocations: 0.552 MB / 0.701 GB, free: 6.418 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002364/0.7625, allocations: 2.504 MB / 0.7034 GB, free: 3.703 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.7636, allocations: 0.4888 MB / 0.7039 GB, free: 3.207 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005208/0.7641, allocations: 338.3 kB / 0.7042 GB, free: 2.871 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3731/1.137, allocations: 139 MB / 0.8399 GB, free: 252.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/1.137, allocations: 44.11 kB / 0.84 GB, free: 252.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=78): time 2.675e-06/1.137, allocations: 0 / 0.84 GB, free: 252.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.005325/1.143, allocations: 2.329 MB / 0.8423 GB, free: 251.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.01e-05/1.143, allocations: 56.47 kB / 0.8423 GB, free: 251.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/1.143, allocations: 265.9 kB / 0.8426 GB, free: 251.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/1.143, allocations: 37.64 kB / 0.8426 GB, free: 251.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.86e-05/1.143, allocations: 183.9 kB / 0.8428 GB, free: 251 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/1.143, allocations: 265.8 kB / 0.843 GB, free: 250.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/1.143, allocations: 101.6 kB / 0.8431 GB, free: 250.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.742e-05/1.143, allocations: 350.3 kB / 0.8435 GB, free: 250.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000415/1.144, allocations: 277.6 kB / 0.8437 GB, free: 250.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004481/1.144, allocations: 377.7 kB / 0.8441 GB, free: 249.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008742/1.145, allocations: 0.6853 MB / 0.8448 GB, free: 249.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.145, allocations: 0 / 0.8448 GB, free: 249.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001298/1.146, allocations: 0.7952 MB / 0.8455 GB, free: 249.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/1.146, allocations: 7.797 kB / 0.8455 GB, free: 249.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/1.146, allocations: 3.969 kB / 0.8455 GB, free: 249.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002549/1.147, allocations: 65.39 kB / 0.8456 GB, free: 249 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005778/1.147, allocations: 133.2 kB / 0.8457 GB, free: 249 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09082/1.238, allocations: 24.88 MB / 0.87 GB, free: 225.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004387/1.239, allocations: 55.89 kB / 0.8701 GB, free: 225.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.157e-05/1.239, allocations: 20 kB / 0.8701 GB, free: 225.3 MB / 0.5762 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.0002409/1.239, allocations: 188.7 kB / 0.8703 GB, free: 225.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.756e-05/1.239, allocations: 39.53 kB / 0.8703 GB, free: 225.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001731/1.241, allocations: 1.678 MB / 0.872 GB, free: 223.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.54e-05/1.241, allocations: 11.58 kB / 0.872 GB, free: 223.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/1.241, allocations: 0 / 0.872 GB, free: 223.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001182/1.242, allocations: 1.258 MB / 0.8732 GB, free: 222 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001824/1.244, allocations: 1.702 MB / 0.8749 GB, free: 220.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/1.244, allocations: 0 / 0.8749 GB, free: 220.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003049/1.244, allocations: 71.89 kB / 0.8749 GB, free: 220.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002637/1.244, allocations: 113.5 kB / 0.875 GB, free: 220 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/1.244, allocations: 11.98 kB / 0.8751 GB, free: 220 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00083/1.245, allocations: 1.893 MB / 0.8769 GB, free: 218 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.245, allocations: 7.969 kB / 0.8769 GB, free: 218 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001627/1.247, allocations: 1.298 MB / 0.8782 GB, free: 216.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.187e-05/1.247, allocations: 118.6 kB / 0.8783 GB, free: 216.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.09e-05/1.247, allocations: 11.94 kB / 0.8783 GB, free: 216.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003452/1.247, allocations: 43.88 kB / 0.8783 GB, free: 216.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.904e-05/1.248, allocations: 39.94 kB / 0.8784 GB, free: 216.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.562e-05/1.248, allocations: 15.98 kB / 0.8784 GB, free: 216.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001699/1.248, allocations: 219.1 kB / 0.8786 GB, free: 216.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/1.248, allocations: 0 / 0.8786 GB, free: 216.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006658/1.254, allocations: 3.194 MB / 0.8817 GB, free: 213.4 MB / 0.5762 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.01404/1.268, allocations: 4.129 MB / 0.8858 GB, free: 209.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001737/1.27, allocations: 0.9909 MB / 0.8867 GB, free: 208.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/1.27, allocations: 0 / 0.8867 GB, free: 208.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006662/1.271, allocations: 0.4997 MB / 0.8872 GB, free: 208.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001778/1.273, allocations: 384.5 kB / 0.8876 GB, free: 207.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/1.274, allocations: 1.402 MB / 0.8889 GB, free: 206.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/1.275, allocations: 0.8564 MB / 0.8898 GB, free: 205.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003924/1.275, allocations: 139.9 kB / 0.8899 GB, free: 205.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.547e-05/1.275, allocations: 47.44 kB / 0.89 GB, free: 205.4 MB / 0.5762 GB Notification: Performance of SimCode: time 4.21e-07/1.275, allocations: 0 / 0.89 GB, free: 205.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.114/1.389, allocations: 117.8 MB / 1.005 GB, free: 87.42 MB / 0.5762 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)