Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.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.001841/0.001841, allocations: 84.06 kB / 19.44 MB, free: 332 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.002106/0.002106, allocations: 165.7 kB / 22.76 MB, free: 1.656 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.559/1.559, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.05923/0.05923, allocations: 7.518 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.EthanolTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 338 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.483e-05/2.629e-05, allocations: 4.844 kB / 338 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel): time 0.2735/0.2735, allocations: 128.9 MB / 466.9 MB, free: 10.91 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.3223/0.5957, allocations: 111.2 MB / 0.5645 GB, free: 3.059 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004664/0.5962, allocations: 13.59 kB / 0.5645 GB, free: 3.059 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001998/0.5982, allocations: 0.9404 MB / 0.5654 GB, free: 3.055 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002153/0.6004, allocations: 1.123 MB / 0.5665 GB, free: 3.047 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.06203/0.6624, allocations: 30.85 MB / 0.5967 GB, free: 15.41 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002123/0.6645, allocations: 1.399 MB / 0.598 GB, free: 15.08 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002305/0.6647, allocations: 85.66 kB / 0.5981 GB, free: 15.07 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01931/0.684, allocations: 12.6 MB / 0.6104 GB, free: 12.13 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005833/0.6846, allocations: 334.6 kB / 0.6107 GB, free: 12.04 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 6.807e-05/0.6847, allocations: 41.81 kB / 0.6108 GB, free: 12.04 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04436/0.7291, allocations: 23.8 MB / 0.634 GB, free: 4.27 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002697/0.7293, allocations: 137.7 kB / 0.6341 GB, free: 4.195 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005537/0.7299, allocations: 213.2 kB / 0.6343 GB, free: 4.035 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03933/0.7692, allocations: 14.52 MB / 0.6485 GB, free: 9.234 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.7692, allocations: 0 / 0.6485 GB, free: 9.234 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.7692, allocations: 0 / 0.6485 GB, free: 9.234 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.7692, allocations: 0 / 0.6485 GB, free: 9.234 MB / 458.7 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.006672/0.7759, allocations: 2.716 MB / 0.6512 GB, free: 6.477 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.7759, allocations: 15.72 kB / 0.6512 GB, free: 6.465 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007845/0.7767, allocations: 170.8 kB / 0.6513 GB, free: 6.297 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005126/0.7772, allocations: 287.2 kB / 0.6516 GB, free: 6.004 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.463e-05/0.7773, allocations: 28.66 kB / 0.6516 GB, free: 5.977 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.586e-05/0.7774, allocations: 36 kB / 0.6517 GB, free: 5.941 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.7788, allocations: 0.6844 MB / 0.6523 GB, free: 5.195 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/0.7788, allocations: 0 / 0.6523 GB, free: 5.195 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.454e-05/0.7789, allocations: 15.94 kB / 0.6524 GB, free: 5.18 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.004e-05/0.7789, allocations: 20.14 kB / 0.6524 GB, free: 5.164 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001217/0.7801, allocations: 416.5 kB / 0.6528 GB, free: 4.766 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002826/0.783, allocations: 1.966 MB / 0.6547 GB, free: 2.773 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.784, allocations: 357.1 kB / 0.655 GB, free: 2.418 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004238/0.7844, allocations: 191 kB / 0.6552 GB, free: 2.23 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2291/1.014, allocations: 41.69 MB / 0.6959 GB, free: 8.668 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.207e-05/1.014, allocations: 37.67 kB / 0.696 GB, free: 8.621 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=79): time 2.585e-06/1.014, allocations: 0 / 0.696 GB, free: 8.621 MB / 0.4948 GB Notification: Performance of matching and sorting (n=83): time 0.005696/1.019, allocations: 1.747 MB / 0.6977 GB, free: 6.855 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.152e-05/1.019, allocations: 59.34 kB / 0.6977 GB, free: 6.785 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006038/1.02, allocations: 314.6 kB / 0.698 GB, free: 6.461 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.258e-05/1.02, allocations: 29.7 kB / 0.6981 GB, free: 6.426 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/1.02, allocations: 248.1 kB / 0.6983 GB, free: 6.18 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000317/1.021, allocations: 310.4 kB / 0.6986 GB, free: 5.879 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002311/1.021, allocations: 143.8 kB / 0.6987 GB, free: 5.73 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003625/1.021, allocations: 0.5548 MB / 0.6993 GB, free: 5.164 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004126/1.022, allocations: 157.4 kB / 0.6994 GB, free: 5.004 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000607/1.022, allocations: 358.5 kB / 0.6998 GB, free: 4.598 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/1.023, allocations: 0.5552 MB / 0.7003 GB, free: 3.988 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/1.023, allocations: 0 / 0.7003 GB, free: 3.988 MB / 0.4948 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001432/1.025, allocations: 0.6204 MB / 0.7009 GB, free: 3.383 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/1.025, allocations: 8.438 kB / 0.7009 GB, free: 3.375 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/1.025, allocations: 4 kB / 0.7009 GB, free: 3.371 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003276/1.025, allocations: 71.33 kB / 0.701 GB, free: 3.293 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004276/1.025, allocations: 90.14 kB / 0.7011 GB, free: 3.211 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07607/1.101, allocations: 16.44 MB / 0.7171 GB, free: 2.273 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003713/1.102, allocations: 23.98 kB / 0.7172 GB, free: 2.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.189e-05/1.102, allocations: 16.88 kB / 0.7172 GB, free: 2.234 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003338/1.102, allocations: 242.3 kB / 0.7174 GB, free: 1.992 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/1.102, allocations: 58.94 kB / 0.7175 GB, free: 1.938 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003027/1.105, allocations: 1.794 MB / 0.7192 GB, free: 60 kB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.108e-05/1.105, allocations: 14.88 kB / 0.7192 GB, free: 48 kB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/1.105, allocations: 7 kB / 0.7192 GB, free: 44 kB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001378/1.107, allocations: 0.8408 MB / 0.7201 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002257/1.109, allocations: 1.204 MB / 0.7212 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/1.109, allocations: 4.734 kB / 0.7212 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003469/1.109, allocations: 70.59 kB / 0.7213 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002662/1.11, allocations: 62.23 kB / 0.7214 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.867e-05/1.11, allocations: 8 kB / 0.7214 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001644/1.111, allocations: 1.815 MB / 0.7231 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.111, allocations: 2.625 kB / 0.7231 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001803/1.113, allocations: 0.9171 MB / 0.724 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.459e-05/1.113, allocations: 39.66 kB / 0.7241 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.741e-05/1.113, allocations: 8 kB / 0.7241 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002811/1.114, allocations: 23.92 kB / 0.7241 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/1.114, allocations: 43.92 kB / 0.7241 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.68e-05/1.114, allocations: 20.02 kB / 0.7242 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003198/1.114, allocations: 267 kB / 0.7244 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/1.114, allocations: 0 / 0.7244 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00674/1.121, allocations: 2.434 MB / 0.7268 GB, free: 8.02 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 9 ($cse5.phase,$cse6.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 (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01176/1.133, allocations: 3.758 MB / 0.7305 GB, free: 4.605 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001988/1.135, allocations: 0.8405 MB / 0.7313 GB, free: 3.738 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/1.135, allocations: 0 / 0.7313 GB, free: 3.738 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009139/1.135, allocations: 454.3 kB / 0.7317 GB, free: 3.281 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002143/1.138, allocations: 379.5 kB / 0.7321 GB, free: 2.91 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002045/1.14, allocations: 1.013 MB / 0.7331 GB, free: 1.867 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/1.14, allocations: 246.3 kB / 0.7333 GB, free: 1.609 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006747/1.141, allocations: 160.4 kB / 0.7335 GB, free: 1.457 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/1.141, allocations: 44.48 kB / 0.7335 GB, free: 1.414 MB / 0.5261 GB Notification: Performance of SimCode: time 1.011e-06/1.141, allocations: 0 / 0.7335 GB, free: 1.414 MB / 0.5261 GB Notification: Performance of Templates: time 0.2203/1.361, allocations: 78.36 MB / 0.81 GB, free: 271 MB / 0.5573 GB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.845020539942198]