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/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001082, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001332/0.001332, allocations: 192.2 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 222.9 MB / 239.9 MB, free: 4.484 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.007/1.007, allocations: 143 MB / 433.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 63.89 kB / 0.5137 GB, free: 12.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1528, allocations: 82.03 MB / 0.5938 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004749/0.1576, allocations: 3.344 MB / 0.597 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 9.344e-05/0.1577, allocations: 39.88 kB / 0.5971 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.273e-05/0.1578, allocations: 4 kB / 0.5971 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.199e-05/0.1579, allocations: 7.922 kB / 0.5971 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.898e-05/0.158, allocations: 15.92 kB / 0.5971 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005367/0.1585, allocations: 174.9 kB / 0.5973 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.298e-05/0.1586, allocations: 39.84 kB / 0.5973 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.336e-05/0.1586, allocations: 3.938 kB / 0.5973 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.595e-05/0.1587, allocations: 11.98 kB / 0.5973 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.121e-05/0.1587, allocations: 19.92 kB / 0.5973 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.1587, allocations: 0 / 0.5973 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000301/0.159, allocations: 175.6 kB / 0.5975 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.191e-05/0.1591, allocations: 11.97 kB / 0.5975 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.102e-05/0.1591, allocations: 7.938 kB / 0.5975 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002368/0.1594, allocations: 139.9 kB / 0.5977 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1594, allocations: 0 / 0.5977 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1594, allocations: 0 / 0.5977 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.1594, allocations: 3.938 kB / 0.5977 GB, free: 5.98 MB / 0.4981 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.0003763/0.1598, allocations: 347.5 kB / 0.598 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.1598, allocations: 12.03 kB / 0.598 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.1e-05/0.1599, allocations: 8.844 kB / 0.598 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.16, allocations: 160.4 kB / 0.5982 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.158e-05/0.1601, allocations: 30.27 kB / 0.5982 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-06/0.1601, allocations: 4.375 kB / 0.5982 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.1602, allocations: 49.55 kB / 0.5983 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.1602, allocations: 0 / 0.5983 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.1602, allocations: 0 / 0.5983 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/0.1603, allocations: 8 kB / 0.5983 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.178e-05/0.1603, allocations: 15.98 kB / 0.5983 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006246/0.1609, allocations: 0.5833 MB / 0.5988 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.54e-05/0.161, allocations: 18.58 kB / 0.5989 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.371e-05/0.161, allocations: 8.797 kB / 0.5989 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002224/0.1612, allocations: 344.4 kB / 0.5992 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.1613, allocations: 38.56 kB / 0.5992 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.1613, allocations: 0 / 0.5992 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001368/0.1614, allocations: 37.69 kB / 0.5993 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/0.1614, allocations: 51.41 kB / 0.5993 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.294e-05/0.1615, allocations: 97.86 kB / 0.5994 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.1616, allocations: 25.7 kB / 0.5994 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.733e-05/0.1616, allocations: 92.03 kB / 0.5995 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.662e-06/0.1616, allocations: 8.031 kB / 0.5995 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.187e-05/0.1617, allocations: 17.72 kB / 0.5996 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.1618, allocations: 318.7 kB / 0.5999 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.574e-05/0.1618, allocations: 7.984 kB / 0.5999 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.22e-05/0.1618, allocations: 17.72 kB / 0.5999 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.215e-05/0.1619, allocations: 13.72 kB / 0.5999 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1619, allocations: 4 kB / 0.5999 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.294e-05/0.1619, allocations: 53.91 kB / 0.5999 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.162, allocations: 4 kB / 0.6 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.162, allocations: 0 / 0.6 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.162, allocations: 0 / 0.6 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.929e-05/0.162, allocations: 4 kB / 0.6 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.162, allocations: 7.984 kB / 0.6 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.841e-05/0.1621, allocations: 3.938 kB / 0.6 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.1621, allocations: 3.984 kB / 0.6 GB, free: 3.234 MB / 0.4981 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 7.823e-05/0.1622, allocations: 121.8 kB / 0.6001 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.1622, allocations: 0 / 0.6001 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.1623, allocations: 130.5 kB / 0.6002 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-05/0.1624, allocations: 176.3 kB / 0.6004 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.906e-05/0.1624, allocations: 192.1 kB / 0.6006 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.436e-05/0.1625, allocations: 180.3 kB / 0.6007 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/0.1627, allocations: 413.1 kB / 0.6011 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.999e-05/0.1627, allocations: 101 kB / 0.6012 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.185e-05/0.1628, allocations: 101 kB / 0.6013 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.191e-05/0.1628, allocations: 184.2 kB / 0.6015 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.765e-05/0.1629, allocations: 180.3 kB / 0.6017 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-05/0.163, allocations: 184.2 kB / 0.6018 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.243e-05/0.163, allocations: 176.3 kB / 0.602 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.1632, allocations: 315.6 kB / 0.6023 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.87e-05/0.1633, allocations: 178.1 kB / 0.6025 GB, free: 484 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.673e-05/0.1634, allocations: 192.2 kB / 0.6027 GB, free: 284 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.1635, allocations: 113 kB / 0.6028 GB, free: 164 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2784/0.4419, allocations: 180.3 kB / 0.6029 GB, free: 44.67 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.501e-05/0.442, allocations: 103.2 kB / 0.603 GB, free: 44.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.2e-05/0.442, allocations: 79.03 kB / 0.6031 GB, free: 44.49 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.442, allocations: 0 / 0.6031 GB, free: 44.49 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003794/0.4424, allocations: 35.73 kB / 0.6032 GB, free: 44.49 MB / 0.4981 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.000304/0.4427, allocations: 237.4 kB / 0.6034 GB, free: 44.33 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.402e-05/0.4428, allocations: 9.906 kB / 0.6034 GB, free: 44.33 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4429, allocations: 1.031 kB / 0.6034 GB, free: 44.33 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.555e-06/0.4429, allocations: 2.5 kB / 0.6034 GB, free: 44.33 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003981/0.4433, allocations: 459.5 kB / 0.6038 GB, free: 43.88 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002562/0.4435, allocations: 185.5 kB / 0.604 GB, free: 43.72 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/0.4437, allocations: 0.6711 MB / 0.6047 GB, free: 43.02 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.032e-05/0.4437, allocations: 9 kB / 0.6047 GB, free: 43.02 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.984e-05/0.4437, allocations: 9.969 kB / 0.6047 GB, free: 43.02 MB / 0.4981 GB Notification: Performance of SimCode: time 3.91e-07/0.4437, allocations: 1.125 kB / 0.6047 GB, free: 43.02 MB / 0.4981 GB Notification: Performance of Templates: time 0.003669/0.4474, allocations: 1.253 MB / 0.6059 GB, free: 42.92 MB / 0.4981 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)