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.001731/0.001732, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002081/0.002081, allocations: 196.8 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.586/1.586, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.765/1.765, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001455/0.001455, allocations: 70.89 kB / 0.6715 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2365, allocations: 114.5 MB / 0.7833 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005325/0.2419, allocations: 4.008 MB / 0.7873 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000183/0.2421, allocations: 151.5 kB / 0.7874 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.428e-05/0.2421, allocations: 0 / 0.7874 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.915e-05/0.2422, allocations: 7.938 kB / 0.7874 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.802e-05/0.2423, allocations: 15.91 kB / 0.7874 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002907/0.2426, allocations: 71.77 kB / 0.7875 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.268e-05/0.2427, allocations: 31.86 kB / 0.7875 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.167e-05/0.2427, allocations: 3.984 kB / 0.7875 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.566e-05/0.2428, allocations: 8 kB / 0.7875 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.142e-05/0.2428, allocations: 19.91 kB / 0.7876 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.2429, allocations: 0 / 0.7876 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001833/0.2431, allocations: 67.75 kB / 0.7876 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.924e-05/0.2431, allocations: 4 kB / 0.7876 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.846e-05/0.2431, allocations: 15.92 kB / 0.7876 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.2433, allocations: 36.19 kB / 0.7877 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2433, allocations: 4 kB / 0.7877 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2433, allocations: 0 / 0.7877 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.2433, allocations: 0 / 0.7877 GB, free: 9.035 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.0003823/0.2437, allocations: 335.4 kB / 0.788 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.2437, allocations: 8.031 kB / 0.788 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.925e-05/0.2438, allocations: 4.938 kB / 0.788 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.2439, allocations: 168.4 kB / 0.7882 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.555e-05/0.244, allocations: 26.27 kB / 0.7882 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.244, allocations: 4.375 kB / 0.7882 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.2441, allocations: 49.59 kB / 0.7882 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-06/0.2441, allocations: 3.938 kB / 0.7882 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.2442, allocations: 4 kB / 0.7883 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/0.2442, allocations: 0 / 0.7883 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.48e-05/0.2442, allocations: 19.92 kB / 0.7883 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004112/0.2446, allocations: 334 kB / 0.7886 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 2.859e-05/0.2447, allocations: 18.58 kB / 0.7886 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.415e-05/0.2447, allocations: 4.859 kB / 0.7886 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.544e-05/0.2448, allocations: 89.16 kB / 0.7887 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.2448, allocations: 34.56 kB / 0.7887 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.2448, allocations: 4 kB / 0.7887 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.000131/0.245, allocations: 33.64 kB / 0.7888 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.245, allocations: 55.41 kB / 0.7888 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.582e-05/0.2451, allocations: 105.8 kB / 0.7889 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.2451, allocations: 25.7 kB / 0.7889 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.12e-05/0.2451, allocations: 88.05 kB / 0.789 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.78e-06/0.2452, allocations: 3.906 kB / 0.789 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.983e-05/0.2452, allocations: 21.7 kB / 0.7891 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.445e-05/0.2453, allocations: 318.9 kB / 0.7894 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.396e-05/0.2453, allocations: 4 kB / 0.7894 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.089e-05/0.2454, allocations: 21.7 kB / 0.7894 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.805e-05/0.2454, allocations: 17.66 kB / 0.7894 GB, free: 7 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2454, allocations: 0 / 0.7894 GB, free: 7 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.913e-05/0.2455, allocations: 53.72 kB / 0.7895 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.2455, allocations: 4 kB / 0.7895 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.2455, allocations: 3.938 kB / 0.7895 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/0.2455, allocations: 0 / 0.7895 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.808e-05/0.2456, allocations: 4 kB / 0.7895 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.2456, allocations: 4 kB / 0.7895 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.708e-05/0.2456, allocations: 3.938 kB / 0.7895 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.2456, allocations: 0 / 0.7895 GB, free: 6.922 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.505e-05/0.2457, allocations: 118.4 kB / 0.7896 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.2457, allocations: 8.016 kB / 0.7896 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.652e-05/0.2458, allocations: 120.8 kB / 0.7897 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.346e-05/0.2459, allocations: 180.2 kB / 0.7899 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-05/0.2459, allocations: 184.3 kB / 0.7901 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.285e-05/0.246, allocations: 188.2 kB / 0.7902 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/0.2462, allocations: 409.1 kB / 0.7906 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.629e-05/0.2462, allocations: 113 kB / 0.7907 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.156e-05/0.2463, allocations: 104.9 kB / 0.7908 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-05/0.2463, allocations: 176.3 kB / 0.791 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.743e-05/0.2464, allocations: 180.2 kB / 0.7912 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.372e-05/0.2465, allocations: 180.3 kB / 0.7913 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.008e-05/0.2465, allocations: 188.2 kB / 0.7915 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000123/0.2467, allocations: 303.8 kB / 0.7918 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.827e-05/0.2467, allocations: 182 kB / 0.792 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.378e-05/0.2468, allocations: 184.2 kB / 0.7922 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.2469, allocations: 112.9 kB / 0.7923 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.823e-05/0.247, allocations: 180.5 kB / 0.7924 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.444e-05/0.247, allocations: 105 kB / 0.7925 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.966e-05/0.2471, allocations: 79.28 kB / 0.7926 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2471, allocations: 0 / 0.7926 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002342/0.2473, allocations: 23.94 kB / 0.7926 GB, free: 3.453 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 (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.0002571/0.2476, allocations: 206.4 kB / 0.7928 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.924e-05/0.2477, allocations: 4 kB / 0.7928 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2477, allocations: 0 / 0.7928 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.2477, allocations: 0 / 0.7928 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.2481, allocations: 467.7 kB / 0.7933 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002396/0.2483, allocations: 189.3 kB / 0.7935 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.2485, allocations: 0.6768 MB / 0.7941 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.878e-05/0.2486, allocations: 7.984 kB / 0.7941 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.562e-05/0.2486, allocations: 7.438 kB / 0.7941 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2486, allocations: 4 kB / 0.7941 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of Templates: time 0.002474/0.2511, allocations: 0.5985 MB / 0.7947 GB, free: 1.258 MB / 0.6075 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)