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.001252/0.001252, allocations: 115.2 kB / 16.37 MB, free: 6.344 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.001267/0.001267, allocations: 189.4 kB / 17.3 MB, free: 5.898 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.294/1.294, allocations: 222.9 MB / 241 MB, free: 15.17 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.8312/0.8312, allocations: 143.1 MB / 434.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 63.5 kB / 0.5961 GB, free: 12.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1409, allocations: 82.03 MB / 0.6762 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004908/0.1458, allocations: 4.021 MB / 0.6802 GB, free: 6.34 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0001941/0.1461, allocations: 163.5 kB / 0.6803 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.306e-05/0.1461, allocations: 0 / 0.6803 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 9.019e-05/0.1462, allocations: 7.984 kB / 0.6803 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.656e-05/0.1463, allocations: 11.92 kB / 0.6803 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003073/0.1466, allocations: 83.62 kB / 0.6804 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.926e-05/0.1467, allocations: 35.91 kB / 0.6804 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.999e-05/0.1467, allocations: 3.984 kB / 0.6804 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.651e-05/0.1468, allocations: 15.94 kB / 0.6805 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.135e-05/0.1468, allocations: 19.91 kB / 0.6805 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.031e-05/0.1469, allocations: 0 / 0.6805 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001779/0.147, allocations: 59.81 kB / 0.6805 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.825e-05/0.1471, allocations: 3.984 kB / 0.6805 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.766e-05/0.1471, allocations: 19.92 kB / 0.6806 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.1472, allocations: 31.92 kB / 0.6806 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1473, allocations: 4 kB / 0.6806 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1473, allocations: 0 / 0.6806 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.1473, allocations: 0 / 0.6806 GB, free: 5.887 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.0003494/0.1476, allocations: 339.5 kB / 0.6809 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.1477, allocations: 8.031 kB / 0.6809 GB, free: 5.5 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.97e-05/0.1477, allocations: 8.844 kB / 0.6809 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.89e-05/0.1478, allocations: 164.4 kB / 0.6811 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.474e-05/0.1479, allocations: 26.27 kB / 0.6811 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-06/0.1479, allocations: 4.312 kB / 0.6811 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.148, allocations: 45.62 kB / 0.6812 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.148, allocations: 0 / 0.6812 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.148, allocations: 0 / 0.6812 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.142e-05/0.1481, allocations: 11.92 kB / 0.6812 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.317e-05/0.1481, allocations: 15.94 kB / 0.6812 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003952/0.1485, allocations: 334 kB / 0.6815 GB, free: 4.785 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 3.428e-05/0.1486, allocations: 22.52 kB / 0.6815 GB, free: 4.754 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.406e-05/0.1486, allocations: 8.844 kB / 0.6815 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 7.588e-05/0.1487, allocations: 81.17 kB / 0.6816 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.1487, allocations: 42.56 kB / 0.6817 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.1487, allocations: 0 / 0.6817 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001284/0.1488, allocations: 33.69 kB / 0.6817 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.1489, allocations: 51.41 kB / 0.6817 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.452e-05/0.149, allocations: 113.7 kB / 0.6818 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.149, allocations: 25.7 kB / 0.6819 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.952e-05/0.149, allocations: 88.03 kB / 0.682 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.46e-06/0.149, allocations: 3.906 kB / 0.682 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.958e-05/0.1491, allocations: 21.84 kB / 0.682 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.201e-05/0.1492, allocations: 318.8 kB / 0.6823 GB, free: 3.898 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.315e-05/0.1492, allocations: 0 / 0.6823 GB, free: 3.898 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.379e-05/0.1492, allocations: 21.7 kB / 0.6823 GB, free: 3.871 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.07e-05/0.1492, allocations: 17.72 kB / 0.6823 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1493, allocations: 4 kB / 0.6823 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.872e-05/0.1493, allocations: 49.62 kB / 0.6824 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.1494, allocations: 8 kB / 0.6824 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.1494, allocations: 0 / 0.6824 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.1494, allocations: 0 / 0.6824 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.031e-05/0.1494, allocations: 4 kB / 0.6824 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.1494, allocations: 0 / 0.6824 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.938e-05/0.1495, allocations: 4 kB / 0.6824 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.1495, allocations: 3.984 kB / 0.6824 GB, free: 3.77 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.014e-05/0.1495, allocations: 125.8 kB / 0.6825 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.501e-05/0.1496, allocations: 0 / 0.6825 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.327e-05/0.1497, allocations: 113 kB / 0.6826 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.565e-05/0.1497, allocations: 180.2 kB / 0.6828 GB, free: 3.332 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.2e-05/0.1498, allocations: 184.2 kB / 0.683 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.81e-05/0.1499, allocations: 180.3 kB / 0.6831 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001935/0.1501, allocations: 413.1 kB / 0.6835 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-05/0.1501, allocations: 105 kB / 0.6836 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.032e-05/0.1501, allocations: 105 kB / 0.6837 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-05/0.1502, allocations: 188.1 kB / 0.6839 GB, free: 2.09 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.156e-05/0.1503, allocations: 180.2 kB / 0.6841 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.188e-05/0.1503, allocations: 184.2 kB / 0.6843 GB, free: 1.719 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.762e-05/0.1504, allocations: 180.3 kB / 0.6844 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/0.1505, allocations: 311.6 kB / 0.6847 GB, free: 1.207 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.153e-05/0.1506, allocations: 186 kB / 0.6849 GB, free: 1 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.246e-05/0.1506, allocations: 184.2 kB / 0.6851 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.1508, allocations: 109 kB / 0.6852 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.804e-05/0.1508, allocations: 184.2 kB / 0.6854 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/0.1509, allocations: 105 kB / 0.6855 GB, free: 412 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.825e-05/0.1509, allocations: 79.28 kB / 0.6855 GB, free: 332 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1509, allocations: 0 / 0.6855 GB, free: 332 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002454/0.1512, allocations: 19.94 kB / 0.6856 GB, free: 312 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.0002367/0.1514, allocations: 202.4 kB / 0.6857 GB, free: 100 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 6.713e-05/0.1515, allocations: 15.92 kB / 0.6858 GB, free: 84 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1515, allocations: 0 / 0.6858 GB, free: 84 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/0.1515, allocations: 0 / 0.6858 GB, free: 84 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.1519, allocations: 466.7 kB / 0.6862 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002618/0.1522, allocations: 207.6 kB / 0.6864 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002081/0.1524, allocations: 0.6729 MB / 0.6871 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.305e-05/0.1524, allocations: 7.438 kB / 0.6871 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of SimCode: time 3.31e-07/0.1524, allocations: 0 / 0.6871 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of Templates: time 0.002006/0.1544, allocations: 0.7762 MB / 0.6878 GB, free: 13.91 MB / 0.5294 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)