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.5.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.5.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7828/0.7828, allocations: 127.4 MB / 134.9 MB, free: 3.5 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.001232/0.001232, allocations: 185.4 kB / 164.6 MB, free: 11.57 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.634/1.634, allocations: 205.2 MB / 399.5 MB, free: 13.47 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.0008856/0.0008853, allocations: 89.25 kB / 476.7 MB, free: 1.434 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.858e-05/1.86e-05, allocations: 2.719 kB / 0.5466 GB, free: 95.53 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1591, allocations: 76.76 MB / 0.6215 GB, free: 43.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7316/0.8907, allocations: 307 MB / 0.9214 GB, free: 3.293 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003029/0.8911, allocations: 84.81 kB / 0.9214 GB, free: 3.246 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.018/0.9091, allocations: 7.882 MB / 0.9291 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.904e-06/0.9091, allocations: 4 kB / 0.9291 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.9091, allocations: 4 kB / 0.9292 GB, free: 12.95 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.0003803/0.9095, allocations: 338.2 kB / 0.9295 GB, free: 12.58 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.9096, allocations: 11.98 kB / 0.9295 GB, free: 12.57 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.967e-05/0.9096, allocations: 7.953 kB / 0.9295 GB, free: 12.56 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.9098, allocations: 163.1 kB / 0.9296 GB, free: 12.36 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.487e-05/0.9099, allocations: 25.7 kB / 0.9297 GB, free: 12.33 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.9099, allocations: 4 kB / 0.9297 GB, free: 12.33 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.222e-05/0.91, allocations: 15.69 kB / 0.9297 GB, free: 12.32 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.384e-05/0.9101, allocations: 41.62 kB / 0.9297 GB, free: 12.27 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.9101, allocations: 0 / 0.9297 GB, free: 12.27 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.9101, allocations: 3.938 kB / 0.9297 GB, free: 12.27 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.26e-05/0.9101, allocations: 4 kB / 0.9297 GB, free: 12.26 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007582/0.9109, allocations: 0.5787 MB / 0.9303 GB, free: 11.59 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.963e-05/0.911, allocations: 14.62 kB / 0.9303 GB, free: 11.56 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.788e-05/0.911, allocations: 12.84 kB / 0.9303 GB, free: 11.55 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002685/0.9113, allocations: 359.6 kB / 0.9307 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.9113, allocations: 36.22 kB / 0.9307 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.563e-06/0.9113, allocations: 0 / 0.9307 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0002505/0.9116, allocations: 45.25 kB / 0.9308 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.9116, allocations: 55.36 kB / 0.9308 GB, free: 10.97 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.636e-05/0.9117, allocations: 97.02 kB / 0.9309 GB, free: 10.87 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.9117, allocations: 25.7 kB / 0.9309 GB, free: 10.84 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.65e-05/0.9118, allocations: 87.61 kB / 0.931 GB, free: 10.75 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.225e-06/0.9118, allocations: 7.906 kB / 0.931 GB, free: 10.75 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-06/0.9118, allocations: 0 / 0.931 GB, free: 10.75 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.9119, allocations: 310.8 kB / 0.9313 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.16e-05/0.912, allocations: 0 / 0.9313 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.282e-05/0.912, allocations: 21.39 kB / 0.9313 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.9121, allocations: 23.98 kB / 0.9314 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.9122, allocations: 0 / 0.9314 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000187/0.9123, allocations: 61.42 kB / 0.9314 GB, free: 10.32 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.9124, allocations: 4 kB / 0.9314 GB, free: 10.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.9124, allocations: 4 kB / 0.9314 GB, free: 10.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.9124, allocations: 0 / 0.9314 GB, free: 10.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.052e-05/0.9125, allocations: 4 kB / 0.9314 GB, free: 10.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.9125, allocations: 0.9375 kB / 0.9314 GB, free: 10.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.431e-05/0.9125, allocations: 16.02 kB / 0.9314 GB, free: 10.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.9125, allocations: 0 / 0.9314 GB, free: 10.3 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 () * 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 7.749e-05/0.9126, allocations: 104.9 kB / 0.9315 GB, free: 10.19 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.9126, allocations: 7.984 kB / 0.9315 GB, free: 10.18 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001217/0.9128, allocations: 117.3 kB / 0.9317 GB, free: 10.06 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-05/0.9129, allocations: 180.3 kB / 0.9318 GB, free: 9.879 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-05/0.9129, allocations: 188.2 kB / 0.932 GB, free: 9.688 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-05/0.913, allocations: 176.3 kB / 0.9322 GB, free: 9.508 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002044/0.9132, allocations: 385.3 kB / 0.9325 GB, free: 9.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.393e-05/0.9133, allocations: 112.9 kB / 0.9327 GB, free: 8.973 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.822e-05/0.9133, allocations: 104.9 kB / 0.9328 GB, free: 8.863 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.098e-05/0.9134, allocations: 180.5 kB / 0.9329 GB, free: 8.68 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.231e-05/0.9135, allocations: 184.2 kB / 0.9331 GB, free: 8.492 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.612e-05/0.9135, allocations: 180.2 kB / 0.9333 GB, free: 8.309 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-05/0.9136, allocations: 180.2 kB / 0.9334 GB, free: 8.125 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.9137, allocations: 311.3 kB / 0.9337 GB, free: 7.801 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.526e-05/0.9138, allocations: 190.1 kB / 0.9339 GB, free: 7.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.132e-05/0.9139, allocations: 184.2 kB / 0.9341 GB, free: 7.402 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.9141, allocations: 104.5 kB / 0.9342 GB, free: 7.297 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.721e-05/0.9142, allocations: 176.3 kB / 0.9344 GB, free: 7.117 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.689e-05/0.9142, allocations: 112.9 kB / 0.9345 GB, free: 7 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.375e-05/0.9143, allocations: 83.28 kB / 0.9346 GB, free: 6.918 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9143, allocations: 0 / 0.9346 GB, free: 6.918 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002889/0.9146, allocations: 31.69 kB / 0.9346 GB, free: 6.891 MB / 0.6042 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 () * 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.0003493/0.9149, allocations: 233.1 kB / 0.9348 GB, free: 6.652 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001109/0.9151, allocations: 11.56 kB / 0.9348 GB, free: 6.645 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.9151, allocations: 0 / 0.9348 GB, free: 6.645 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.9151, allocations: 0 / 0.9348 GB, free: 6.645 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.9154, allocations: 0.5312 MB / 0.9353 GB, free: 6.109 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001869/0.9156, allocations: 126.9 kB / 0.9355 GB, free: 5.965 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.9159, allocations: 0.6768 MB / 0.9361 GB, free: 5.262 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.89e-05/0.9159, allocations: 6.344 kB / 0.9361 GB, free: 5.258 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.278e-05/0.916, allocations: 7.438 kB / 0.9361 GB, free: 5.25 MB / 0.6042 GB Notification: Performance of SimCode: time 5.81e-07/0.916, allocations: 0 / 0.9361 GB, free: 5.25 MB / 0.6042 GB Notification: Performance of Templates: time 0.003497/0.9195, allocations: 1.069 MB / 0.9372 GB, free: 4.234 MB / 0.6042 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)