Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009942/0.0009942, allocations: 91.52 kB / 15.06 MB, free: 1.078 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.001224/0.001225, allocations: 176.7 kB / 15.95 MB, free: 192 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.385/1.385, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001745/0.001745, allocations: 270.7 kB / 291.4 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9607/0.9607, allocations: 169.5 MB / 0.5 GB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004106/0.0004107, allocations: 13.22 kB / 0.598 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1622, allocations: 88.54 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.001777/0.1641, allocations: 1.347 MB / 0.6858 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001422/0.1655, allocations: 1.093 MB / 0.6869 GB, free: 13.03 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.198e-05/0.1656, allocations: 4 kB / 0.6869 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000178/0.1658, allocations: 15.86 kB / 0.6869 GB, free: 13.01 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002266/0.166, allocations: 66.06 kB / 0.6869 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003292/0.1663, allocations: 131 kB / 0.6871 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002299/0.1666, allocations: 209.5 kB / 0.6873 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.782e-05/0.1667, allocations: 18.72 kB / 0.6873 GB, free: 12.6 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.784e-05/0.1668, allocations: 75.81 kB / 0.6874 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.1669, allocations: 83.77 kB / 0.6874 GB, free: 12.44 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.69e-05/0.167, allocations: 8 kB / 0.6874 GB, free: 12.43 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.1671, allocations: 55.98 kB / 0.6875 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.468e-05/0.1672, allocations: 69.31 kB / 0.6876 GB, free: 12.31 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.081e-05/0.1672, allocations: 65.45 kB / 0.6876 GB, free: 12.24 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002215/0.1675, allocations: 199.6 kB / 0.6878 GB, free: 12.05 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1675, allocations: 3.984 kB / 0.6878 GB, free: 12.04 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1675, allocations: 0.5 kB / 0.6878 GB, free: 12.04 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.1675, allocations: 2.156 kB / 0.6878 GB, free: 12.04 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0006124/0.1681, allocations: 497.3 kB / 0.6883 GB, free: 11.51 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.1682, allocations: 8.031 kB / 0.6883 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.889e-05/0.1682, allocations: 24.34 kB / 0.6883 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.1685, allocations: 263.6 kB / 0.6886 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.1685, allocations: 19.47 kB / 0.6886 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.1685, allocations: 20 kB / 0.6886 GB, free: 11.14 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003238/0.1689, allocations: 221 kB / 0.6888 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.1689, allocations: 3.984 kB / 0.6888 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.1689, allocations: 4 kB / 0.6888 GB, free: 10.9 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.1689, allocations: 4 kB / 0.6888 GB, free: 10.9 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008017/0.1697, allocations: 0.7303 MB / 0.6896 GB, free: 10.17 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008235/0.1706, allocations: 0.5801 MB / 0.6901 GB, free: 9.539 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003229/0.1709, allocations: 228 kB / 0.6903 GB, free: 9.309 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/0.1711, allocations: 101.5 kB / 0.6904 GB, free: 9.207 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.456e-05/0.1711, allocations: 20.72 kB / 0.6905 GB, free: 9.188 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003084/0.1714, allocations: 172.1 kB / 0.6906 GB, free: 9.008 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 1.743e-06/0.1714, allocations: 0 / 0.6906 GB, free: 9.008 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.0005982/0.172, allocations: 368.2 kB / 0.691 GB, free: 8.645 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.184e-05/0.1721, allocations: 132.5 kB / 0.6911 GB, free: 8.484 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002686/0.1724, allocations: 305 kB / 0.6914 GB, free: 8.184 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.1724, allocations: 33.69 kB / 0.6914 GB, free: 8.145 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.582e-05/0.1725, allocations: 128.6 kB / 0.6915 GB, free: 8.016 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.263e-05/0.1726, allocations: 102.5 kB / 0.6916 GB, free: 7.914 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.258e-05/0.1726, allocations: 4 kB / 0.6916 GB, free: 7.91 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.1727, allocations: 338.8 kB / 0.692 GB, free: 7.57 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.1729, allocations: 75.95 kB / 0.692 GB, free: 7.496 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/0.173, allocations: 131.5 kB / 0.6922 GB, free: 7.355 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.1732, allocations: 103.9 kB / 0.6923 GB, free: 7.254 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1732, allocations: 3.938 kB / 0.6923 GB, free: 7.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003781/0.1736, allocations: 265.8 kB / 0.6925 GB, free: 6.984 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.1736, allocations: 5.875 kB / 0.6925 GB, free: 6.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.1736, allocations: 3.953 kB / 0.6925 GB, free: 6.977 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.1736, allocations: 4 kB / 0.6925 GB, free: 6.973 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/0.1739, allocations: 59.91 kB / 0.6926 GB, free: 6.914 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.1739, allocations: 7.984 kB / 0.6926 GB, free: 6.906 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/0.174, allocations: 31.73 kB / 0.6926 GB, free: 6.875 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.373e-05/0.1741, allocations: 11.98 kB / 0.6926 GB, free: 6.863 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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 0.0001473/0.1742, allocations: 162.4 kB / 0.6928 GB, free: 6.695 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.704e-05/0.1743, allocations: 23.72 kB / 0.6928 GB, free: 6.672 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006284/0.1749, allocations: 376.9 kB / 0.6932 GB, free: 6.293 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.1749, allocations: 15.89 kB / 0.6932 GB, free: 6.277 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1749, allocations: 0 / 0.6932 GB, free: 6.277 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1749, allocations: 0 / 0.6932 GB, free: 6.277 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000287/0.1752, allocations: 333.2 kB / 0.6935 GB, free: 5.902 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1752, allocations: 0 / 0.6935 GB, free: 5.902 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001682/0.1754, allocations: 59.91 kB / 0.6936 GB, free: 5.844 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.1754, allocations: 0 / 0.6936 GB, free: 5.844 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.1754, allocations: 8 kB / 0.6936 GB, free: 5.836 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.1754, allocations: 8 kB / 0.6936 GB, free: 5.828 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1754, allocations: 3.953 kB / 0.6936 GB, free: 5.824 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00041/0.1759, allocations: 317.7 kB / 0.6939 GB, free: 5.496 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001467/0.176, allocations: 148.6 kB / 0.694 GB, free: 5.332 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.883e-05/0.1761, allocations: 7.984 kB / 0.694 GB, free: 5.324 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.1762, allocations: 22.62 kB / 0.6941 GB, free: 5.305 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.135e-05/0.1763, allocations: 27.92 kB / 0.6941 GB, free: 5.277 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.711e-05/0.1763, allocations: 12 kB / 0.6941 GB, free: 5.266 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001924/0.1765, allocations: 232.4 kB / 0.6943 GB, free: 5.035 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1765, allocations: 4 kB / 0.6943 GB, free: 5.031 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002826/0.1768, allocations: 63.98 kB / 0.6944 GB, free: 4.969 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0009012/0.1777, allocations: 400.8 kB / 0.6948 GB, free: 4.719 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003555/0.1781, allocations: 224.3 kB / 0.695 GB, free: 4.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1781, allocations: 0 / 0.695 GB, free: 4.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000172/0.1783, allocations: 127.8 kB / 0.6951 GB, free: 4.375 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.1785, allocations: 33.41 kB / 0.6951 GB, free: 4.34 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00076/0.1793, allocations: 0.5663 MB / 0.6957 GB, free: 3.75 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.1796, allocations: 0.7586 MB / 0.6964 GB, free: 2.969 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000312/0.1799, allocations: 142.9 kB / 0.6966 GB, free: 2.828 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.634e-05/0.18, allocations: 43.41 kB / 0.6966 GB, free: 2.785 MB / 494.1 MB Notification: Performance of SimCode: time 3.5e-07/0.18, allocations: 0 / 0.6966 GB, free: 2.785 MB / 494.1 MB Notification: Performance of Templates: time 0.006005/0.186, allocations: 2.844 MB / 0.6994 GB, free: 15.99 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)