Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.833/1.833, allocations: 292.3 MB / 308.1 MB, free: 4.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001537/0.001537, allocations: 194 kB / 376.9 MB, free: 1.816 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.679/1.679, allocations: 205.1 MB / 0.6354 GB, free: 9.785 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001091/0.001091, allocations: 100.9 kB / 0.748 GB, free: 61.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001996, allocations: 51.92 kB / 0.8703 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3361, allocations: 114.5 MB / 0.9822 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.007271/0.3434, allocations: 4.056 MB / 0.9862 GB, free: 6.32 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0002194/0.3437, allocations: 151.5 kB / 0.9863 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.681e-05/0.3438, allocations: 0 / 0.9863 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001282/0.3439, allocations: 7.938 kB / 0.9863 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.983e-05/0.344, allocations: 11.97 kB / 0.9863 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003972/0.3444, allocations: 67.78 kB / 0.9864 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.3446, allocations: 63.75 kB / 0.9865 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.427e-05/0.3446, allocations: 0 / 0.9865 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.266e-05/0.3447, allocations: 11.98 kB / 0.9865 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.077e-05/0.3448, allocations: 15.98 kB / 0.9865 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.3448, allocations: 0 / 0.9865 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002739/0.3451, allocations: 71.78 kB / 0.9865 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.04e-05/0.3451, allocations: 11.94 kB / 0.9866 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.143e-05/0.3452, allocations: 4 kB / 0.9866 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.3454, allocations: 48.11 kB / 0.9866 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.776e-06/0.3454, allocations: 0 / 0.9866 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3454, allocations: 0 / 0.9866 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.3454, allocations: 0 / 0.9866 GB, free: 5.863 MB / 0.7136 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.0004686/0.3459, allocations: 347.4 kB / 0.9869 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.3459, allocations: 8.031 kB / 0.9869 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.942e-05/0.346, allocations: 0.9375 kB / 0.9869 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.3461, allocations: 168.4 kB / 0.9871 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.231e-05/0.3462, allocations: 30.27 kB / 0.9871 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.3462, allocations: 8.297 kB / 0.9871 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.3464, allocations: 57.59 kB / 0.9872 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.3464, allocations: 0 / 0.9872 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.3464, allocations: 0 / 0.9872 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.958e-05/0.3464, allocations: 0 / 0.9872 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.897e-05/0.3465, allocations: 15.92 kB / 0.9872 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004914/0.347, allocations: 338 kB / 0.9875 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.196e-05/0.3471, allocations: 22.58 kB / 0.9876 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.538e-05/0.3471, allocations: 4.859 kB / 0.9876 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.762e-05/0.3472, allocations: 81.17 kB / 0.9876 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.143e-05/0.3472, allocations: 34.56 kB / 0.9877 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.3472, allocations: 0 / 0.9877 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001493/0.3474, allocations: 45.53 kB / 0.9877 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.3474, allocations: 51.41 kB / 0.9878 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.487e-05/0.3475, allocations: 105.8 kB / 0.9879 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.3475, allocations: 25.7 kB / 0.9879 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.948e-05/0.3476, allocations: 92.03 kB / 0.988 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.304e-06/0.3476, allocations: 0 / 0.988 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-05/0.3477, allocations: 17.72 kB / 0.988 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.3478, allocations: 326.9 kB / 0.9883 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.629e-05/0.3478, allocations: 3.984 kB / 0.9883 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.35e-05/0.3478, allocations: 13.72 kB / 0.9883 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.427e-05/0.3479, allocations: 29.59 kB / 0.9884 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3479, allocations: 0 / 0.9884 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.058e-05/0.348, allocations: 45.69 kB / 0.9884 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.348, allocations: 16 kB / 0.9884 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.348, allocations: 0 / 0.9884 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.348, allocations: 0 / 0.9884 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.698e-05/0.3481, allocations: 7.984 kB / 0.9884 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3481, allocations: 0 / 0.9884 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.066e-05/0.3481, allocations: 4 kB / 0.9884 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.3481, allocations: 0 / 0.9884 GB, free: 3.727 MB / 0.7136 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 7.543e-05/0.3482, allocations: 113.8 kB / 0.9885 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.3482, allocations: 3.906 kB / 0.9885 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.3484, allocations: 125 kB / 0.9887 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.626e-05/0.3484, allocations: 180.2 kB / 0.9888 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.589e-05/0.3485, allocations: 176.3 kB / 0.989 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.885e-05/0.3485, allocations: 180.2 kB / 0.9892 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.3488, allocations: 409.2 kB / 0.9896 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.933e-05/0.3488, allocations: 108.9 kB / 0.9897 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.489e-05/0.3488, allocations: 105 kB / 0.9898 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.16e-05/0.3489, allocations: 180.2 kB / 0.9899 GB, free: 2.059 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.125e-05/0.349, allocations: 184.1 kB / 0.9901 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.399e-05/0.3491, allocations: 180.3 kB / 0.9903 GB, free: 1.688 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.325e-05/0.3492, allocations: 188.2 kB / 0.9905 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004146/0.3496, allocations: 0.8376 MB / 0.9913 GB, free: 0.5938 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.975e-05/0.3497, allocations: 186.4 kB / 0.9915 GB, free: 396 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.125e-05/0.3498, allocations: 188.5 kB / 0.9916 GB, free: 200 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.3499, allocations: 112.9 kB / 0.9917 GB, free: 80 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.513e-05/0.35, allocations: 188.2 kB / 0.9919 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.364e-05/0.3501, allocations: 109 kB / 0.992 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.144e-05/0.3502, allocations: 79.28 kB / 0.9921 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3502, allocations: 0 / 0.9921 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004201/0.3506, allocations: 19.94 kB / 0.9921 GB, free: 15.68 MB / 0.7292 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.0003798/0.351, allocations: 198.5 kB / 0.9923 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.629e-05/0.3511, allocations: 11.94 kB / 0.9923 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3511, allocations: 3.938 kB / 0.9923 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.944e-06/0.3511, allocations: 0 / 0.9923 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004299/0.3515, allocations: 0.5329 MB / 0.9928 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003276/0.3519, allocations: 183.6 kB / 0.993 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.3522, allocations: 0.6731 MB / 0.9937 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.476e-05/0.3522, allocations: 7.938 kB / 0.9937 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.947e-05/0.3522, allocations: 15.42 kB / 0.9937 GB, free: 14 MB / 0.7292 GB Notification: Performance of SimCode: time 2.2e-07/0.3522, allocations: 0 / 0.9937 GB, free: 14 MB / 0.7292 GB Notification: Performance of Templates: time 0.00298/0.3552, allocations: 0.5738 MB / 0.9943 GB, free: 13.43 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)