Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.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.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008407/0.0008407, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.0009001/0.0009001, allocations: 172.7 kB / 15.95 MB, free: 208 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.162/1.162, allocations: 223.3 MB / 240 MB, free: 5.223 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.8694/0.8694, allocations: 143.2 MB / 434.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002702/0.0002702, allocations: 12 kB / 0.5158 GB, free: 11.53 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1265, allocations: 83.41 MB / 0.5972 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.003824/0.1303, allocations: 3.566 MB / 0.6007 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001773/0.1305, allocations: 143.7 kB / 0.6008 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.829e-05/0.1306, allocations: 0 / 0.6008 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.484e-05/0.1307, allocations: 11.92 kB / 0.6009 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.908e-05/0.1307, allocations: 7.938 kB / 0.6009 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002561/0.131, allocations: 61.95 kB / 0.6009 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.745e-05/0.1311, allocations: 43.83 kB / 0.601 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.841e-05/0.1311, allocations: 0 / 0.601 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.807e-05/0.1312, allocations: 27.91 kB / 0.601 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.616e-05/0.1312, allocations: 4 kB / 0.601 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.1312, allocations: 8 kB / 0.601 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.1314, allocations: 27.91 kB / 0.601 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.878e-05/0.1314, allocations: 11.92 kB / 0.601 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.373e-05/0.1315, allocations: 25.7 kB / 0.6011 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.497e-05/0.1316, allocations: 35.92 kB / 0.6011 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1316, allocations: 0 / 0.6011 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.382e-06/0.1316, allocations: 0 / 0.6011 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.1316, allocations: 0 / 0.6011 GB, free: 4.082 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.0002986/0.1319, allocations: 323.6 kB / 0.6014 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.1319, allocations: 12.03 kB / 0.6014 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.439e-05/0.132, allocations: 15.86 kB / 0.6014 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.988e-05/0.1321, allocations: 159.1 kB / 0.6016 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.169e-05/0.1321, allocations: 29.64 kB / 0.6016 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.1321, allocations: 7.984 kB / 0.6016 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.1323, allocations: 41.67 kB / 0.6017 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.1323, allocations: 3.938 kB / 0.6017 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.1323, allocations: 0 / 0.6017 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/0.1323, allocations: 4 kB / 0.6017 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.425e-05/0.1324, allocations: 23.94 kB / 0.6017 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003837/0.1328, allocations: 330.1 kB / 0.602 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 2.807e-05/0.1328, allocations: 14.58 kB / 0.602 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.341e-05/0.1328, allocations: 4.859 kB / 0.602 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.081e-05/0.1329, allocations: 85.17 kB / 0.6021 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.1329, allocations: 42.5 kB / 0.6022 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.1329, allocations: 0 / 0.6022 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001273/0.1331, allocations: 41.64 kB / 0.6022 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.1331, allocations: 51.41 kB / 0.6022 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.411e-05/0.1332, allocations: 101.8 kB / 0.6023 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.1332, allocations: 25.7 kB / 0.6024 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.827e-05/0.1332, allocations: 91.98 kB / 0.6024 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.751e-06/0.1333, allocations: 3.906 kB / 0.6025 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-06/0.1333, allocations: 4.125 kB / 0.6025 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.348e-05/0.1334, allocations: 314.8 kB / 0.6028 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.26e-05/0.1334, allocations: 4 kB / 0.6028 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.303e-05/0.1334, allocations: 21.64 kB / 0.6028 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.101e-05/0.1334, allocations: 8 kB / 0.6028 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.1334, allocations: 3.938 kB / 0.6028 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.702e-05/0.1335, allocations: 41.75 kB / 0.6028 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.1335, allocations: 10.03 kB / 0.6028 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1335, allocations: 0 / 0.6028 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.1336, allocations: 7.953 kB / 0.6029 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.001e-05/0.1336, allocations: 11.94 kB / 0.6029 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.1336, allocations: 0 / 0.6029 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.573e-05/0.1336, allocations: 0 / 0.6029 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.1336, allocations: 4.281 kB / 0.6029 GB, free: 2.012 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.922e-05/0.1337, allocations: 109.8 kB / 0.603 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.1337, allocations: 4 kB / 0.603 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.219e-05/0.1338, allocations: 125 kB / 0.6031 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-05/0.1339, allocations: 180.2 kB / 0.6033 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.673e-05/0.134, allocations: 188.2 kB / 0.6034 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.257e-05/0.134, allocations: 180.2 kB / 0.6036 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.1342, allocations: 409.2 kB / 0.604 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-05/0.1342, allocations: 101 kB / 0.6041 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.697e-05/0.1343, allocations: 104.9 kB / 0.6042 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.174e-05/0.1343, allocations: 184.3 kB / 0.6044 GB, free: 348 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.596e-05/0.1344, allocations: 184.2 kB / 0.6046 GB, free: 156 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2267/0.3611, allocations: 180.2 kB / 0.6047 GB, free: 41.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-05/0.3612, allocations: 183.8 kB / 0.6049 GB, free: 41.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.952e-05/0.3612, allocations: 303.8 kB / 0.6052 GB, free: 41.29 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.726e-05/0.3613, allocations: 188.7 kB / 0.6054 GB, free: 41.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.55e-05/0.3613, allocations: 179.7 kB / 0.6055 GB, free: 40.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.3615, allocations: 111.2 kB / 0.6056 GB, free: 40.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.938e-05/0.3615, allocations: 180.4 kB / 0.6058 GB, free: 40.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.3615, allocations: 104.7 kB / 0.6059 GB, free: 40.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.114e-05/0.3616, allocations: 89.81 kB / 0.606 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3616, allocations: 0.5938 kB / 0.606 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002266/0.3618, allocations: 14.28 kB / 0.606 GB, free: 40.45 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.000124/0.3619, allocations: 191.3 kB / 0.6062 GB, free: 40.28 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.509e-05/0.362, allocations: 10.34 kB / 0.6062 GB, free: 40.28 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.362, allocations: 0 / 0.6062 GB, free: 40.28 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.854e-06/0.362, allocations: 3.016 kB / 0.6062 GB, free: 40.28 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.3623, allocations: 0.5266 MB / 0.6067 GB, free: 39.76 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001877/0.3625, allocations: 193.1 kB / 0.6069 GB, free: 39.59 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.495e-05/0.3626, allocations: 0.6763 MB / 0.6076 GB, free: 38.89 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.709e-05/0.3626, allocations: 6.828 kB / 0.6076 GB, free: 38.89 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.489e-05/0.3626, allocations: 9.188 kB / 0.6076 GB, free: 38.89 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.3627, allocations: 3.719 kB / 0.6076 GB, free: 38.89 MB / 0.4981 GB Notification: Performance of Templates: time 0.002099/0.3648, allocations: 0.5579 MB / 0.6081 GB, free: 38.88 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)