Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001826/0.001826, allocations: 81.5 kB / 19.44 MB, free: 340 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002049/0.002049, allocations: 173.2 kB / 22.76 MB, free: 1.66 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.537/1.537, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.05927/0.05927, allocations: 7.512 MB / 267.1 MB, free: 6.039 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2") translateModel(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 338 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.034e-05/2.194e-05, allocations: 4.984 kB / 338 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2): time 0.3797/0.3797, allocations: 198.1 MB / 0.5235 GB, free: 7.531 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.3223/0.702, allocations: 143.8 MB / 0.664 GB, free: 9.293 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006872/0.7027, allocations: 17.66 kB / 0.664 GB, free: 9.293 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0028/0.7055, allocations: 1.266 MB / 0.6652 GB, free: 8.766 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00345/0.7089, allocations: 1.669 MB / 0.6668 GB, free: 7.805 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1048/0.8137, allocations: 41.14 MB / 0.707 GB, free: 2.523 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.002947/0.8167, allocations: 1.969 MB / 0.709 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002874/0.8169, allocations: 127.7 kB / 0.7091 GB, free: 424 kB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001974/0.8189, allocations: 1.143 MB / 0.7102 GB, free: 15.27 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008429/0.8198, allocations: 484.8 kB / 0.7107 GB, free: 14.8 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003335/0.8201, allocations: 60 kB / 0.7107 GB, free: 14.74 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.06901/0.8891, allocations: 31.73 MB / 0.7417 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0003752/0.8895, allocations: 187.3 kB / 0.7419 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0006969/0.8902, allocations: 307.4 kB / 0.7422 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.2564/1.147, allocations: 19.34 MB / 0.7611 GB, free: 46.98 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/1.147, allocations: 0.7188 kB / 0.7611 GB, free: 46.98 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.403e-06/1.147, allocations: 5.969 kB / 0.7611 GB, free: 46.98 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.046e-05/1.147, allocations: 0 / 0.7611 GB, free: 46.98 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.007512/1.154, allocations: 3.536 MB / 0.7645 GB, free: 45.23 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/1.154, allocations: 10.14 kB / 0.7645 GB, free: 45.23 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009231/1.155, allocations: 232.9 kB / 0.7647 GB, free: 45.13 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005447/1.156, allocations: 365.4 kB / 0.7651 GB, free: 44.95 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.581e-05/1.156, allocations: 42.34 kB / 0.7651 GB, free: 44.95 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.786e-05/1.156, allocations: 51.34 kB / 0.7652 GB, free: 44.95 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/1.157, allocations: 0.929 MB / 0.7661 GB, free: 44.55 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/1.157, allocations: 3.141 kB / 0.7661 GB, free: 44.55 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.075e-05/1.157, allocations: 22.09 kB / 0.7661 GB, free: 44.55 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.663e-05/1.157, allocations: 21.92 kB / 0.7661 GB, free: 44.55 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001451/1.159, allocations: 0.5695 MB / 0.7667 GB, free: 44.55 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002554/1.161, allocations: 2.62 MB / 0.7693 GB, free: 43.15 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/1.163, allocations: 0.4924 MB / 0.7697 GB, free: 43.11 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004726/1.163, allocations: 274.5 kB / 0.77 GB, free: 43.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2657/1.429, allocations: 55.6 MB / 0.8243 GB, free: 41.73 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/1.429, allocations: 42.83 kB / 0.8243 GB, free: 41.69 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=109): time 2.525e-06/1.429, allocations: 4 kB / 0.8243 GB, free: 41.69 MB / 0.5105 GB Notification: Performance of matching and sorting (n=117): time 0.007048/1.436, allocations: 2.617 MB / 0.8269 GB, free: 40.59 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/1.436, allocations: 62.25 kB / 0.8269 GB, free: 40.52 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000281/1.436, allocations: 381.6 kB / 0.8273 GB, free: 40.23 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.702e-05/1.436, allocations: 43.2 kB / 0.8274 GB, free: 40.19 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/1.436, allocations: 294.1 kB / 0.8276 GB, free: 39.96 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002147/1.436, allocations: 437.8 kB / 0.8281 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002079/1.437, allocations: 201 kB / 0.8282 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001358/1.437, allocations: 0.5938 MB / 0.8288 GB, free: 38.99 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004586/1.437, allocations: 234.6 kB / 0.829 GB, free: 38.84 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005565/1.438, allocations: 489 kB / 0.8295 GB, free: 38.43 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/1.439, allocations: 0.7803 MB / 0.8303 GB, free: 37.81 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/1.439, allocations: 0 / 0.8303 GB, free: 37.81 MB / 0.5105 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001569/1.44, allocations: 0.901 MB / 0.8312 GB, free: 37.09 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/1.44, allocations: 8.031 kB / 0.8312 GB, free: 37.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/1.44, allocations: 8 kB / 0.8312 GB, free: 37.08 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004466/1.441, allocations: 120.8 kB / 0.8313 GB, free: 36.97 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008966/1.442, allocations: 191.9 kB / 0.8315 GB, free: 36.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1317/1.574, allocations: 34.64 MB / 0.8653 GB, free: 18.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005488/1.574, allocations: 25.05 kB / 0.8653 GB, free: 18.93 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-05/1.574, allocations: 29.17 kB / 0.8653 GB, free: 18.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 12 (volume1.medium.sat.vap.phase,volume1.medium.sat.liq.phase,volume1.medium.state.phase,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 (73): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 3 * 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): 4 systems {1, 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003374/1.574, allocations: 265.5 kB / 0.8656 GB, free: 18.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/1.575, allocations: 79.06 kB / 0.8657 GB, free: 18.62 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002721/1.577, allocations: 2.647 MB / 0.8683 GB, free: 16.71 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.202e-05/1.577, allocations: 21 kB / 0.8683 GB, free: 16.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/1.577, allocations: 0 / 0.8683 GB, free: 16.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00135/1.579, allocations: 1.152 MB / 0.8694 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002706/1.581, allocations: 1.802 MB / 0.8712 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/1.581, allocations: 0 / 0.8712 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005054/1.582, allocations: 108.5 kB / 0.8713 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005856/1.583, allocations: 189.9 kB / 0.8714 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.13e-05/1.583, allocations: 18.36 kB / 0.8715 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004393/1.587, allocations: 5.284 MB / 0.8766 GB, free: 8.512 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/1.587, allocations: 0 / 0.8766 GB, free: 8.512 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002683/1.59, allocations: 1.433 MB / 0.878 GB, free: 7.301 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/1.59, allocations: 55.52 kB / 0.8781 GB, free: 7.246 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.1e-05/1.59, allocations: 17.5 kB / 0.8781 GB, free: 7.242 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003516/1.59, allocations: 26.23 kB / 0.8781 GB, free: 7.227 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/1.59, allocations: 66.89 kB / 0.8782 GB, free: 7.172 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-05/1.59, allocations: 30.92 kB / 0.8782 GB, free: 7.148 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003208/1.591, allocations: 278.5 kB / 0.8785 GB, free: 6.922 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/1.591, allocations: 1.422 kB / 0.8785 GB, free: 6.922 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009634/1.6, allocations: 3.291 MB / 0.8817 GB, free: 3.758 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 14 ($cse7.phase,$cse10.phase,$cse11.phase,$cse12.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,volume1.medium.state.phase,volume1.medium.sat.liq.phase,volume1.medium.sat.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (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.0165/1.617, allocations: 5.021 MB / 0.8866 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003352/1.62, allocations: 1.394 MB / 0.888 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/1.62, allocations: 3.75 kB / 0.888 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00128/1.622, allocations: 0.7626 MB / 0.8887 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002766/1.624, allocations: 0.5175 MB / 0.8892 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002846/1.627, allocations: 1.511 MB / 0.8907 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003951/1.628, allocations: 332.8 kB / 0.891 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000509/1.628, allocations: 179.2 kB / 0.8912 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/1.628, allocations: 50.94 kB / 0.8912 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of SimCode: time 1.362e-06/1.628, allocations: 0 / 0.8912 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of Templates: time 0.282/1.91, allocations: 107 MB / 0.9957 GB, free: 321.4 MB / 0.6042 GB " [Timeout remaining time 658] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 21.401527366950177]