Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.008282/0.008282, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001764/0.001764, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.526/1.526, allocations: 205.1 MB / 222.5 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.638/1.638, allocations: 251.7 MB / 0.5094 GB, free: 3.09 MB / 414.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.001447/0.001448, allocations: 63.91 kB / 0.7258 GB, free: 9.031 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.1997, allocations: 104.7 MB / 0.828 GB, free: 216 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.0048/0.2046, allocations: 4.024 MB / 0.8319 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001733/0.2048, allocations: 143.5 kB / 0.8321 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.51e-05/0.2048, allocations: 0 / 0.8321 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 8.358e-05/0.2049, allocations: 3.938 kB / 0.8321 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.756e-05/0.205, allocations: 19.97 kB / 0.8321 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.2053, allocations: 75.7 kB / 0.8322 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.433e-05/0.2054, allocations: 31.84 kB / 0.8322 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.502e-05/0.2054, allocations: 0 / 0.8322 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.341e-05/0.2054, allocations: 15.94 kB / 0.8322 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.367e-05/0.2055, allocations: 15.97 kB / 0.8322 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.879e-06/0.2055, allocations: 0 / 0.8322 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001728/0.2057, allocations: 55.81 kB / 0.8323 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.707e-05/0.2057, allocations: 11.94 kB / 0.8323 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.266e-05/0.2058, allocations: 11.98 kB / 0.8323 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001173/0.2059, allocations: 43.84 kB / 0.8324 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2059, allocations: 0 / 0.8324 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2059, allocations: 0 / 0.8324 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.2059, allocations: 0 / 0.8324 GB, free: 11.73 MB / 0.6544 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.000355/0.2063, allocations: 327.6 kB / 0.8327 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.2063, allocations: 8.031 kB / 0.8327 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.605e-05/0.2064, allocations: 8.922 kB / 0.8327 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.2065, allocations: 168.3 kB / 0.8328 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.174e-05/0.2066, allocations: 34.27 kB / 0.8329 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.2066, allocations: 4.375 kB / 0.8329 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.2067, allocations: 49.61 kB / 0.8329 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.2067, allocations: 0 / 0.8329 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.2067, allocations: 0 / 0.8329 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.787e-05/0.2068, allocations: 7.984 kB / 0.8329 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.935e-05/0.2068, allocations: 12 kB / 0.833 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003995/0.2072, allocations: 341.9 kB / 0.8333 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 3.737e-05/0.2073, allocations: 18.52 kB / 0.8333 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.206e-05/0.2073, allocations: 4.859 kB / 0.8333 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.089e-05/0.2074, allocations: 97.08 kB / 0.8334 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.2074, allocations: 30.56 kB / 0.8334 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.2074, allocations: 0 / 0.8334 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001252/0.2075, allocations: 37.7 kB / 0.8335 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.2076, allocations: 59.34 kB / 0.8335 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.73e-05/0.2077, allocations: 97.84 kB / 0.8336 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.2077, allocations: 25.7 kB / 0.8336 GB, free: 10.19 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.788e-05/0.2077, allocations: 92.05 kB / 0.8337 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.068e-06/0.2077, allocations: 3.938 kB / 0.8337 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.954e-05/0.2078, allocations: 17.7 kB / 0.8337 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.892e-05/0.2079, allocations: 318.8 kB / 0.834 GB, free: 9.75 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.494e-05/0.2079, allocations: 8.125 kB / 0.8341 GB, free: 9.742 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.288e-05/0.2079, allocations: 17.7 kB / 0.8341 GB, free: 9.719 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.149e-05/0.208, allocations: 17.72 kB / 0.8341 GB, free: 9.695 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.208, allocations: 0 / 0.8341 GB, free: 9.695 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.915e-05/0.2081, allocations: 53.62 kB / 0.8341 GB, free: 9.637 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.2081, allocations: 6.812 kB / 0.8341 GB, free: 9.633 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.2081, allocations: 4.062 kB / 0.8341 GB, free: 9.629 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.2081, allocations: 0 / 0.8341 GB, free: 9.629 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.179e-05/0.2082, allocations: 8 kB / 0.8342 GB, free: 9.621 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.2082, allocations: 0 / 0.8342 GB, free: 9.621 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.85e-05/0.2082, allocations: 3.906 kB / 0.8342 GB, free: 9.617 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.2082, allocations: 0 / 0.8342 GB, free: 9.617 MB / 0.6544 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 6.181e-05/0.2083, allocations: 121.7 kB / 0.8343 GB, free: 9.488 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.482e-05/0.2083, allocations: 0 / 0.8343 GB, free: 9.488 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001061/0.2084, allocations: 124.9 kB / 0.8344 GB, free: 9.355 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.098e-05/0.2085, allocations: 180.2 kB / 0.8346 GB, free: 9.172 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.829e-05/0.2085, allocations: 184.2 kB / 0.8347 GB, free: 8.984 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.616e-05/0.2086, allocations: 176.3 kB / 0.8349 GB, free: 8.805 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002166/0.2088, allocations: 417.1 kB / 0.8353 GB, free: 8.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-05/0.2089, allocations: 105 kB / 0.8354 GB, free: 8.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.741e-05/0.2089, allocations: 104.9 kB / 0.8355 GB, free: 8.121 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.524e-05/0.209, allocations: 176.3 kB / 0.8357 GB, free: 7.941 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.104e-05/0.209, allocations: 180.3 kB / 0.8358 GB, free: 7.758 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.865e-05/0.2091, allocations: 188.2 kB / 0.836 GB, free: 7.566 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.432e-05/0.2091, allocations: 176.3 kB / 0.8362 GB, free: 7.387 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/0.2093, allocations: 311.7 kB / 0.8365 GB, free: 7.059 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.909e-05/0.2093, allocations: 186.1 kB / 0.8367 GB, free: 6.852 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.09e-05/0.2094, allocations: 184.2 kB / 0.8368 GB, free: 6.664 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.2096, allocations: 105 kB / 0.8369 GB, free: 6.555 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.088e-05/0.2096, allocations: 184.2 kB / 0.8371 GB, free: 6.367 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.718e-05/0.2097, allocations: 105 kB / 0.8372 GB, free: 6.258 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.078e-05/0.2097, allocations: 87.22 kB / 0.8373 GB, free: 6.172 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.523e-06/0.2097, allocations: 0 / 0.8373 GB, free: 6.172 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002401/0.21, allocations: 23.88 kB / 0.8373 GB, free: 6.148 MB / 0.6544 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.0002137/0.2102, allocations: 202.4 kB / 0.8375 GB, free: 5.941 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 6.493e-05/0.2103, allocations: 11.94 kB / 0.8375 GB, free: 5.93 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2103, allocations: 0 / 0.8375 GB, free: 5.93 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.706e-06/0.2103, allocations: 4 kB / 0.8375 GB, free: 5.926 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.2106, allocations: 455.7 kB / 0.838 GB, free: 5.477 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002265/0.2109, allocations: 189.9 kB / 0.8382 GB, free: 5.266 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/0.2111, allocations: 0.6768 MB / 0.8388 GB, free: 4.562 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.568e-05/0.2112, allocations: 4 kB / 0.8388 GB, free: 4.559 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.509e-05/0.2112, allocations: 11.38 kB / 0.8388 GB, free: 4.547 MB / 0.6544 GB Notification: Performance of SimCode: time 2.71e-07/0.2112, allocations: 4 kB / 0.8388 GB, free: 4.543 MB / 0.6544 GB Notification: Performance of Templates: time 0.002499/0.2137, allocations: 0.5944 MB / 0.8394 GB, free: 3.961 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)