Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.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.IsobutaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, 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.001526/0.001527, allocations: 198.3 kB / 16.14 MB, free: 6.703 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.339/1.339, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04285/0.04285, allocations: 9.077 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.001217/0.001217, allocations: 59.92 kB / 337.3 MB, free: 25.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07621/0.07744, allocations: 48.17 MB / 385.5 MB, free: 9.684 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel): time 0.2977/0.3752, allocations: 130.6 MB / 0.504 GB, free: 3.965 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.3202/0.6954, allocations: 112.8 MB / 0.6141 GB, free: 1.172 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004789/0.6959, allocations: 7.203 kB / 0.6141 GB, free: 1.172 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002601/0.6986, allocations: 1.171 MB / 0.6153 GB, free: 1.168 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003134/0.7017, allocations: 1.468 MB / 0.6167 GB, free: 1.156 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.06212/0.7639, allocations: 25.1 MB / 0.6412 GB, free: 15.94 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001835/0.7657, allocations: 1.823 MB / 0.643 GB, free: 15.63 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002614/0.766, allocations: 94.48 kB / 0.6431 GB, free: 15.61 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01485/0.7808, allocations: 9.357 MB / 0.6522 GB, free: 12.46 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004809/0.7814, allocations: 393.2 kB / 0.6526 GB, free: 12.32 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.031e-05/0.7814, allocations: 21.97 kB / 0.6526 GB, free: 12.32 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05681/0.8382, allocations: 31.44 MB / 0.6833 GB, free: 6.441 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002768/0.8386, allocations: 104 kB / 0.6834 GB, free: 6.371 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006438/0.8392, allocations: 283.5 kB / 0.6837 GB, free: 6.156 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.042/0.8812, allocations: 13.74 MB / 0.6971 GB, free: 10.44 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.8813, allocations: 0 / 0.6971 GB, free: 10.44 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.8813, allocations: 0 / 0.6971 GB, free: 10.44 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.477e-06/0.8813, allocations: 0 / 0.6971 GB, free: 10.44 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.007336/0.8886, allocations: 2.569 MB / 0.6996 GB, free: 7.824 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.8887, allocations: 8.031 kB / 0.6996 GB, free: 7.816 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000628/0.8893, allocations: 92.08 kB / 0.6997 GB, free: 7.727 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004159/0.8898, allocations: 335.5 kB / 0.7001 GB, free: 7.363 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.443e-05/0.8898, allocations: 32.66 kB / 0.7001 GB, free: 7.332 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.969e-05/0.8899, allocations: 32 kB / 0.7001 GB, free: 7.301 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/0.8911, allocations: 0.5963 MB / 0.7007 GB, free: 6.691 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.8911, allocations: 0 / 0.7007 GB, free: 6.691 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.834e-05/0.8912, allocations: 16 kB / 0.7007 GB, free: 6.676 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/0.8912, allocations: 19.91 kB / 0.7007 GB, free: 6.66 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001258/0.8925, allocations: 0.5544 MB / 0.7013 GB, free: 6.113 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002503/0.895, allocations: 2.461 MB / 0.7037 GB, free: 3.453 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.8961, allocations: 495.9 kB / 0.7042 GB, free: 2.961 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005085/0.8966, allocations: 334 kB / 0.7045 GB, free: 2.629 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3964/1.293, allocations: 139 MB / 0.8402 GB, free: 252.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/1.293, allocations: 38.53 kB / 0.8402 GB, free: 252.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=77): time 3.707e-06/1.293, allocations: 2.781 kB / 0.8402 GB, free: 252.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=81): time 0.005529/1.299, allocations: 2.331 MB / 0.8425 GB, free: 251.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.56e-05/1.299, allocations: 58.34 kB / 0.8426 GB, free: 251.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002238/1.299, allocations: 263.3 kB / 0.8428 GB, free: 251.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/1.299, allocations: 33.7 kB / 0.8428 GB, free: 251.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.724e-05/1.299, allocations: 195.3 kB / 0.843 GB, free: 251 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/1.299, allocations: 260.3 kB / 0.8433 GB, free: 250.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/1.299, allocations: 97.64 kB / 0.8434 GB, free: 250.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.692e-05/1.299, allocations: 357.5 kB / 0.8437 GB, free: 250.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004379/1.3, allocations: 277.2 kB / 0.844 GB, free: 250.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004628/1.3, allocations: 391.5 kB / 0.8444 GB, free: 249.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008858/1.301, allocations: 0.6984 MB / 0.845 GB, free: 249.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/1.301, allocations: 0 / 0.845 GB, free: 249.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001263/1.302, allocations: 0.7992 MB / 0.8458 GB, free: 249 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/1.302, allocations: 7.906 kB / 0.8458 GB, free: 249 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/1.302, allocations: 6.25 kB / 0.8458 GB, free: 249 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002445/1.303, allocations: 59.38 kB / 0.8459 GB, free: 249 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006716/1.303, allocations: 144.7 kB / 0.846 GB, free: 249 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08868/1.392, allocations: 25.13 MB / 0.8706 GB, free: 225 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004602/1.393, allocations: 47.84 kB / 0.8706 GB, free: 225 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.803e-05/1.393, allocations: 20 kB / 0.8706 GB, free: 224.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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): 40 * 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, 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.0002465/1.393, allocations: 185.8 kB / 0.8708 GB, free: 224.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/1.393, allocations: 47.38 kB / 0.8709 GB, free: 224.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001685/1.395, allocations: 1.714 MB / 0.8725 GB, free: 222.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/1.395, allocations: 19.81 kB / 0.8725 GB, free: 222.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/1.395, allocations: 4 kB / 0.8725 GB, free: 222.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001186/1.396, allocations: 1.287 MB / 0.8738 GB, free: 221.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001879/1.398, allocations: 1.764 MB / 0.8755 GB, free: 219.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/1.398, allocations: 0.75 kB / 0.8755 GB, free: 219.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002984/1.398, allocations: 71.88 kB / 0.8756 GB, free: 219.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003211/1.398, allocations: 166.4 kB / 0.8758 GB, free: 219.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.916e-05/1.399, allocations: 15.98 kB / 0.8758 GB, free: 219.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001063/1.4, allocations: 2.468 MB / 0.8782 GB, free: 216.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/1.4, allocations: 256 / 0.8782 GB, free: 216.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001674/1.401, allocations: 1.378 MB / 0.8795 GB, free: 215.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/1.401, allocations: 120.5 kB / 0.8796 GB, free: 215.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.038e-05/1.402, allocations: 12 kB / 0.8797 GB, free: 215.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003435/1.402, allocations: 32.03 kB / 0.8797 GB, free: 215.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.049e-05/1.402, allocations: 43.92 kB / 0.8797 GB, free: 215.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.446e-05/1.402, allocations: 12 kB / 0.8797 GB, free: 215.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002344/1.402, allocations: 223 kB / 0.8799 GB, free: 214.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.81e-07/1.402, allocations: 3.938 kB / 0.88 GB, free: 214.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006616/1.409, allocations: 3.193 MB / 0.8831 GB, free: 212.2 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 (37): * Single equations (assignments): 31 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0142/1.423, allocations: 4.152 MB / 0.8871 GB, free: 208.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002042/1.425, allocations: 1.031 MB / 0.8881 GB, free: 207.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.425, allocations: 0.5625 kB / 0.8881 GB, free: 207.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007603/1.426, allocations: 0.5033 MB / 0.8886 GB, free: 206.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001933/1.428, allocations: 417.9 kB / 0.889 GB, free: 206.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/1.43, allocations: 1.407 MB / 0.8904 GB, free: 205.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002002/1.43, allocations: 0.8527 MB / 0.8912 GB, free: 204.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004316/1.43, allocations: 144 kB / 0.8914 GB, free: 204 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.781e-05/1.43, allocations: 39.44 kB / 0.8914 GB, free: 204 MB / 0.5762 GB Notification: Performance of SimCode: time 9.62e-07/1.43, allocations: 0 / 0.8914 GB, free: 204 MB / 0.5762 GB Notification: Performance of Templates: time 0.1156/1.546, allocations: 118.5 MB / 1.007 GB, free: 85.3 MB / 0.5762 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe 2>&1)