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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 100.9 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.655/1.655, allocations: 205.4 MB / 222.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.768/1.768, allocations: 292.5 MB / 0.5497 GB, free: 14.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005743/0.0005746, allocations: 20.25 kB / 0.6735 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3324, allocations: 116.3 MB / 0.7871 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004496/0.337, allocations: 3.398 MB / 0.7904 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001902/0.3372, allocations: 123.7 kB / 0.7905 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.37e-05/0.3373, allocations: 0 / 0.7905 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001275/0.3374, allocations: 4 kB / 0.7905 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.086e-05/0.3375, allocations: 7.984 kB / 0.7905 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003602/0.3378, allocations: 63.14 kB / 0.7906 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.765e-05/0.3379, allocations: 15.98 kB / 0.7906 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.11e-05/0.338, allocations: 4 kB / 0.7906 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.964e-05/0.338, allocations: 11.98 kB / 0.7906 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.497e-05/0.3381, allocations: 7.984 kB / 0.7906 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.3381, allocations: 0 / 0.7906 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001813/0.3383, allocations: 35.91 kB / 0.7907 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.956e-05/0.3384, allocations: 4 kB / 0.7907 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.299e-05/0.3384, allocations: 33.69 kB / 0.7907 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.3385, allocations: 24.27 kB / 0.7907 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3385, allocations: 0 / 0.7907 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.645e-06/0.3386, allocations: 4 kB / 0.7907 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.3386, allocations: 0 / 0.7907 GB, free: 8.273 MB / 0.6075 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.0005062/0.3391, allocations: 335.3 kB / 0.7911 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.3391, allocations: 8.031 kB / 0.7911 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.553e-05/0.3392, allocations: 7.859 kB / 0.7911 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.3394, allocations: 167 kB / 0.7912 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-05/0.3395, allocations: 25.7 kB / 0.7913 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.3395, allocations: 3.984 kB / 0.7913 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.3397, allocations: 53.67 kB / 0.7913 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.3397, allocations: 3.984 kB / 0.7913 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.3397, allocations: 0 / 0.7913 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.626e-05/0.3397, allocations: 0 / 0.7913 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.319e-05/0.3398, allocations: 11.95 kB / 0.7913 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000621/0.3404, allocations: 334 kB / 0.7916 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.783e-05/0.3405, allocations: 22.58 kB / 0.7917 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000109/0.3406, allocations: 89.16 kB / 0.7917 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.3407, allocations: 30.56 kB / 0.7918 GB, free: 7 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.3407, allocations: 0 / 0.7918 GB, free: 7 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.00021/0.3409, allocations: 41.59 kB / 0.7918 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.3409, allocations: 51.41 kB / 0.7919 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.792e-05/0.341, allocations: 105.8 kB / 0.792 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.341, allocations: 25.83 kB / 0.792 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.577e-05/0.3411, allocations: 92.05 kB / 0.7921 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.612e-06/0.3411, allocations: 3.906 kB / 0.7921 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-06/0.3411, allocations: 4 kB / 0.7921 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.3413, allocations: 318.8 kB / 0.7924 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.448e-05/0.3413, allocations: 4 kB / 0.7924 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.125e-05/0.3413, allocations: 13.72 kB / 0.7924 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.291e-05/0.3413, allocations: 15.98 kB / 0.7924 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3413, allocations: 0 / 0.7924 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.006e-05/0.3414, allocations: 45.64 kB / 0.7925 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.3414, allocations: 4 kB / 0.7925 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.3415, allocations: 4 kB / 0.7925 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.3415, allocations: 4 kB / 0.7925 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.89e-05/0.3415, allocations: 11.94 kB / 0.7925 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.3415, allocations: 0 / 0.7925 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.227e-05/0.3416, allocations: 4 kB / 0.7925 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.3416, allocations: 3.938 kB / 0.7925 GB, free: 6.203 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.138e-05/0.3417, allocations: 109.9 kB / 0.7926 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.415e-05/0.3417, allocations: 4 kB / 0.7926 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.3418, allocations: 124.9 kB / 0.7927 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-05/0.3419, allocations: 176.3 kB / 0.7929 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.234e-05/0.342, allocations: 184.2 kB / 0.7931 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.708e-05/0.3421, allocations: 180.3 kB / 0.7932 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002481/0.3423, allocations: 409.2 kB / 0.7936 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.26e-05/0.3424, allocations: 101 kB / 0.7937 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.72e-05/0.3424, allocations: 109 kB / 0.7938 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.07e-05/0.3425, allocations: 184.2 kB / 0.794 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.721e-05/0.3426, allocations: 180.3 kB / 0.7942 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.694e-05/0.3427, allocations: 184.2 kB / 0.7944 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.663e-05/0.3428, allocations: 180.3 kB / 0.7945 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001745/0.343, allocations: 311.6 kB / 0.7948 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.851e-05/0.3431, allocations: 182.1 kB / 0.795 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.527e-05/0.3432, allocations: 188.2 kB / 0.7952 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.3433, allocations: 105.3 kB / 0.7953 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.478e-05/0.3434, allocations: 180.3 kB / 0.7954 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.165e-05/0.3435, allocations: 104.9 kB / 0.7955 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.673e-05/0.3435, allocations: 87.27 kB / 0.7956 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.51e-07/0.3435, allocations: 0 / 0.7956 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002779/0.3438, allocations: 23.89 kB / 0.7957 GB, free: 2.746 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001858/0.344, allocations: 190.5 kB / 0.7958 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.973e-05/0.3441, allocations: 8 kB / 0.7958 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3441, allocations: 0 / 0.7958 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.467e-06/0.3441, allocations: 3.938 kB / 0.7958 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004305/0.3445, allocations: 0.5264 MB / 0.7964 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003053/0.3449, allocations: 191.8 kB / 0.7965 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.3452, allocations: 0.6848 MB / 0.7972 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.278e-05/0.3452, allocations: 11.94 kB / 0.7972 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.105e-05/0.3452, allocations: 11.44 kB / 0.7972 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.3453, allocations: 0 / 0.7972 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of Templates: time 0.002775/0.348, allocations: 0.502 MB / 0.7977 GB, free: 0.5625 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: