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.00136/0.00136, allocations: 79.5 kB / 19.76 MB, free: 2.031 MB / 14.72 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.002153/0.002153, allocations: 162.9 kB / 23.01 MB, free: 4.949 MB / 14.72 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.462/1.462, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 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.05009/0.05009, allocations: 7.535 MB / 267.3 MB, free: 9.578 MB / 254.1 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 0.002358/0.002358, allocations: 67.91 kB / 392.8 MB, free: 11.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1053, allocations: 54.92 MB / 447.7 MB, free: 4.555 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2): time 0.4155/0.5208, allocations: 174.9 MB / 0.608 GB, free: 7.758 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4806/1.001, allocations: 125.6 MB / 0.7307 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009724/1.002, allocations: 13.34 kB / 0.7307 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003419/1.006, allocations: 1.255 MB / 0.7319 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004083/1.01, allocations: 1.64 MB / 0.7335 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.1042/1.114, allocations: 40.56 MB / 0.7731 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002811/1.117, allocations: 1.944 MB / 0.775 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002996/1.117, allocations: 128.9 kB / 0.7751 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001424/1.119, allocations: 0.8708 MB / 0.776 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006908/1.119, allocations: 0.5244 MB / 0.7765 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.487e-05/1.119, allocations: 59.03 kB / 0.7765 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0709/1.19, allocations: 31.5 MB / 0.8073 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004389/1.191, allocations: 178.7 kB / 0.8075 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008573/1.192, allocations: 350.7 kB / 0.8078 GB, free: 14 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.06051/1.252, allocations: 16.43 MB / 0.8239 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/1.252, allocations: 2.062 kB / 0.8239 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.184e-06/1.252, allocations: 0 / 0.8239 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.085e-05/1.252, allocations: 4 kB / 0.8239 GB, free: 1.367 MB / 0.5919 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.01007/1.262, allocations: 3.399 MB / 0.8272 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/1.262, allocations: 8.031 kB / 0.8272 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008805/1.263, allocations: 123.5 kB / 0.8273 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007075/1.264, allocations: 355 kB / 0.8276 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.392e-05/1.264, allocations: 41 kB / 0.8277 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.767e-05/1.264, allocations: 51.94 kB / 0.8277 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002009/1.266, allocations: 1.032 MB / 0.8287 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/1.266, allocations: 4 kB / 0.8287 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.346e-05/1.266, allocations: 20 kB / 0.8288 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.331e-05/1.266, allocations: 30.47 kB / 0.8288 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00191/1.268, allocations: 0.7574 MB / 0.8295 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003332/1.271, allocations: 2.191 MB / 0.8317 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001607/1.273, allocations: 0.6546 MB / 0.8323 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007952/1.274, allocations: 451.1 kB / 0.8327 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2775/1.551, allocations: 58.73 MB / 0.8901 GB, free: 13.54 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.781e-05/1.551, allocations: 46.94 kB / 0.8901 GB, free: 13.48 MB / 0.67 GB Notification: Performance of pre-optimization done (n=109): time 3.045e-06/1.551, allocations: 0 / 0.8901 GB, free: 13.48 MB / 0.67 GB Notification: Performance of matching and sorting (n=117): time 0.009617/1.561, allocations: 3.347 MB / 0.8934 GB, free: 10.12 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/1.561, allocations: 59.91 kB / 0.8935 GB, free: 10.05 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000344/1.561, allocations: 284.1 kB / 0.8937 GB, free: 9.754 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.955e-05/1.561, allocations: 33.7 kB / 0.8938 GB, free: 9.715 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/1.562, allocations: 241.5 kB / 0.894 GB, free: 9.473 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003232/1.562, allocations: 401.7 kB / 0.8944 GB, free: 9.086 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000236/1.562, allocations: 146.2 kB / 0.8945 GB, free: 8.938 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001919/1.562, allocations: 365.9 kB / 0.8949 GB, free: 8.574 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007631/1.563, allocations: 405.7 kB / 0.8953 GB, free: 8.18 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009222/1.564, allocations: 0.5512 MB / 0.8958 GB, free: 7.582 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001721/1.566, allocations: 1.002 MB / 0.8968 GB, free: 6.527 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/1.566, allocations: 0 / 0.8968 GB, free: 6.527 MB / 0.67 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002375/1.568, allocations: 1.159 MB / 0.8979 GB, free: 5.352 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/1.568, allocations: 7.984 kB / 0.8979 GB, free: 5.344 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.062e-05/1.568, allocations: 4 kB / 0.8979 GB, free: 5.34 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004286/1.569, allocations: 98.5 kB / 0.898 GB, free: 5.234 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/1.57, allocations: 217.3 kB / 0.8982 GB, free: 5.027 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1504/1.72, allocations: 34.94 MB / 0.9323 GB, free: 0.9297 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006898/1.721, allocations: 48.03 kB / 0.9324 GB, free: 0.8828 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/1.721, allocations: 24.88 kB / 0.9324 GB, free: 0.8594 MB / 0.7012 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.0006033/1.721, allocations: 226.3 kB / 0.9326 GB, free: 0.6328 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002479/1.722, allocations: 63.61 kB / 0.9327 GB, free: 0.5703 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004208/1.726, allocations: 2.439 MB / 0.9351 GB, free: 14.06 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.687e-05/1.726, allocations: 18.88 kB / 0.9351 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/1.726, allocations: 0 / 0.9351 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002741/1.729, allocations: 1.694 MB / 0.9367 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004355/1.733, allocations: 2.326 MB / 0.939 GB, free: 9.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/1.733, allocations: 0 / 0.939 GB, free: 9.906 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000617/1.734, allocations: 115.8 kB / 0.9391 GB, free: 9.793 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006387/1.734, allocations: 212.5 kB / 0.9393 GB, free: 9.578 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.134e-05/1.734, allocations: 23.81 kB / 0.9393 GB, free: 9.559 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003445/1.738, allocations: 3.728 MB / 0.943 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/1.738, allocations: 0 / 0.943 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003765/1.742, allocations: 2.029 MB / 0.945 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003031/1.742, allocations: 55.5 kB / 0.945 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/1.742, allocations: 19.94 kB / 0.945 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004951/1.743, allocations: 36 kB / 0.9451 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001928/1.743, allocations: 64.53 kB / 0.9451 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-05/1.743, allocations: 19.98 kB / 0.9452 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003745/1.743, allocations: 239 kB / 0.9454 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/1.743, allocations: 0 / 0.9454 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.017/1.76, allocations: 5.544 MB / 0.9508 GB, free: 13.54 MB / 0.7325 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 ($cse13.phase,$cse16.phase,$cse17.phase,$cse18.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.03147/1.792, allocations: 6.886 MB / 0.9575 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004226/1.796, allocations: 1.539 MB / 0.959 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/1.796, allocations: 0 / 0.959 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001716/1.798, allocations: 0.7944 MB / 0.9598 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002829/1.8, allocations: 0.4902 MB / 0.9603 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003613/1.804, allocations: 1.777 MB / 0.962 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004432/1.804, allocations: 332.8 kB / 0.9623 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0006682/1.805, allocations: 182.8 kB / 0.9625 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001603/1.805, allocations: 52.5 kB / 0.9626 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of SimCode: time 7.82e-07/1.805, allocations: 0 / 0.9626 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of Templates: time 0.4779/2.283, allocations: 202.6 MB / 1.16 GB, free: 192.2 MB / 0.7325 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=480 -s ida -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 27.391782671096735] Failed to read output from testmodel.py, exit status != 0: 2.292621382046491 2.302594926 1.047949426 Calling exit ...