Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.001395/0.001395, allocations: 76.81 kB / 20.75 MB, free: 3.734 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.0009011/0.0009011, allocations: 161 kB / 24.17 MB, free: 324 kB / 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.8929/0.8929, allocations: 177.1 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.983/1.983, allocations: 389.6 MB / 0.6354 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 0.7752 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.213e-05/1.333e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003552/0.003565, allocations: 3.466 MB / 0.7785 GB, free: 1.953 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 6.521e-05/0.003631, allocations: 58.91 kB / 0.7786 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.011e-05/0.003651, allocations: 0 / 0.7786 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 9.354e-05/0.003744, allocations: 4.922 kB / 0.7786 GB, free: 1.895 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.609e-05/0.00381, allocations: 18.27 kB / 0.7786 GB, free: 1.879 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000385/0.004195, allocations: 224.5 kB / 0.7788 GB, free: 1.66 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.5e-05/0.00426, allocations: 41.58 kB / 0.7789 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 2.93e-05/0.00429, allocations: 0 / 0.7789 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 4.607e-05/0.004336, allocations: 23.91 kB / 0.7789 GB, free: 1.598 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.497e-05/0.004391, allocations: 7.984 kB / 0.7789 GB, free: 1.59 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 9.237e-06/0.0044, allocations: 0.5625 kB / 0.7789 GB, free: 1.59 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001827/0.004583, allocations: 144.5 kB / 0.779 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.49e-05/0.004618, allocations: 8 kB / 0.779 GB, free: 1.441 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.559e-05/0.004633, allocations: 11.97 kB / 0.7791 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001635/0.004797, allocations: 134.5 kB / 0.7792 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.443e-06/0.004798, allocations: 0 / 0.7792 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.31e-07/0.004799, allocations: 0 / 0.7792 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.595e-06/0.004802, allocations: 0 / 0.7792 GB, free: 1.301 MB / 0.7292 GB 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.0002343/0.005036, allocations: 244.8 kB / 0.7794 GB, free: 1.039 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.005071, allocations: 9.344 kB / 0.7794 GB, free: 1.031 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.415e-05/0.005095, allocations: 8.922 kB / 0.7794 GB, free: 1.023 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.49e-05/0.00516, allocations: 109.5 kB / 0.7795 GB, free: 0.8945 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.264e-05/0.005203, allocations: 55.97 kB / 0.7796 GB, free: 0.8281 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.005213, allocations: 4.359 kB / 0.7796 GB, free: 0.8242 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.946e-05/0.005302, allocations: 83.42 kB / 0.7797 GB, free: 0.7266 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/0.005309, allocations: 192 / 0.7797 GB, free: 0.7266 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.274e-06/0.005316, allocations: 3.938 kB / 0.7797 GB, free: 0.7227 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.717e-05/0.005333, allocations: 4 kB / 0.7797 GB, free: 0.7188 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.696e-05/0.00535, allocations: 7.984 kB / 0.7797 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002732/0.005623, allocations: 193.9 kB / 0.7799 GB, free: 0.5039 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 2.676e-05/0.00565, allocations: 23.64 kB / 0.7799 GB, free: 484 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.947e-06/0.005659, allocations: 4.859 kB / 0.7799 GB, free: 476 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.788e-05/0.005707, allocations: 40.02 kB / 0.7799 GB, free: 436 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.005726, allocations: 39.56 kB / 0.78 GB, free: 388 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.005727, allocations: 0 / 0.78 GB, free: 388 kB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 7.443e-05/0.005801, allocations: 34.19 kB / 0.78 GB, free: 348 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.168e-05/0.005823, allocations: 56.22 kB / 0.7801 GB, free: 280 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.651e-05/0.005869, allocations: 102.7 kB / 0.7802 GB, free: 164 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.298e-06/0.005879, allocations: 29.7 kB / 0.7802 GB, free: 128 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.988e-05/0.005909, allocations: 89.39 kB / 0.7803 GB, free: 36 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.847e-06/0.005912, allocations: 3.953 kB / 0.7803 GB, free: 32 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.191e-05/0.005934, allocations: 21.7 kB / 0.7803 GB, free: 4 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.002e-05/0.006014, allocations: 315.7 kB / 0.7806 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.819e-06/0.006019, allocations: 0 / 0.7806 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.49e-05/0.006034, allocations: 19.11 kB / 0.7806 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.172e-05/0.006056, allocations: 16.55 kB / 0.7806 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.006058, allocations: 1.594 kB / 0.7806 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 3.899e-05/0.006097, allocations: 45.62 kB / 0.7807 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.006106, allocations: 7.938 kB / 0.7807 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.00611, allocations: 0 / 0.7807 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.006122, allocations: 4.75 kB / 0.7807 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.665e-05/0.006148, allocations: 4 kB / 0.7807 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.8e-06/0.006153, allocations: 4.953 kB / 0.7807 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.097e-05/0.006164, allocations: 0 / 0.7807 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.006173, allocations: 9.156 kB / 0.7807 GB, free: 15.56 MB / 0.7448 GB 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 4.679e-05/0.00622, allocations: 112.6 kB / 0.7808 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.172e-05/0.006231, allocations: 3.938 kB / 0.7808 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.822e-05/0.00631, allocations: 121.8 kB / 0.7809 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-05/0.006351, allocations: 181.6 kB / 0.7811 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.286e-05/0.006394, allocations: 180.2 kB / 0.7813 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.65e-05/0.00643, allocations: 180.3 kB / 0.7815 GB, free: 14.76 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.006545, allocations: 333.3 kB / 0.7818 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.029e-05/0.006566, allocations: 105.6 kB / 0.7819 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.14e-05/0.006587, allocations: 105.5 kB / 0.782 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.682e-05/0.006624, allocations: 176.5 kB / 0.7821 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.731e-05/0.006661, allocations: 180.9 kB / 0.7823 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-05/0.006697, allocations: 185.5 kB / 0.7825 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0002914/0.006989, allocations: 180.2 kB / 0.7827 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.696e-05/0.007066, allocations: 307.8 kB / 0.783 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.581e-05/0.007091, allocations: 109 kB / 0.7831 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.855e-05/0.00714, allocations: 184.9 kB / 0.7832 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.593e-05/0.007216, allocations: 104.9 kB / 0.7833 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/0.00726, allocations: 185.6 kB / 0.7835 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/0.007282, allocations: 101 kB / 0.7836 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.789e-05/0.0073, allocations: 20.83 kB / 0.7836 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.0073, allocations: 1.125 kB / 0.7836 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001538/0.007453, allocations: 35.81 kB / 0.7837 GB, free: 12.37 MB / 0.7448 GB 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.0001786/0.007632, allocations: 223.2 kB / 0.7839 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 4.384e-05/0.007676, allocations: 20.8 kB / 0.7839 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.007679, allocations: 0 / 0.7839 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.61e-07/0.00768, allocations: 1.125 kB / 0.7839 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001901/0.00787, allocations: 459.7 kB / 0.7843 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002969/0.008167, allocations: 192.2 kB / 0.7845 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.553e-05/0.008192, allocations: 52.7 kB / 0.7846 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.027e-05/0.008213, allocations: 5.438 kB / 0.7846 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.325e-05/0.008266, allocations: 63.34 kB / 0.7846 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of SimCode: time 5.01e-07/0.008266, allocations: 0 / 0.7846 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of Templates: time 0.002548/0.01081, allocations: 1.347 MB / 0.786 GB, free: 10.13 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_13_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_13_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_13_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_13_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.8335913410410285]