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.001223/0.001223, allocations: 105.6 kB / 16.41 MB, free: 6.496 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.001223/0.001223, allocations: 189.6 kB / 17.34 MB, free: 5.766 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.247/1.247, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.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 0.817/0.817, allocations: 143.1 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 64.47 kB / 0.5962 GB, free: 12.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.136, allocations: 82.03 MB / 0.6763 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004586/0.1406, allocations: 3.303 MB / 0.6795 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 9.571e-05/0.1407, allocations: 47.81 kB / 0.6796 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.423e-05/0.1408, allocations: 0 / 0.6796 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001031/0.1409, allocations: 3.984 kB / 0.6796 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.844e-05/0.141, allocations: 11.92 kB / 0.6796 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005663/0.1415, allocations: 191.2 kB / 0.6798 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.796e-05/0.1416, allocations: 27.91 kB / 0.6798 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.641e-05/0.1417, allocations: 0 / 0.6798 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.566e-05/0.1417, allocations: 27.86 kB / 0.6798 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.359e-05/0.1418, allocations: 7.984 kB / 0.6798 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.1418, allocations: 4 kB / 0.6798 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000351/0.1422, allocations: 171.6 kB / 0.68 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.311e-05/0.1422, allocations: 7.969 kB / 0.68 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.605e-05/0.1423, allocations: 15.94 kB / 0.68 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002915/0.1426, allocations: 135.7 kB / 0.6802 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1426, allocations: 0 / 0.6802 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1426, allocations: 0 / 0.6802 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.1426, allocations: 0 / 0.6802 GB, free: 6.395 MB / 0.5137 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.0003747/0.143, allocations: 347.4 kB / 0.6805 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.143, allocations: 8.031 kB / 0.6805 GB, free: 6 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.934e-05/0.1431, allocations: 4.938 kB / 0.6805 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.1432, allocations: 164.3 kB / 0.6807 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.822e-05/0.1432, allocations: 30.27 kB / 0.6807 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.1433, allocations: 8.375 kB / 0.6807 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.1434, allocations: 41.62 kB / 0.6807 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.1434, allocations: 0 / 0.6807 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.1434, allocations: 0 / 0.6807 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.103e-05/0.1435, allocations: 3.984 kB / 0.6807 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.403e-05/0.1435, allocations: 19.94 kB / 0.6808 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000602/0.1441, allocations: 0.5872 MB / 0.6813 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 3.892e-05/0.1442, allocations: 26.56 kB / 0.6814 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.375e-05/0.1442, allocations: 4.859 kB / 0.6814 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002227/0.1444, allocations: 336.5 kB / 0.6817 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.1444, allocations: 34.56 kB / 0.6817 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.1445, allocations: 0 / 0.6817 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001387/0.1446, allocations: 41.62 kB / 0.6818 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.1446, allocations: 59.47 kB / 0.6818 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.864e-05/0.1447, allocations: 105.8 kB / 0.6819 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.1447, allocations: 25.7 kB / 0.6819 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.125e-05/0.1448, allocations: 88.03 kB / 0.682 GB, free: 4.133 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.952e-06/0.1448, allocations: 4 kB / 0.682 GB, free: 4.129 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.993e-05/0.1448, allocations: 17.62 kB / 0.682 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.1449, allocations: 322.8 kB / 0.6824 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.269e-05/0.145, allocations: 3.938 kB / 0.6824 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.223e-05/0.145, allocations: 21.7 kB / 0.6824 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.61e-05/0.145, allocations: 25.66 kB / 0.6824 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.145, allocations: 4 kB / 0.6824 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.486e-05/0.1451, allocations: 45.69 kB / 0.6825 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.1451, allocations: 11.94 kB / 0.6825 GB, free: 3.652 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.1452, allocations: 64 / 0.6825 GB, free: 3.652 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1452, allocations: 4 kB / 0.6825 GB, free: 3.648 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.181e-05/0.1452, allocations: 4 kB / 0.6825 GB, free: 3.645 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.1452, allocations: 0 / 0.6825 GB, free: 3.645 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.97e-05/0.1453, allocations: 7.938 kB / 0.6825 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.1453, allocations: 3.984 kB / 0.6825 GB, free: 3.633 MB / 0.5137 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.471e-05/0.1453, allocations: 118.4 kB / 0.6826 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.1454, allocations: 0 / 0.6826 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001061/0.1455, allocations: 119.3 kB / 0.6827 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-05/0.1455, allocations: 184.2 kB / 0.6829 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.597e-05/0.1456, allocations: 176.3 kB / 0.6831 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.696e-05/0.1457, allocations: 188.3 kB / 0.6832 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002135/0.1459, allocations: 405.2 kB / 0.6836 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.071e-05/0.1459, allocations: 108.9 kB / 0.6837 GB, free: 2.262 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.663e-05/0.146, allocations: 109 kB / 0.6838 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.962e-05/0.146, allocations: 176.3 kB / 0.684 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.879e-05/0.1461, allocations: 184.2 kB / 0.6842 GB, free: 1.781 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-05/0.1461, allocations: 180.3 kB / 0.6843 GB, free: 1.598 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.394e-05/0.1462, allocations: 180.2 kB / 0.6845 GB, free: 1.414 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.1463, allocations: 307.8 kB / 0.6848 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.659e-05/0.1464, allocations: 189.9 kB / 0.685 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.046e-05/0.1465, allocations: 180.3 kB / 0.6852 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.1466, allocations: 108.9 kB / 0.6853 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.64e-05/0.1467, allocations: 188.2 kB / 0.6854 GB, free: 400 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.833e-05/0.1467, allocations: 105 kB / 0.6855 GB, free: 288 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.809e-05/0.1468, allocations: 79.28 kB / 0.6856 GB, free: 208 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1468, allocations: 0 / 0.6856 GB, free: 208 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002796/0.1471, allocations: 35.98 kB / 0.6857 GB, free: 172 kB / 0.5137 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.0002849/0.1474, allocations: 242.4 kB / 0.6859 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.526e-05/0.1475, allocations: 11.94 kB / 0.6859 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1475, allocations: 0 / 0.6859 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.1475, allocations: 4 kB / 0.6859 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004147/0.1479, allocations: 463.8 kB / 0.6863 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002594/0.1482, allocations: 202.9 kB / 0.6865 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.1484, allocations: 0.6768 MB / 0.6872 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.446e-05/0.1485, allocations: 11.44 kB / 0.6872 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of SimCode: time 3.31e-07/0.1485, allocations: 0 / 0.6872 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of Templates: time 0.002655/0.1511, allocations: 1.239 MB / 0.6884 GB, free: 13.29 MB / 0.5294 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)