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.0009252/0.0009252, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.0009042/0.0009042, allocations: 173 kB / 23.49 MB, free: 1.055 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 0.8683/0.8683, allocations: 177.1 MB / 203.8 MB, free: 5.664 MB / 186.7 MB " [Timeout remaining time 179] 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.03073/0.03073, allocations: 7.516 MB / 267.8 MB, free: 6.09 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.573e-06/1.573e-06, allocations: 0 / 338.7 MB, free: 11.28 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.307e-05/1.465e-05, allocations: 5.547 kB / 338.7 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2): time 0.2388/0.2388, allocations: 198 MB / 0.5242 GB, free: 7.598 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.2424/0.4812, allocations: 143.8 MB / 0.6646 GB, free: 9.391 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005626/0.4817, allocations: 13.75 kB / 0.6646 GB, free: 9.391 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001851/0.4836, allocations: 1.272 MB / 0.6658 GB, free: 8.859 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002209/0.4858, allocations: 1.671 MB / 0.6675 GB, free: 7.805 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.06597/0.5518, allocations: 41.13 MB / 0.7076 GB, free: 2.57 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.00194/0.5537, allocations: 1.968 MB / 0.7096 GB, free: 0.5938 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002133/0.5539, allocations: 132.9 kB / 0.7097 GB, free: 468 kB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009998/0.5549, allocations: 1.147 MB / 0.7108 GB, free: 15.31 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000423/0.5553, allocations: 470.6 kB / 0.7113 GB, free: 14.85 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.729e-05/0.5554, allocations: 60 kB / 0.7113 GB, free: 14.79 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03866/0.5941, allocations: 31.74 MB / 0.7423 GB, free: 14.97 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002214/0.5943, allocations: 187.3 kB / 0.7425 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0004273/0.5947, allocations: 311.4 kB / 0.7428 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.2145/0.8092, allocations: 18.94 MB / 0.7613 GB, free: 47.6 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.8092, allocations: 0 / 0.7613 GB, free: 47.6 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.353e-06/0.8092, allocations: 2.906 kB / 0.7613 GB, free: 47.6 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.778e-06/0.8092, allocations: 0 / 0.7613 GB, free: 47.6 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.005542/0.8147, allocations: 3.492 MB / 0.7647 GB, free: 45.86 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.8148, allocations: 9.375 kB / 0.7647 GB, free: 45.86 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006236/0.8154, allocations: 236.4 kB / 0.7649 GB, free: 45.75 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003558/0.8158, allocations: 359.9 kB / 0.7653 GB, free: 45.57 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.059e-05/0.8158, allocations: 42.91 kB / 0.7653 GB, free: 45.57 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.358e-05/0.8159, allocations: 50.41 kB / 0.7654 GB, free: 45.57 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009535/0.8168, allocations: 0.819 MB / 0.7662 GB, free: 45.15 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.8168, allocations: 0.9062 kB / 0.7662 GB, free: 45.15 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.648e-05/0.8169, allocations: 22.41 kB / 0.7662 GB, free: 45.15 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.14e-05/0.8169, allocations: 20.03 kB / 0.7662 GB, free: 45.15 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006471/0.8175, allocations: 395.1 kB / 0.7666 GB, free: 45.15 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001612/0.8191, allocations: 2.405 MB / 0.7689 GB, free: 43.76 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006856/0.8198, allocations: 411 kB / 0.7693 GB, free: 43.72 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/0.82, allocations: 189.1 kB / 0.7695 GB, free: 43.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1219/0.942, allocations: 55.59 MB / 0.8238 GB, free: 42.35 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.16e-05/0.942, allocations: 45.58 kB / 0.8238 GB, free: 42.3 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=109): time 2.755e-06/0.942, allocations: 0 / 0.8238 GB, free: 42.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=117): time 0.004137/0.9462, allocations: 2.208 MB / 0.826 GB, free: 41.72 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.044e-05/0.9462, allocations: 63.91 kB / 0.826 GB, free: 41.65 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.9464, allocations: 326.2 kB / 0.8264 GB, free: 41.39 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.9464, allocations: 38.02 kB / 0.8264 GB, free: 41.35 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.81e-05/0.9465, allocations: 282.9 kB / 0.8267 GB, free: 41.12 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001443/0.9466, allocations: 410.4 kB / 0.8271 GB, free: 40.81 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.9467, allocations: 162.3 kB / 0.8272 GB, free: 40.72 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.417e-05/0.9468, allocations: 0.5506 MB / 0.8277 GB, free: 40.21 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001752/0.947, allocations: 148.1 kB / 0.8279 GB, free: 40.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002415/0.9472, allocations: 359.7 kB / 0.8282 GB, free: 39.75 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004421/0.9477, allocations: 0.5534 MB / 0.8288 GB, free: 39.26 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.9477, allocations: 0 / 0.8288 GB, free: 39.26 MB / 0.5105 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.0007295/0.9484, allocations: 0.7098 MB / 0.8295 GB, free: 38.69 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.9484, allocations: 8 kB / 0.8295 GB, free: 38.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.9484, allocations: 4 kB / 0.8295 GB, free: 38.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002362/0.9487, allocations: 104 kB / 0.8296 GB, free: 38.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004773/0.9491, allocations: 186.4 kB / 0.8297 GB, free: 38.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08318/1.032, allocations: 33.8 MB / 0.8628 GB, free: 21.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003587/1.033, allocations: 28.3 kB / 0.8628 GB, free: 21.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.841e-05/1.033, allocations: 25.17 kB / 0.8628 GB, free: 21.25 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.0004418/1.033, allocations: 210.7 kB / 0.863 GB, free: 21.06 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.57e-05/1.033, allocations: 78.31 kB / 0.8631 GB, free: 20.99 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001438/1.035, allocations: 2.06 MB / 0.8651 GB, free: 19.37 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/1.035, allocations: 21.83 kB / 0.8651 GB, free: 19.36 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/1.035, allocations: 0 / 0.8651 GB, free: 19.36 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006346/1.035, allocations: 1.01 MB / 0.8661 GB, free: 18.34 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/1.037, allocations: 1.56 MB / 0.8676 GB, free: 17.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/1.037, allocations: 4 kB / 0.8676 GB, free: 17.03 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002153/1.037, allocations: 104.7 kB / 0.8677 GB, free: 16.94 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000247/1.037, allocations: 180.8 kB / 0.8679 GB, free: 16.76 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/1.037, allocations: 18.11 kB / 0.8679 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00159/1.039, allocations: 5.108 MB / 0.8729 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/1.039, allocations: 4 kB / 0.8729 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/1.04, allocations: 1.157 MB / 0.874 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.048e-05/1.04, allocations: 55.52 kB / 0.8741 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.4e-05/1.04, allocations: 13 kB / 0.8741 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/1.04, allocations: 24.67 kB / 0.8741 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/1.04, allocations: 68.7 kB / 0.8742 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.682e-05/1.04, allocations: 28.45 kB / 0.8742 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001422/1.04, allocations: 237.5 kB / 0.8744 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/1.04, allocations: 0 / 0.8744 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007087/1.047, allocations: 3.296 MB / 0.8777 GB, free: 6.844 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.008542/1.056, allocations: 5.014 MB / 0.8826 GB, free: 2.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001388/1.057, allocations: 1.184 MB / 0.8837 GB, free: 1.355 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/1.057, allocations: 0 / 0.8837 GB, free: 1.355 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005072/1.058, allocations: 0.6802 MB / 0.8844 GB, free: 0.6953 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/1.059, allocations: 0.5072 MB / 0.8849 GB, free: 240 kB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/1.061, allocations: 1.43 MB / 0.8863 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/1.061, allocations: 170 kB / 0.8864 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003252/1.061, allocations: 186 kB / 0.8866 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.7e-05/1.061, allocations: 51.94 kB / 0.8867 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of SimCode: time 9.22e-07/1.061, allocations: 0 / 0.8867 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of Templates: time 0.1911/1.252, allocations: 107 MB / 0.9912 GB, free: 324.7 MB / 0.6042 GB " [Timeout remaining time 659] 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: 12.887069944990799]