Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.7439/0.7439, allocations: 117.9 MB / 133.9 MB, free: 4.52 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001165/0.001165, allocations: 175.1 kB / 161.7 MB, free: 2.766 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.227/2.227, allocations: 205.3 MB / 394.8 MB, free: 20.98 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008592/0.0008593, allocations: 106.2 kB / 470.1 MB, free: 12.15 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005843/0.0005844, allocations: 16 kB / 0.5423 GB, free: 6.895 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4042/0.4048, allocations: 74.53 MB / 0.6151 GB, free: 54.15 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7149/1.12, allocations: 335.9 MB / 0.9432 GB, free: 11.84 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/1.12, allocations: 81.28 kB / 0.9432 GB, free: 11.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.02408/1.144, allocations: 11.56 MB / 0.9545 GB, free: 2.82 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.735e-06/1.144, allocations: 0 / 0.9545 GB, free: 2.82 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.965e-06/1.144, allocations: 4 kB / 0.9545 GB, free: 2.816 MB / 0.6042 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.0003629/1.145, allocations: 327.5 kB / 0.9548 GB, free: 2.445 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/1.145, allocations: 12.03 kB / 0.9548 GB, free: 2.434 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.117e-05/1.145, allocations: 4.938 kB / 0.9548 GB, free: 2.43 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/1.145, allocations: 171.8 kB / 0.955 GB, free: 2.227 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.042e-05/1.145, allocations: 30.27 kB / 0.955 GB, free: 2.191 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/1.145, allocations: 4.375 kB / 0.955 GB, free: 2.188 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/1.145, allocations: 38.25 kB / 0.9551 GB, free: 2.145 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/1.145, allocations: 3.938 kB / 0.9551 GB, free: 2.141 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/1.145, allocations: 0 / 0.9551 GB, free: 2.141 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.946e-05/1.145, allocations: 3.438 kB / 0.9551 GB, free: 2.141 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.523e-05/1.145, allocations: 15.92 kB / 0.9551 GB, free: 2.125 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004548/1.146, allocations: 337.3 kB / 0.9554 GB, free: 1.734 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.508e-05/1.146, allocations: 18.52 kB / 0.9554 GB, free: 1.711 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.727e-05/1.146, allocations: 4.859 kB / 0.9554 GB, free: 1.703 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.012e-05/1.146, allocations: 89.11 kB / 0.9555 GB, free: 1.598 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/1.146, allocations: 30.56 kB / 0.9556 GB, free: 1.559 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/1.146, allocations: 4 kB / 0.9556 GB, free: 1.555 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001537/1.146, allocations: 41.62 kB / 0.9556 GB, free: 1.508 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/1.146, allocations: 51.41 kB / 0.9557 GB, free: 1.445 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.385e-05/1.146, allocations: 101.5 kB / 0.9558 GB, free: 1.34 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/1.146, allocations: 25.7 kB / 0.9558 GB, free: 1.309 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.71e-05/1.146, allocations: 84.05 kB / 0.9559 GB, free: 1.223 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.616e-06/1.146, allocations: 7.062 kB / 0.9559 GB, free: 1.219 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-06/1.146, allocations: 0 / 0.9559 GB, free: 1.219 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001233/1.146, allocations: 315 kB / 0.9562 GB, free: 0.9023 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.153e-05/1.146, allocations: 0 / 0.9562 GB, free: 0.9023 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.485e-05/1.146, allocations: 21.39 kB / 0.9562 GB, free: 0.8789 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.815e-05/1.147, allocations: 29.16 kB / 0.9562 GB, free: 0.8477 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/1.147, allocations: 0 / 0.9562 GB, free: 0.8477 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.328e-05/1.147, allocations: 49.22 kB / 0.9563 GB, free: 0.7969 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/1.147, allocations: 12.06 kB / 0.9563 GB, free: 0.7852 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.475e-06/1.147, allocations: 0 / 0.9563 GB, free: 0.7852 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/1.147, allocations: 4.031 kB / 0.9563 GB, free: 0.7812 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.579e-05/1.147, allocations: 4 kB / 0.9563 GB, free: 0.7773 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/1.147, allocations: 0 / 0.9563 GB, free: 0.7773 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.262e-05/1.147, allocations: 15.86 kB / 0.9563 GB, free: 0.7617 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/1.147, allocations: 0 / 0.9563 GB, free: 0.7617 MB / 0.6042 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.679e-05/1.147, allocations: 117.8 kB / 0.9564 GB, free: 0.6367 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.152e-05/1.147, allocations: 0 / 0.9564 GB, free: 0.6367 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001175/1.147, allocations: 120.5 kB / 0.9565 GB, free: 0.5156 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.594e-05/1.147, allocations: 184.3 kB / 0.9567 GB, free: 336 kB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.889e-05/1.147, allocations: 180.2 kB / 0.9569 GB, free: 148 kB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.78e-05/1.147, allocations: 180.2 kB / 0.957 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002491/1.148, allocations: 413 kB / 0.9574 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.274e-05/1.148, allocations: 101 kB / 0.9575 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.627e-05/1.148, allocations: 108.9 kB / 0.9576 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.166e-05/1.148, allocations: 176.3 kB / 0.9578 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.033e-05/1.148, allocations: 184.1 kB / 0.958 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.98e-05/1.148, allocations: 184.2 kB / 0.9582 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-05/1.148, allocations: 188.2 kB / 0.9583 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/1.148, allocations: 307 kB / 0.9586 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.323e-05/1.148, allocations: 186 kB / 0.9588 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/1.148, allocations: 176.3 kB / 0.959 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/1.148, allocations: 108.9 kB / 0.9591 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.477e-05/1.149, allocations: 188.1 kB / 0.9593 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.903e-05/1.149, allocations: 105 kB / 0.9594 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.043e-05/1.149, allocations: 79.28 kB / 0.9594 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.51e-07/1.149, allocations: 4 kB / 0.9594 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002742/1.149, allocations: 12 kB / 0.9594 GB, free: 13.33 MB / 0.6198 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.0002426/1.149, allocations: 225.1 kB / 0.9597 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.776e-05/1.149, allocations: 8 kB / 0.9597 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/1.149, allocations: 0 / 0.9597 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.433e-06/1.149, allocations: 0 / 0.9597 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004265/1.15, allocations: 0.5301 MB / 0.9602 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002731/1.15, allocations: 187.8 kB / 0.9604 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/1.15, allocations: 0.6731 MB / 0.961 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.092e-05/1.15, allocations: 8 kB / 0.961 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.924e-05/1.15, allocations: 11.44 kB / 0.961 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of SimCode: time 3.21e-07/1.15, allocations: 0 / 0.961 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of Templates: time 0.003311/1.154, allocations: 0.7898 MB / 0.9618 GB, free: 10.86 MB / 0.6198 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)