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.0008101/0.0008102, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008702/0.0008702, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.178/1.178, allocations: 223.3 MB / 240 MB, free: 5.434 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 0.8492/0.8492, allocations: 143.2 MB / 434.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002688/0.0002688, allocations: 16 kB / 0.5158 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.133, allocations: 83.4 MB / 0.5972 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003394/0.1365, allocations: 2.898 MB / 0.6001 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 7.508e-05/0.1366, allocations: 43.89 kB / 0.6001 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.164e-05/0.1366, allocations: 4 kB / 0.6001 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.889e-05/0.1367, allocations: 4 kB / 0.6001 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.198e-05/0.1367, allocations: 11.91 kB / 0.6001 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000426/0.1372, allocations: 145.3 kB / 0.6003 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.46e-05/0.1373, allocations: 43.83 kB / 0.6003 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.461e-05/0.1373, allocations: 3.984 kB / 0.6003 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.271e-05/0.1373, allocations: 12 kB / 0.6003 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.424e-05/0.1374, allocations: 15.92 kB / 0.6003 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.1374, allocations: 3.984 kB / 0.6004 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002207/0.1377, allocations: 83.75 kB / 0.6004 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.384e-05/0.1377, allocations: 11.98 kB / 0.6004 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.016e-05/0.1377, allocations: 33.7 kB / 0.6005 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001392/0.1379, allocations: 56.16 kB / 0.6005 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1379, allocations: 0 / 0.6005 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1379, allocations: 0 / 0.6005 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.177e-06/0.1379, allocations: 0 / 0.6005 GB, free: 4.73 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.0003426/0.1383, allocations: 339.4 kB / 0.6009 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.1383, allocations: 11.97 kB / 0.6009 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.604e-05/0.1383, allocations: 7.859 kB / 0.6009 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.1385, allocations: 171 kB / 0.601 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.81e-05/0.1385, allocations: 33.7 kB / 0.6011 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.1385, allocations: 0 / 0.6011 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.1387, allocations: 37.69 kB / 0.6011 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.1387, allocations: 4 kB / 0.6011 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.1387, allocations: 0 / 0.6011 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/0.1387, allocations: 3.984 kB / 0.6011 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.206e-05/0.1388, allocations: 15.95 kB / 0.6011 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005929/0.1394, allocations: 0.5872 MB / 0.6017 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.162e-05/0.1394, allocations: 18.56 kB / 0.6017 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.286e-05/0.1394, allocations: 4.859 kB / 0.6017 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002693/0.1397, allocations: 340.5 kB / 0.602 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.1398, allocations: 34.56 kB / 0.6021 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.011e-06/0.1398, allocations: 0 / 0.6021 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001282/0.1399, allocations: 45.7 kB / 0.6021 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.1399, allocations: 55.41 kB / 0.6022 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.476e-05/0.14, allocations: 97.86 kB / 0.6023 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.14, allocations: 25.7 kB / 0.6023 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.161e-05/0.1401, allocations: 95.97 kB / 0.6024 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.36e-06/0.1401, allocations: 3.906 kB / 0.6024 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.295e-06/0.1401, allocations: 0 / 0.6024 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.1402, allocations: 314.8 kB / 0.6027 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.316e-05/0.1403, allocations: 4 kB / 0.6027 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.968e-05/0.1403, allocations: 17.72 kB / 0.6027 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.055e-05/0.1403, allocations: 11.98 kB / 0.6027 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1403, allocations: 0 / 0.6027 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.605e-05/0.1404, allocations: 41.64 kB / 0.6028 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.1404, allocations: 7.984 kB / 0.6028 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1404, allocations: 8.219 kB / 0.6028 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.1404, allocations: 7.953 kB / 0.6028 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.007e-05/0.1405, allocations: 8.062 kB / 0.6028 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.1405, allocations: 0 / 0.6028 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.718e-05/0.1405, allocations: 7.938 kB / 0.6028 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.1405, allocations: 4 kB / 0.6028 GB, free: 2.023 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.503e-05/0.1406, allocations: 105.8 kB / 0.6029 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.1406, allocations: 7.984 kB / 0.6029 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.083e-05/0.1407, allocations: 122.6 kB / 0.603 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.268e-05/0.1408, allocations: 184.3 kB / 0.6032 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-05/0.1408, allocations: 184.2 kB / 0.6034 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.777e-05/0.1409, allocations: 184.2 kB / 0.6036 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.1411, allocations: 409.2 kB / 0.6039 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-05/0.1411, allocations: 105 kB / 0.604 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.931e-05/0.1412, allocations: 109 kB / 0.6041 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.374e-05/0.1412, allocations: 180.2 kB / 0.6043 GB, free: 360 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.308e-05/0.1413, allocations: 176.3 kB / 0.6045 GB, free: 176 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2244/0.3657, allocations: 180.2 kB / 0.6047 GB, free: 41.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.639e-05/0.3658, allocations: 178.7 kB / 0.6048 GB, free: 41.36 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.932e-05/0.3659, allocations: 312.2 kB / 0.6051 GB, free: 41.05 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.72e-05/0.3659, allocations: 182.4 kB / 0.6053 GB, free: 40.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.593e-05/0.366, allocations: 185.1 kB / 0.6055 GB, free: 40.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.3661, allocations: 107.3 kB / 0.6056 GB, free: 40.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.993e-05/0.3661, allocations: 183.9 kB / 0.6058 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.3662, allocations: 106 kB / 0.6059 GB, free: 40.28 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.052e-05/0.3662, allocations: 87.33 kB / 0.6059 GB, free: 40.21 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3662, allocations: 0 / 0.6059 GB, free: 40.21 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002699/0.3665, allocations: 29.69 kB / 0.606 GB, free: 40.21 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 (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.0002021/0.3667, allocations: 233.8 kB / 0.6062 GB, free: 40.04 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.807e-05/0.3668, allocations: 10.23 kB / 0.6062 GB, free: 40.04 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3668, allocations: 1.328 kB / 0.6062 GB, free: 40.04 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.3668, allocations: 0 / 0.6062 GB, free: 40.04 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.3671, allocations: 0.5312 MB / 0.6067 GB, free: 39.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001769/0.3673, allocations: 196.3 kB / 0.6069 GB, free: 39.35 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.771e-05/0.3673, allocations: 0.6752 MB / 0.6076 GB, free: 38.66 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.956e-05/0.3674, allocations: 6.391 kB / 0.6076 GB, free: 38.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.201e-05/0.3674, allocations: 9.906 kB / 0.6076 GB, free: 38.65 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.3674, allocations: 0 / 0.6076 GB, free: 38.65 MB / 0.4981 GB Notification: Performance of Templates: time 0.002636/0.37, allocations: 1.181 MB / 0.6087 GB, free: 38.54 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)