Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001894/0.001894, allocations: 195.6 kB / 16.25 MB, free: 6.621 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.461/1.461, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002218/0.002218, allocations: 282.6 kB / 290.4 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9654/0.9654, allocations: 169.2 MB / 0.4978 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 91.23 kB / 0.5947 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1576, allocations: 86.99 MB / 0.6796 GB, free: 1.047 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003326/0.1609, allocations: 1.925 MB / 0.6815 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002144/0.1631, allocations: 1.552 MB / 0.683 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.451e-05/0.1632, allocations: 4 kB / 0.683 GB, free: 13.56 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002132/0.1634, allocations: 19.91 kB / 0.683 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002842/0.1637, allocations: 70.88 kB / 0.6831 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004403/0.1642, allocations: 154.6 kB / 0.6833 GB, free: 13.33 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003209/0.1645, allocations: 285.3 kB / 0.6835 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.1646, allocations: 30.52 kB / 0.6836 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.1648, allocations: 99.8 kB / 0.6837 GB, free: 12.92 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002232/0.165, allocations: 108.5 kB / 0.6838 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.661e-05/0.1651, allocations: 20 kB / 0.6838 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001791/0.1653, allocations: 80.83 kB / 0.6839 GB, free: 12.72 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.684e-05/0.1654, allocations: 87.73 kB / 0.6839 GB, free: 12.63 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.1655, allocations: 124.5 kB / 0.6841 GB, free: 12.51 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003631/0.1659, allocations: 319 kB / 0.6844 GB, free: 12.2 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1659, allocations: 0 / 0.6844 GB, free: 12.2 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1659, allocations: 4 kB / 0.6844 GB, free: 12.2 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.1659, allocations: 0 / 0.6844 GB, free: 12.2 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007728/0.1667, allocations: 0.5501 MB / 0.6849 GB, free: 11.6 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.1667, allocations: 12.03 kB / 0.6849 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/0.1669, allocations: 40.48 kB / 0.685 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.1672, allocations: 274.7 kB / 0.6852 GB, free: 11.24 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.1672, allocations: 8.375 kB / 0.6852 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.888e-05/0.1672, allocations: 20.12 kB / 0.6852 GB, free: 11.21 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003964/0.1676, allocations: 244.9 kB / 0.6855 GB, free: 10.96 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.1677, allocations: 3.938 kB / 0.6855 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.621e-05/0.1677, allocations: 8 kB / 0.6855 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.1677, allocations: 4 kB / 0.6855 GB, free: 10.94 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008681/0.1686, allocations: 0.749 MB / 0.6862 GB, free: 10.19 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009998/0.1696, allocations: 0.6408 MB / 0.6868 GB, free: 9.496 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004777/0.1701, allocations: 305.9 kB / 0.6871 GB, free: 9.191 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001697/0.1703, allocations: 113.4 kB / 0.6872 GB, free: 9.078 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.107e-05/0.1703, allocations: 24.25 kB / 0.6873 GB, free: 9.055 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000351/0.1707, allocations: 177.2 kB / 0.6874 GB, free: 8.871 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 1.933e-06/0.1707, allocations: 4 kB / 0.6874 GB, free: 8.867 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.0006602/0.1713, allocations: 376.9 kB / 0.6878 GB, free: 8.492 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.379e-05/0.1714, allocations: 136.5 kB / 0.6879 GB, free: 8.328 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002751/0.1717, allocations: 305 kB / 0.6882 GB, free: 8.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/0.1717, allocations: 33.7 kB / 0.6883 GB, free: 7.98 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.502e-05/0.1718, allocations: 140.6 kB / 0.6884 GB, free: 7.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.475e-05/0.1719, allocations: 114.4 kB / 0.6885 GB, free: 7.727 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.907e-05/0.172, allocations: 65.69 kB / 0.6886 GB, free: 7.656 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.1722, allocations: 334.8 kB / 0.6889 GB, free: 7.32 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.1723, allocations: 83.81 kB / 0.689 GB, free: 7.238 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001913/0.1725, allocations: 132.5 kB / 0.6891 GB, free: 7.098 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003348/0.1728, allocations: 213.1 kB / 0.6893 GB, free: 6.887 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1729, allocations: 0 / 0.6893 GB, free: 6.887 MB / 494.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004382/0.1733, allocations: 289.1 kB / 0.6896 GB, free: 6.598 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.1733, allocations: 4 kB / 0.6896 GB, free: 6.594 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.1733, allocations: 7.922 kB / 0.6896 GB, free: 6.586 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.1733, allocations: 0 / 0.6896 GB, free: 6.586 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.1736, allocations: 67.91 kB / 0.6896 GB, free: 6.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.1736, allocations: 0 / 0.6896 GB, free: 6.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/0.1737, allocations: 25.94 kB / 0.6897 GB, free: 6.496 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/0.1738, allocations: 8 kB / 0.6897 GB, free: 6.488 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 (36): * Single equations (assignments): 36 * 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.0001529/0.1739, allocations: 171 kB / 0.6898 GB, free: 6.312 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.42e-05/0.174, allocations: 35.61 kB / 0.6899 GB, free: 6.277 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006625/0.1747, allocations: 388.8 kB / 0.6902 GB, free: 5.883 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.758e-06/0.1747, allocations: 4 kB / 0.6902 GB, free: 5.879 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1747, allocations: 0 / 0.6902 GB, free: 5.879 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.1747, allocations: 0 / 0.6902 GB, free: 5.879 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003355/0.175, allocations: 357 kB / 0.6906 GB, free: 5.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.1751, allocations: 4 kB / 0.6906 GB, free: 5.477 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.1752, allocations: 59.91 kB / 0.6906 GB, free: 5.418 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1753, allocations: 0 / 0.6906 GB, free: 5.418 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.304e-05/0.1753, allocations: 11.94 kB / 0.6907 GB, free: 5.406 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.1753, allocations: 4 kB / 0.6907 GB, free: 5.402 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1753, allocations: 0 / 0.6907 GB, free: 5.402 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004807/0.1758, allocations: 321.7 kB / 0.691 GB, free: 5.07 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.1759, allocations: 148.6 kB / 0.6911 GB, free: 4.906 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.518e-05/0.176, allocations: 11.94 kB / 0.6911 GB, free: 4.895 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.1762, allocations: 23.97 kB / 0.6911 GB, free: 4.871 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.562e-05/0.1762, allocations: 23.97 kB / 0.6912 GB, free: 4.848 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.135e-05/0.1763, allocations: 19.98 kB / 0.6912 GB, free: 4.828 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001975/0.1765, allocations: 236.4 kB / 0.6914 GB, free: 4.598 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1765, allocations: 0 / 0.6914 GB, free: 4.598 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003031/0.1768, allocations: 68 kB / 0.6915 GB, free: 4.531 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 (35): * Single equations (assignments): 34 * 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.0009073/0.1777, allocations: 417.6 kB / 0.6919 GB, free: 4.266 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005238/0.1782, allocations: 304.1 kB / 0.6922 GB, free: 3.969 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1782, allocations: 4 kB / 0.6922 GB, free: 3.965 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001876/0.1784, allocations: 127.8 kB / 0.6923 GB, free: 3.84 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.1787, allocations: 45.23 kB / 0.6923 GB, free: 3.801 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008342/0.1796, allocations: 0.6194 MB / 0.6929 GB, free: 3.16 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.1799, allocations: 0.7691 MB / 0.6937 GB, free: 2.367 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003296/0.1803, allocations: 146.8 kB / 0.6938 GB, free: 2.223 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.803e-05/0.1803, allocations: 47.41 kB / 0.6939 GB, free: 2.176 MB / 494.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1804, allocations: 0 / 0.6939 GB, free: 2.176 MB / 494.1 MB Notification: Performance of Templates: time 0.007078/0.1874, allocations: 3.379 MB / 0.6972 GB, free: 14.86 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)