Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.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.001877/0.001877, allocations: 93.47 kB / 19.44 MB, free: 336 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.002122/0.002122, allocations: 177.2 kB / 22.77 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.575/1.575, allocations: 177.1 MB / 203.1 MB, free: 5.273 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00325/0.00325, allocations: 245 kB / 259.8 MB, free: 12.71 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.193/1.193, allocations: 138.4 MB / 454.7 MB, free: 1.465 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.5543 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.071e-05/3.255e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006628/0.006661, allocations: 4.127 MB / 0.5583 GB, free: 12.71 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002506/0.006911, allocations: 159.4 kB / 0.5585 GB, free: 12.55 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.969e-05/0.006941, allocations: 0 / 0.5585 GB, free: 12.55 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001251/0.007066, allocations: 3.938 kB / 0.5585 GB, free: 12.55 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.007168, allocations: 15.91 kB / 0.5585 GB, free: 12.54 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003859/0.007554, allocations: 91.62 kB / 0.5586 GB, free: 12.45 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.931e-05/0.007653, allocations: 35.84 kB / 0.5586 GB, free: 12.41 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.994e-05/0.007693, allocations: 0 / 0.5586 GB, free: 12.41 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.299e-05/0.007766, allocations: 23.97 kB / 0.5586 GB, free: 12.39 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.514e-05/0.007851, allocations: 11.92 kB / 0.5587 GB, free: 12.38 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.00787, allocations: 4 kB / 0.5587 GB, free: 12.37 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002102/0.00808, allocations: 47.81 kB / 0.5587 GB, free: 12.32 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.816e-05/0.008149, allocations: 11.98 kB / 0.5587 GB, free: 12.31 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.482e-05/0.008183, allocations: 15.92 kB / 0.5587 GB, free: 12.3 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.008381, allocations: 55.88 kB / 0.5588 GB, free: 12.24 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.008384, allocations: 0 / 0.5588 GB, free: 12.24 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.008385, allocations: 0 / 0.5588 GB, free: 12.24 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.00839, allocations: 0 / 0.5588 GB, free: 12.24 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004927/0.008883, allocations: 364.2 kB / 0.5591 GB, free: 11.85 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.008925, allocations: 12.75 kB / 0.5591 GB, free: 11.84 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.505e-05/0.00898, allocations: 4.938 kB / 0.5592 GB, free: 11.84 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.009108, allocations: 116.5 kB / 0.5593 GB, free: 11.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.783e-05/0.009196, allocations: 51.97 kB / 0.5593 GB, free: 11.63 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.00921, allocations: 8.375 kB / 0.5593 GB, free: 11.62 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.009374, allocations: 59.95 kB / 0.5594 GB, free: 11.55 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.009382, allocations: 192 / 0.5594 GB, free: 11.55 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.009397, allocations: 11.94 kB / 0.5594 GB, free: 11.54 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.296e-05/0.00942, allocations: 4 kB / 0.5594 GB, free: 11.54 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.358e-05/0.009464, allocations: 11.92 kB / 0.5594 GB, free: 11.53 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004877/0.009952, allocations: 263.7 kB / 0.5597 GB, free: 11.23 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.904e-05/0.01001, allocations: 27.06 kB / 0.5597 GB, free: 11.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.16e-05/0.01003, allocations: 11.62 kB / 0.5597 GB, free: 11.18 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.886e-05/0.01009, allocations: 12.05 kB / 0.5597 GB, free: 11.17 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.01013, allocations: 41.39 kB / 0.5597 GB, free: 11.12 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.01013, allocations: 0 / 0.5597 GB, free: 11.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001799/0.01031, allocations: 37.62 kB / 0.5598 GB, free: 11.07 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.01036, allocations: 55.41 kB / 0.5598 GB, free: 11.01 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.0105, allocations: 161.9 kB / 0.56 GB, free: 10.83 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.01052, allocations: 25.7 kB / 0.56 GB, free: 10.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002269/0.01075, allocations: 138.8 kB / 0.5601 GB, free: 10.66 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.569e-06/0.01075, allocations: 0 / 0.5601 GB, free: 10.66 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-05/0.0108, allocations: 23.38 kB / 0.5602 GB, free: 10.63 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002434/0.01104, allocations: 496.2 kB / 0.5606 GB, free: 10.13 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.773e-05/0.01106, allocations: 8 kB / 0.5606 GB, free: 10.12 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.167e-05/0.01109, allocations: 23.38 kB / 0.5607 GB, free: 10.09 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.957e-05/0.01115, allocations: 23.31 kB / 0.5607 GB, free: 10.06 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.01115, allocations: 0 / 0.5607 GB, free: 10.06 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.901e-05/0.01124, allocations: 57.58 kB / 0.5607 GB, free: 10 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.01125, allocations: 4 kB / 0.5608 GB, free: 9.996 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.01126, allocations: 0 / 0.5608 GB, free: 9.996 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.01127, allocations: 64 / 0.5608 GB, free: 9.996 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.19e-05/0.01132, allocations: 19.92 kB / 0.5608 GB, free: 9.977 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.01133, allocations: 0 / 0.5608 GB, free: 9.977 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.701e-05/0.01135, allocations: 0 / 0.5608 GB, free: 9.977 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.01136, allocations: 0 / 0.5608 GB, free: 9.977 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001136/0.01147, allocations: 160.6 kB / 0.5609 GB, free: 9.809 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-05/0.0115, allocations: 3.938 kB / 0.5609 GB, free: 9.805 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000164/0.01166, allocations: 163.7 kB / 0.5611 GB, free: 9.629 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001379/0.0118, allocations: 272 kB / 0.5613 GB, free: 9.355 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001416/0.01194, allocations: 268.1 kB / 0.5616 GB, free: 9.086 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000144/0.01208, allocations: 268.2 kB / 0.5619 GB, free: 8.816 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003277/0.01241, allocations: 0.492 MB / 0.5623 GB, free: 8.281 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.807e-05/0.01249, allocations: 152.9 kB / 0.5625 GB, free: 8.125 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.468e-05/0.01256, allocations: 148.8 kB / 0.5626 GB, free: 7.973 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000137/0.0127, allocations: 272 kB / 0.5629 GB, free: 7.699 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001416/0.01284, allocations: 276 kB / 0.5631 GB, free: 7.422 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001292/0.01297, allocations: 264.1 kB / 0.5634 GB, free: 7.156 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001395/0.01311, allocations: 264.1 kB / 0.5636 GB, free: 6.891 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002585/0.01337, allocations: 451.9 kB / 0.5641 GB, free: 6.422 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.668e-05/0.01347, allocations: 160.8 kB / 0.5642 GB, free: 6.258 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001492/0.01362, allocations: 272 kB / 0.5645 GB, free: 5.984 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/0.0138, allocations: 152.9 kB / 0.5646 GB, free: 5.828 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/0.01394, allocations: 272 kB / 0.5649 GB, free: 5.555 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.423e-05/0.01403, allocations: 152.9 kB / 0.565 GB, free: 5.398 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.56e-05/0.01411, allocations: 123.2 kB / 0.5652 GB, free: 5.277 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01411, allocations: 0 / 0.5652 GB, free: 5.277 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002444/0.01435, allocations: 16 kB / 0.5652 GB, free: 5.262 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002611/0.01461, allocations: 230.4 kB / 0.5654 GB, free: 5.027 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.991e-05/0.01471, allocations: 27.61 kB / 0.5654 GB, free: 4.996 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.01472, allocations: 128 / 0.5654 GB, free: 4.996 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.193e-06/0.01472, allocations: 4 kB / 0.5654 GB, free: 4.992 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006188/0.01534, allocations: 0.7061 MB / 0.5661 GB, free: 4.281 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000358/0.01569, allocations: 233.5 kB / 0.5663 GB, free: 4.023 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.043e-05/0.01577, allocations: 59.34 kB / 0.5664 GB, free: 3.945 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.977e-05/0.0158, allocations: 4 kB / 0.5664 GB, free: 3.941 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.182e-05/0.01584, allocations: 16.5 kB / 0.5664 GB, free: 3.926 MB / 490.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01584, allocations: 0 / 0.5664 GB, free: 3.926 MB / 490.7 MB Notification: Performance of Templates: time 0.003936/0.01977, allocations: 0.6783 MB / 0.5671 GB, free: 3.254 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.892153623048216]