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.001354/0.001354, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001313/0.001313, allocations: 193 kB / 16.13 MB, free: 6.66 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.337/1.337, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002017/0.002017, allocations: 282.6 kB / 290.2 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9554/0.9554, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 99.83 kB / 0.5945 GB, free: 28.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1638, allocations: 86.98 MB / 0.6794 GB, free: 1.133 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002748/0.1665, allocations: 1.707 MB / 0.6811 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.168, allocations: 1.146 MB / 0.6822 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.599e-05/0.1681, allocations: 0 / 0.6822 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002024/0.1683, allocations: 28.78 kB / 0.6823 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001881/0.1685, allocations: 52.48 kB / 0.6823 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003307/0.1688, allocations: 136.6 kB / 0.6824 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002405/0.1691, allocations: 221.5 kB / 0.6826 GB, free: 13.85 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.601e-05/0.1692, allocations: 25.28 kB / 0.6827 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.315e-05/0.1693, allocations: 79.77 kB / 0.6827 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.1695, allocations: 93.42 kB / 0.6828 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.366e-05/0.1695, allocations: 8 kB / 0.6828 GB, free: 13.65 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.1696, allocations: 67.97 kB / 0.6829 GB, free: 13.58 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.42e-05/0.1697, allocations: 71.75 kB / 0.683 GB, free: 13.51 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.625e-05/0.1698, allocations: 99.33 kB / 0.6831 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002886/0.1701, allocations: 283.1 kB / 0.6833 GB, free: 13.14 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1701, allocations: 0 / 0.6833 GB, free: 13.14 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.1701, allocations: 0 / 0.6833 GB, free: 13.14 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.1702, allocations: 0 / 0.6833 GB, free: 13.14 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.0007138/0.1709, allocations: 0.5345 MB / 0.6839 GB, free: 12.55 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.1709, allocations: 12.03 kB / 0.6839 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.677e-05/0.171, allocations: 24.66 kB / 0.6839 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002474/0.1712, allocations: 268.7 kB / 0.6842 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.1713, allocations: 12.38 kB / 0.6842 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.783e-05/0.1713, allocations: 12.38 kB / 0.6842 GB, free: 12.19 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003496/0.1717, allocations: 237.2 kB / 0.6844 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.098e-06/0.1717, allocations: 0 / 0.6844 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/0.1717, allocations: 7.984 kB / 0.6844 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.1717, allocations: 4 kB / 0.6844 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008136/0.1725, allocations: 0.7373 MB / 0.6851 GB, free: 11.19 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008479/0.1734, allocations: 0.578 MB / 0.6857 GB, free: 10.56 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003358/0.1737, allocations: 223.5 kB / 0.6859 GB, free: 10.34 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.1739, allocations: 100.8 kB / 0.686 GB, free: 10.23 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.243e-05/0.1739, allocations: 23.95 kB / 0.686 GB, free: 10.21 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000323/0.1743, allocations: 169.5 kB / 0.6862 GB, free: 10.03 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 1.543e-06/0.1743, allocations: 0 / 0.6862 GB, free: 10.03 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.000633/0.1749, allocations: 368.2 kB / 0.6865 GB, free: 9.668 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.726e-05/0.175, allocations: 136.5 kB / 0.6867 GB, free: 9.504 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002767/0.1753, allocations: 304.9 kB / 0.687 GB, free: 9.199 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.1753, allocations: 33.7 kB / 0.687 GB, free: 9.16 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.8e-05/0.1754, allocations: 132.6 kB / 0.6871 GB, free: 9.027 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.455e-05/0.1755, allocations: 106.5 kB / 0.6872 GB, free: 8.922 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.44e-05/0.1756, allocations: 65.69 kB / 0.6873 GB, free: 8.852 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.1757, allocations: 330.8 kB / 0.6876 GB, free: 8.52 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.1758, allocations: 83.95 kB / 0.6877 GB, free: 8.438 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/0.176, allocations: 127.6 kB / 0.6878 GB, free: 8.301 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003049/0.1763, allocations: 209.2 kB / 0.688 GB, free: 8.094 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1763, allocations: 0 / 0.688 GB, free: 8.094 MB / 494.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004121/0.1768, allocations: 273.2 kB / 0.6883 GB, free: 7.82 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.1768, allocations: 4 kB / 0.6883 GB, free: 7.816 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1768, allocations: 0 / 0.6883 GB, free: 7.816 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.1768, allocations: 4 kB / 0.6883 GB, free: 7.812 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/0.177, allocations: 59.91 kB / 0.6883 GB, free: 7.754 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.177, allocations: 7.938 kB / 0.6883 GB, free: 7.746 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.1772, allocations: 33.92 kB / 0.6884 GB, free: 7.715 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.358e-05/0.1772, allocations: 15.98 kB / 0.6884 GB, free: 7.699 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 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000146/0.1774, allocations: 159.1 kB / 0.6885 GB, free: 7.535 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.923e-05/0.1774, allocations: 27.66 kB / 0.6886 GB, free: 7.508 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006325/0.1781, allocations: 376.8 kB / 0.6889 GB, free: 7.129 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.1781, allocations: 4 kB / 0.6889 GB, free: 7.125 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1781, allocations: 0 / 0.6889 GB, free: 7.125 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.1781, allocations: 3.938 kB / 0.6889 GB, free: 7.121 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002893/0.1784, allocations: 333.3 kB / 0.6892 GB, free: 6.746 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1784, allocations: 3.938 kB / 0.6893 GB, free: 6.742 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.1786, allocations: 51.97 kB / 0.6893 GB, free: 6.691 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1786, allocations: 0 / 0.6893 GB, free: 6.691 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.1786, allocations: 8 kB / 0.6893 GB, free: 6.684 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.1786, allocations: 8 kB / 0.6893 GB, free: 6.676 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1786, allocations: 4 kB / 0.6893 GB, free: 6.672 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000441/0.1791, allocations: 326.2 kB / 0.6896 GB, free: 6.336 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.1792, allocations: 144.5 kB / 0.6898 GB, free: 6.176 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.055e-05/0.1792, allocations: 8 kB / 0.6898 GB, free: 6.168 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.1794, allocations: 11.98 kB / 0.6898 GB, free: 6.156 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.952e-05/0.1795, allocations: 31.89 kB / 0.6898 GB, free: 6.125 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.758e-05/0.1795, allocations: 16 kB / 0.6898 GB, free: 6.109 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001901/0.1797, allocations: 236.4 kB / 0.6901 GB, free: 5.879 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1797, allocations: 0 / 0.6901 GB, free: 5.879 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002787/0.18, allocations: 60 kB / 0.6901 GB, free: 5.82 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 (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.0009189/0.1809, allocations: 409.1 kB / 0.6905 GB, free: 5.562 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000361/0.1813, allocations: 219.8 kB / 0.6907 GB, free: 5.348 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1813, allocations: 0 / 0.6907 GB, free: 5.348 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001918/0.1815, allocations: 127.8 kB / 0.6908 GB, free: 5.223 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.1818, allocations: 37.41 kB / 0.6909 GB, free: 5.184 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000768/0.1825, allocations: 0.5751 MB / 0.6914 GB, free: 4.586 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.1828, allocations: 0.754 MB / 0.6922 GB, free: 3.809 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003004/0.1831, allocations: 150.8 kB / 0.6923 GB, free: 3.66 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.97e-05/0.1832, allocations: 43.42 kB / 0.6924 GB, free: 3.617 MB / 494.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1832, allocations: 0 / 0.6924 GB, free: 3.617 MB / 494.1 MB Notification: Performance of Templates: time 0.006053/0.1893, allocations: 2.939 MB / 0.6952 GB, free: 0.7227 MB / 494.1 MB 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)