Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [/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.6771/0.6771, allocations: 117.9 MB / 133.9 MB, free: 4.527 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.001093/0.001093, allocations: 190.2 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 1.91/1.91, allocations: 205.4 MB / 394.8 MB, free: 20.96 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.0007891/0.0007894, allocations: 88.42 kB / 470.1 MB, free: 12.16 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004353/0.0004354, allocations: 12 kB / 0.5423 GB, free: 6.867 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3665, allocations: 74.53 MB / 0.6151 GB, free: 54.14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7082/1.075, allocations: 306.7 MB / 0.9146 GB, free: 8.109 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003408/1.075, allocations: 91.17 kB / 0.9147 GB, free: 8.055 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.01884/1.094, allocations: 7.975 MB / 0.9225 GB, free: 1.598 MB / 0.573 GB Notification: Performance of FrontEnd: time 3.717e-06/1.094, allocations: 0 / 0.9225 GB, free: 1.598 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.129e-05/1.094, allocations: 0 / 0.9225 GB, free: 1.598 MB / 0.573 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.0004412/1.095, allocations: 350.9 kB / 0.9228 GB, free: 1.207 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/1.095, allocations: 8.031 kB / 0.9228 GB, free: 1.199 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.857e-05/1.095, allocations: 8.844 kB / 0.9228 GB, free: 1.191 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/1.095, allocations: 160.4 kB / 0.923 GB, free: 0.9961 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.684e-05/1.095, allocations: 34.25 kB / 0.923 GB, free: 0.957 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/1.095, allocations: 4.375 kB / 0.923 GB, free: 0.9531 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/1.095, allocations: 41.81 kB / 0.9231 GB, free: 0.9102 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/1.095, allocations: 3.938 kB / 0.9231 GB, free: 0.9062 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/1.095, allocations: 0 / 0.9231 GB, free: 0.9062 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.053e-05/1.095, allocations: 0 / 0.9231 GB, free: 0.9062 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.454e-05/1.095, allocations: 19.3 kB / 0.9231 GB, free: 0.8906 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000816/1.096, allocations: 0.5818 MB / 0.9237 GB, free: 204 kB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 4.753e-05/1.096, allocations: 18.58 kB / 0.9237 GB, free: 176 kB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.78e-05/1.096, allocations: 4.859 kB / 0.9237 GB, free: 168 kB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000296/1.096, allocations: 349.3 kB / 0.924 GB, free: 15.76 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.049e-05/1.096, allocations: 34.56 kB / 0.9241 GB, free: 15.71 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.413e-06/1.096, allocations: 3.938 kB / 0.9241 GB, free: 15.71 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.000226/1.097, allocations: 41.62 kB / 0.9241 GB, free: 15.66 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/1.097, allocations: 54.22 kB / 0.9241 GB, free: 15.6 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.033e-05/1.097, allocations: 105.8 kB / 0.9243 GB, free: 15.49 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/1.097, allocations: 28.58 kB / 0.9243 GB, free: 15.46 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.536e-05/1.097, allocations: 84.05 kB / 0.9244 GB, free: 15.37 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.775e-06/1.097, allocations: 3.984 kB / 0.9244 GB, free: 15.37 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.314e-06/1.097, allocations: 0 / 0.9244 GB, free: 15.37 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001447/1.097, allocations: 313.6 kB / 0.9247 GB, free: 15.05 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.243e-05/1.097, allocations: 8.125 kB / 0.9247 GB, free: 15.05 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.924e-05/1.097, allocations: 13.78 kB / 0.9247 GB, free: 15.03 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.058e-05/1.097, allocations: 36.14 kB / 0.9247 GB, free: 14.99 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/1.097, allocations: 0 / 0.9247 GB, free: 14.99 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.739e-05/1.097, allocations: 50.91 kB / 0.9248 GB, free: 14.94 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/1.097, allocations: 4 kB / 0.9248 GB, free: 14.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/1.097, allocations: 4.062 kB / 0.9248 GB, free: 14.93 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/1.097, allocations: 7.938 kB / 0.9248 GB, free: 14.92 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.255e-05/1.097, allocations: 4 kB / 0.9248 GB, free: 14.92 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/1.097, allocations: 0 / 0.9248 GB, free: 14.92 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.107e-05/1.098, allocations: 3.938 kB / 0.9248 GB, free: 14.91 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/1.098, allocations: 4 kB / 0.9248 GB, free: 14.91 MB / 0.5886 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.625e-05/1.098, allocations: 116.3 kB / 0.9249 GB, free: 14.79 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/1.098, allocations: 0 / 0.9249 GB, free: 14.79 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001568/1.098, allocations: 121 kB / 0.925 GB, free: 14.66 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-05/1.098, allocations: 186.8 kB / 0.9252 GB, free: 14.47 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.768e-05/1.098, allocations: 176.3 kB / 0.9254 GB, free: 14.29 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.787e-05/1.098, allocations: 184.2 kB / 0.9255 GB, free: 14.11 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002852/1.098, allocations: 403.7 kB / 0.9259 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-05/1.098, allocations: 109 kB / 0.926 GB, free: 13.54 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.431e-05/1.098, allocations: 104.9 kB / 0.9261 GB, free: 13.43 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-05/1.099, allocations: 179.9 kB / 0.9263 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.567e-05/1.099, allocations: 184.2 kB / 0.9265 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.353e-05/1.099, allocations: 176.3 kB / 0.9266 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.967e-05/1.099, allocations: 180.2 kB / 0.9268 GB, free: 12.7 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001619/1.099, allocations: 311.1 kB / 0.9271 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/1.099, allocations: 190 kB / 0.9273 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/1.099, allocations: 187.5 kB / 0.9275 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/1.099, allocations: 112.9 kB / 0.9276 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.226e-05/1.099, allocations: 180.3 kB / 0.9278 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-05/1.099, allocations: 101 kB / 0.9278 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.706e-05/1.099, allocations: 86.58 kB / 0.9279 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.2e-07/1.099, allocations: 0 / 0.9279 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003574/1.1, allocations: 32 kB / 0.928 GB, free: 11.46 MB / 0.5886 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.0003444/1.1, allocations: 233.9 kB / 0.9282 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 9.115e-05/1.1, allocations: 7.984 kB / 0.9282 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.1, allocations: 3.938 kB / 0.9282 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.648e-06/1.1, allocations: 4 kB / 0.9282 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005936/1.101, allocations: 0.5261 MB / 0.9287 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003613/1.101, allocations: 191.8 kB / 0.9289 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/1.102, allocations: 0.6692 MB / 0.9296 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.794e-05/1.102, allocations: 14.95 kB / 0.9296 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.378e-05/1.102, allocations: 11.44 kB / 0.9296 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of SimCode: time 4.01e-07/1.102, allocations: 0 / 0.9296 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of Templates: time 0.004174/1.106, allocations: 1.133 MB / 0.9307 GB, free: 8.68 MB / 0.5886 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)