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.7587/0.7587, allocations: 128.7 MB / 143.7 MB, free: 2.328 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.001175/0.001175, allocations: 180.3 kB / 173.8 MB, free: 6.133 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.894/1.894, allocations: 205.4 MB / 409 MB, free: 10.52 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.0008979/0.000898, allocations: 101.5 kB / 486.6 MB, free: 13.03 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003789/0.0003789, allocations: 9.438 kB / 0.5604 GB, free: 97.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1851, allocations: 76.76 MB / 0.6353 GB, free: 30.58 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8119/0.9971, allocations: 307.8 MB / 0.9359 GB, free: 0.9414 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003705/0.9975, allocations: 86.44 kB / 0.936 GB, free: 0.8906 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.0188/1.016, allocations: 7.963 MB / 0.9438 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.266e-06/1.016, allocations: 0 / 0.9438 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.153e-05/1.016, allocations: 4 kB / 0.9438 GB, free: 10.48 MB / 0.6198 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.0004765/1.017, allocations: 347.1 kB / 0.9441 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/1.017, allocations: 8.031 kB / 0.9441 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.966e-05/1.017, allocations: 8.828 kB / 0.9441 GB, free: 10.08 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/1.017, allocations: 159.1 kB / 0.9443 GB, free: 9.883 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.709e-05/1.017, allocations: 33.62 kB / 0.9443 GB, free: 9.844 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/1.017, allocations: 7.938 kB / 0.9443 GB, free: 9.836 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/1.018, allocations: 41.5 kB / 0.9443 GB, free: 9.793 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/1.018, allocations: 0 / 0.9443 GB, free: 9.793 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/1.018, allocations: 0 / 0.9443 GB, free: 9.793 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.71e-05/1.018, allocations: 4 kB / 0.9443 GB, free: 9.789 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.571e-05/1.018, allocations: 23.69 kB / 0.9444 GB, free: 9.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009365/1.019, allocations: 0.5757 MB / 0.9449 GB, free: 9.086 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.436e-05/1.019, allocations: 18.58 kB / 0.9449 GB, free: 9.059 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003535/1.019, allocations: 348.1 kB / 0.9453 GB, free: 8.652 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/1.019, allocations: 34.56 kB / 0.9453 GB, free: 8.609 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/1.019, allocations: 4 kB / 0.9453 GB, free: 8.605 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.000198/1.019, allocations: 38.22 kB / 0.9453 GB, free: 8.562 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.743e-05/1.019, allocations: 55.39 kB / 0.9454 GB, free: 8.496 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/1.02, allocations: 98.16 kB / 0.9455 GB, free: 8.398 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/1.02, allocations: 25.7 kB / 0.9455 GB, free: 8.367 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.765e-05/1.02, allocations: 84.14 kB / 0.9456 GB, free: 8.281 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.005e-05/1.02, allocations: 3.906 kB / 0.9456 GB, free: 8.277 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-06/1.02, allocations: 7.688 kB / 0.9456 GB, free: 8.273 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000195/1.02, allocations: 314.8 kB / 0.9459 GB, free: 7.957 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.818e-05/1.02, allocations: 4 kB / 0.9459 GB, free: 7.953 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.976e-05/1.02, allocations: 13.91 kB / 0.9459 GB, free: 7.934 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.636e-05/1.02, allocations: 7.75 kB / 0.9459 GB, free: 7.93 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/1.02, allocations: 0 / 0.9459 GB, free: 7.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.566e-05/1.02, allocations: 49.06 kB / 0.946 GB, free: 7.879 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/1.02, allocations: 8 kB / 0.946 GB, free: 7.871 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/1.02, allocations: 0 / 0.946 GB, free: 7.871 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/1.02, allocations: 4.094 kB / 0.946 GB, free: 7.867 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.59e-05/1.02, allocations: 11.98 kB / 0.946 GB, free: 7.855 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/1.02, allocations: 4.812 kB / 0.946 GB, free: 7.852 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.363e-05/1.02, allocations: 11.86 kB / 0.946 GB, free: 7.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/1.02, allocations: 4 kB / 0.946 GB, free: 7.836 MB / 0.6198 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 0.000107/1.02, allocations: 115.8 kB / 0.9461 GB, free: 7.715 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.729e-05/1.02, allocations: 4 kB / 0.9461 GB, free: 7.711 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001649/1.021, allocations: 127.5 kB / 0.9463 GB, free: 7.586 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.702e-05/1.021, allocations: 180.3 kB / 0.9464 GB, free: 7.402 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001015/1.021, allocations: 180.2 kB / 0.9466 GB, free: 7.219 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001023/1.021, allocations: 183.8 kB / 0.9468 GB, free: 7.035 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003117/1.021, allocations: 409.2 kB / 0.9472 GB, free: 6.578 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-05/1.021, allocations: 105 kB / 0.9473 GB, free: 6.469 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.814e-05/1.021, allocations: 108.2 kB / 0.9474 GB, free: 6.359 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.722e-05/1.021, allocations: 184.2 kB / 0.9475 GB, free: 6.172 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001327/1.022, allocations: 178.7 kB / 0.9477 GB, free: 5.992 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001059/1.022, allocations: 184.1 kB / 0.9479 GB, free: 5.805 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.477e-05/1.022, allocations: 180.3 kB / 0.9481 GB, free: 5.621 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000197/1.022, allocations: 311.5 kB / 0.9484 GB, free: 5.297 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/1.022, allocations: 185.5 kB / 0.9485 GB, free: 5.094 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/1.022, allocations: 180.2 kB / 0.9487 GB, free: 4.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/1.022, allocations: 113 kB / 0.9488 GB, free: 4.793 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.457e-05/1.023, allocations: 180.2 kB / 0.949 GB, free: 4.609 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.175e-05/1.023, allocations: 101 kB / 0.9491 GB, free: 4.504 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.944e-05/1.023, allocations: 87.02 kB / 0.9492 GB, free: 4.422 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/1.023, allocations: 0 / 0.9492 GB, free: 4.422 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003478/1.023, allocations: 32 kB / 0.9492 GB, free: 4.391 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.0003516/1.023, allocations: 238 kB / 0.9494 GB, free: 4.148 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.682e-05/1.023, allocations: 7.938 kB / 0.9494 GB, free: 4.141 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.023, allocations: 128 / 0.9494 GB, free: 4.141 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.713e-06/1.023, allocations: 8 kB / 0.9494 GB, free: 4.133 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004504/1.024, allocations: 0.5179 MB / 0.9499 GB, free: 3.613 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003123/1.024, allocations: 184.3 kB / 0.9501 GB, free: 3.406 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/1.025, allocations: 0.6848 MB / 0.9508 GB, free: 2.695 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.016e-05/1.025, allocations: 7.984 kB / 0.9508 GB, free: 2.688 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.854e-05/1.025, allocations: 11.44 kB / 0.9508 GB, free: 2.676 MB / 0.6198 GB Notification: Performance of SimCode: time 2.51e-07/1.025, allocations: 0 / 0.9508 GB, free: 2.676 MB / 0.6198 GB Notification: Performance of Templates: time 0.004192/1.029, allocations: 1.125 MB / 0.9519 GB, free: 1.609 MB / 0.6198 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)