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.0008391/0.0008392, allocations: 90.91 kB / 15.36 MB, free: 0.7383 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.005619/0.005619, allocations: 172 kB / 16.26 MB, free: 6.613 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.442/1.442, allocations: 205.4 MB / 222.5 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04253/0.04253, allocations: 9.064 MB / 279.8 MB, free: 12.14 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.0005039/0.0005037, allocations: 12.78 kB / 339.7 MB, free: 25.64 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08473/0.08524, allocations: 49.19 MB / 388.9 MB, free: 8.402 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel): time 0.2995/0.3848, allocations: 128.8 MB / 0.5056 GB, free: 7.156 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.3306/0.7154, allocations: 111.5 MB / 0.6145 GB, free: 1.781 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007854/0.7163, allocations: 7.125 kB / 0.6145 GB, free: 1.781 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003264/0.7196, allocations: 1.175 MB / 0.6157 GB, free: 1.773 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003605/0.7232, allocations: 1.464 MB / 0.6171 GB, free: 1.762 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.07388/0.7971, allocations: 25.15 MB / 0.6417 GB, free: 488 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002428/0.7995, allocations: 1.842 MB / 0.6435 GB, free: 0 / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003203/0.7999, allocations: 99.34 kB / 0.6436 GB, free: 15.97 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.018/0.8179, allocations: 9.355 MB / 0.6527 GB, free: 12.73 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006197/0.8185, allocations: 383.7 kB / 0.6531 GB, free: 12.65 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.667e-05/0.8186, allocations: 20.59 kB / 0.6531 GB, free: 12.65 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05645/0.8751, allocations: 31.44 MB / 0.6838 GB, free: 10.48 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002526/0.8754, allocations: 96.48 kB / 0.6839 GB, free: 10.43 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000595/0.876, allocations: 312.4 kB / 0.6842 GB, free: 10.25 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04914/0.9251, allocations: 13.68 MB / 0.6975 GB, free: 15.76 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.9252, allocations: 1.422 kB / 0.6975 GB, free: 15.76 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.9252, allocations: 0 / 0.6975 GB, free: 15.76 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.796e-05/0.9252, allocations: 0 / 0.6975 GB, free: 15.76 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.007333/0.9325, allocations: 2.489 MB / 0.7 GB, free: 13.32 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.9326, allocations: 12.03 kB / 0.7 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008616/0.9335, allocations: 87.3 kB / 0.7001 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000622/0.9341, allocations: 341.8 kB / 0.7004 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.711e-05/0.9342, allocations: 31.78 kB / 0.7004 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.14e-05/0.9343, allocations: 33.25 kB / 0.7005 GB, free: 12.87 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/0.9359, allocations: 0.6165 MB / 0.7011 GB, free: 12.42 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.9359, allocations: 0 / 0.7011 GB, free: 12.42 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.586e-05/0.936, allocations: 11.75 kB / 0.7011 GB, free: 12.42 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.01e-05/0.936, allocations: 19.69 kB / 0.7011 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001495/0.9375, allocations: 0.573 MB / 0.7017 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003018/0.9405, allocations: 2.48 MB / 0.7041 GB, free: 9.73 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/0.9417, allocations: 0.4908 MB / 0.7046 GB, free: 9.414 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005826/0.9423, allocations: 348.2 kB / 0.7049 GB, free: 9.074 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4135/1.356, allocations: 135.8 MB / 0.8375 GB, free: 258.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.258e-05/1.356, allocations: 37.53 kB / 0.8376 GB, free: 258.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=77): time 3.366e-06/1.356, allocations: 0 / 0.8376 GB, free: 258.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=81): time 0.005854/1.362, allocations: 2.406 MB / 0.8399 GB, free: 257.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.823e-05/1.362, allocations: 55.38 kB / 0.84 GB, free: 257.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000246/1.362, allocations: 269.1 kB / 0.8402 GB, free: 257.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/1.362, allocations: 33.67 kB / 0.8402 GB, free: 257.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.669e-05/1.362, allocations: 190.8 kB / 0.8404 GB, free: 256.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/1.362, allocations: 265.8 kB / 0.8407 GB, free: 256.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-05/1.362, allocations: 60.86 kB / 0.8407 GB, free: 256.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.536e-05/1.363, allocations: 360.7 kB / 0.8411 GB, free: 256.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004707/1.363, allocations: 291.9 kB / 0.8414 GB, free: 256.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004928/1.364, allocations: 393.2 kB / 0.8417 GB, free: 255.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009889/1.365, allocations: 0.7261 MB / 0.8424 GB, free: 255.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/1.365, allocations: 0 / 0.8424 GB, free: 255.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001357/1.366, allocations: 0.8255 MB / 0.8433 GB, free: 255 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/1.366, allocations: 7.281 kB / 0.8433 GB, free: 255 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/1.366, allocations: 3.688 kB / 0.8433 GB, free: 255 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002477/1.366, allocations: 64.67 kB / 0.8433 GB, free: 255 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006789/1.367, allocations: 148.8 kB / 0.8435 GB, free: 254.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09472/1.462, allocations: 25.08 MB / 0.868 GB, free: 234.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005315/1.462, allocations: 56.02 kB / 0.868 GB, free: 234.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.176e-05/1.462, allocations: 16 kB / 0.868 GB, free: 234.1 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.0002951/1.463, allocations: 190.3 kB / 0.8682 GB, free: 233.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/1.463, allocations: 51.36 kB / 0.8683 GB, free: 233.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001867/1.465, allocations: 1.738 MB / 0.87 GB, free: 232 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-05/1.465, allocations: 9.625 kB / 0.87 GB, free: 232 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.465, allocations: 1.875 kB / 0.87 GB, free: 232 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001342/1.466, allocations: 1.323 MB / 0.8713 GB, free: 230.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00206/1.468, allocations: 1.777 MB / 0.873 GB, free: 228.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/1.468, allocations: 3.984 kB / 0.873 GB, free: 228.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003139/1.468, allocations: 82.23 kB / 0.8731 GB, free: 228.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004062/1.469, allocations: 178.4 kB / 0.8732 GB, free: 228.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.719e-05/1.469, allocations: 8 kB / 0.8733 GB, free: 228.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001138/1.47, allocations: 2.483 MB / 0.8757 GB, free: 225.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.47, allocations: 8.016 kB / 0.8757 GB, free: 225.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001821/1.472, allocations: 1.419 MB / 0.8771 GB, free: 224.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001609/1.472, allocations: 140.4 kB / 0.8772 GB, free: 224.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.932e-05/1.472, allocations: 7.938 kB / 0.8772 GB, free: 224.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003693/1.472, allocations: 47.95 kB / 0.8773 GB, free: 224.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/1.473, allocations: 43.94 kB / 0.8773 GB, free: 224.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.831e-05/1.473, allocations: 15.92 kB / 0.8773 GB, free: 224.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002086/1.473, allocations: 227.1 kB / 0.8775 GB, free: 223.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/1.473, allocations: 0 / 0.8775 GB, free: 223.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.008354/1.481, allocations: 3.177 MB / 0.8806 GB, free: 221.1 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.01592/1.497, allocations: 4.157 MB / 0.8847 GB, free: 217.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002085/1.499, allocations: 1.04 MB / 0.8857 GB, free: 216.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/1.499, allocations: 0 / 0.8857 GB, free: 216.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007873/1.5, allocations: 0.5228 MB / 0.8862 GB, free: 215.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002237/1.502, allocations: 406.7 kB / 0.8866 GB, free: 215.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/1.504, allocations: 1.459 MB / 0.888 GB, free: 214 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/1.504, allocations: 0.8527 MB / 0.8889 GB, free: 213.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004923/1.505, allocations: 144.1 kB / 0.889 GB, free: 213 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.767e-05/1.505, allocations: 43.42 kB / 0.889 GB, free: 212.9 MB / 0.5762 GB Notification: Performance of SimCode: time 1.162e-06/1.505, allocations: 0 / 0.889 GB, free: 212.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.1406/1.646, allocations: 118.6 MB / 1.005 GB, free: 94.21 MB / 0.5762 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: