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.005394/0.005394, allocations: 97.3 kB / 15.73 MB, free: 6.039 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.001416/0.001416, allocations: 199.4 kB / 16.68 MB, free: 5.965 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.9845/0.9845, allocations: 143 MB / 433.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 59.91 kB / 0.5955 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4366/0.4378, allocations: 82.04 MB / 0.6756 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004956/0.4428, allocations: 4.008 MB / 0.6795 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002159/0.443, allocations: 161.8 kB / 0.6797 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.969e-05/0.4431, allocations: 0 / 0.6797 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001101/0.4432, allocations: 1.094 kB / 0.6797 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.819e-05/0.4433, allocations: 10.23 kB / 0.6797 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003675/0.4437, allocations: 87.12 kB / 0.6798 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.089e-05/0.4438, allocations: 30.16 kB / 0.6798 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.259e-05/0.4438, allocations: 5.094 kB / 0.6798 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.293e-05/0.4439, allocations: 16.95 kB / 0.6798 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.724e-05/0.444, allocations: 17.36 kB / 0.6799 GB, free: 14 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.444, allocations: 2.25 kB / 0.6799 GB, free: 14 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002136/0.4442, allocations: 56.97 kB / 0.6799 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.679e-05/0.4443, allocations: 10.09 kB / 0.6799 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.988e-05/0.4443, allocations: 9.344 kB / 0.6799 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.4444, allocations: 44.53 kB / 0.68 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.4445, allocations: 0 / 0.68 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.392e-06/0.4445, allocations: 0 / 0.68 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.4445, allocations: 1.031 kB / 0.68 GB, free: 13.93 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.0004087/0.4449, allocations: 339 kB / 0.6803 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.4449, allocations: 9.031 kB / 0.6803 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.344e-05/0.445, allocations: 3.375 kB / 0.6803 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.4451, allocations: 164.4 kB / 0.6805 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.16e-05/0.4452, allocations: 36.67 kB / 0.6805 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.809e-06/0.4452, allocations: 5.562 kB / 0.6805 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.4453, allocations: 46.81 kB / 0.6805 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.4453, allocations: 0 / 0.6805 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.4454, allocations: 0 / 0.6805 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.719e-05/0.4454, allocations: 1.469 kB / 0.6805 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.488e-05/0.4454, allocations: 17.3 kB / 0.6806 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004206/0.4458, allocations: 332.6 kB / 0.6809 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 3.569e-05/0.4459, allocations: 24.89 kB / 0.6809 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.73e-05/0.4459, allocations: 10.14 kB / 0.6809 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.388e-05/0.446, allocations: 86.47 kB / 0.681 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.4461, allocations: 35.91 kB / 0.681 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.382e-06/0.4461, allocations: 0 / 0.681 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001363/0.4462, allocations: 39.69 kB / 0.6811 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.4462, allocations: 56.72 kB / 0.6811 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.311e-05/0.4463, allocations: 103.5 kB / 0.6812 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.4464, allocations: 25.7 kB / 0.6812 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.138e-05/0.4464, allocations: 85.31 kB / 0.6813 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.168e-06/0.4464, allocations: 1.094 kB / 0.6813 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.038e-05/0.4464, allocations: 17.12 kB / 0.6813 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.4466, allocations: 320 kB / 0.6816 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.563e-05/0.4466, allocations: 6.406 kB / 0.6817 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.41e-05/0.4466, allocations: 22.77 kB / 0.6817 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.276e-05/0.4467, allocations: 23.48 kB / 0.6817 GB, free: 12 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.4467, allocations: 0 / 0.6817 GB, free: 12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.397e-05/0.4467, allocations: 51.06 kB / 0.6817 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.4468, allocations: 9.969 kB / 0.6818 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.4468, allocations: 3.984 kB / 0.6818 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.4468, allocations: 5.375 kB / 0.6818 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.344e-05/0.4468, allocations: 4.531 kB / 0.6818 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.4468, allocations: 0 / 0.6818 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.768e-05/0.4469, allocations: 1.469 kB / 0.6818 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.4469, allocations: 1.469 kB / 0.6818 GB, free: 11.94 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 6.795e-05/0.447, allocations: 120.7 kB / 0.6819 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.447, allocations: 1.5 kB / 0.6819 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.4471, allocations: 123.7 kB / 0.682 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.755e-05/0.4472, allocations: 177.7 kB / 0.6822 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.433e-05/0.4472, allocations: 184.1 kB / 0.6824 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.855e-05/0.4473, allocations: 181.7 kB / 0.6825 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/0.4475, allocations: 408.1 kB / 0.6829 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.951e-05/0.4475, allocations: 106.5 kB / 0.683 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.721e-05/0.4476, allocations: 113 kB / 0.6831 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.966e-05/0.4477, allocations: 181.5 kB / 0.6833 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.209e-05/0.4477, allocations: 177.8 kB / 0.6835 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.269e-05/0.4478, allocations: 181.6 kB / 0.6836 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.194e-05/0.4479, allocations: 176.3 kB / 0.6838 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.448, allocations: 316.1 kB / 0.6841 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.221e-05/0.4481, allocations: 179.6 kB / 0.6843 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.086e-05/0.4482, allocations: 189.5 kB / 0.6845 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.4483, allocations: 103.9 kB / 0.6846 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.206e-05/0.4484, allocations: 181.7 kB / 0.6847 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.652e-05/0.4484, allocations: 108.9 kB / 0.6848 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.479e-05/0.4485, allocations: 88.92 kB / 0.6849 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4485, allocations: 0 / 0.6849 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002447/0.4488, allocations: 12.62 kB / 0.6849 GB, free: 8.527 MB / 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.0002527/0.449, allocations: 203.2 kB / 0.6851 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.211e-05/0.4491, allocations: 14.56 kB / 0.6851 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.4491, allocations: 0 / 0.6851 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.496e-06/0.4491, allocations: 3.938 kB / 0.6851 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.4495, allocations: 455.9 kB / 0.6856 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002332/0.4497, allocations: 195.9 kB / 0.6858 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.45, allocations: 0.6757 MB / 0.6864 GB, free: 6.992 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.001e-05/0.45, allocations: 8.531 kB / 0.6864 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.778e-05/0.4501, allocations: 8.562 kB / 0.6864 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of SimCode: time 2.61e-07/0.4501, allocations: 0.9688 kB / 0.6864 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of Templates: time 0.002786/0.4528, allocations: 0.6466 MB / 0.6871 GB, free: 6.641 MB / 0.5137 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)