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.001146/0.001146, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 195.4 kB / 16.53 MB, free: 6.664 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.291/1.291, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002089/0.002089, allocations: 275 kB / 290.7 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9322/0.9322, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001732/0.001732, allocations: 94.06 kB / 0.5952 GB, free: 27.81 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1501, allocations: 86.99 MB / 0.6802 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003538/0.1537, allocations: 1.861 MB / 0.682 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002113/0.1558, allocations: 1.584 MB / 0.6836 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.463e-05/0.1559, allocations: 0 / 0.6836 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001985/0.1561, allocations: 29.84 kB / 0.6836 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002569/0.1564, allocations: 79.53 kB / 0.6837 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004085/0.1568, allocations: 167.5 kB / 0.6838 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003139/0.1571, allocations: 285.4 kB / 0.6841 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.1573, allocations: 31.42 kB / 0.6841 GB, free: 12.66 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.1574, allocations: 91.77 kB / 0.6842 GB, free: 12.57 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002279/0.1576, allocations: 116.3 kB / 0.6843 GB, free: 12.45 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.598e-05/0.1577, allocations: 20 kB / 0.6843 GB, free: 12.43 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001722/0.1579, allocations: 88.83 kB / 0.6844 GB, free: 12.35 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.158, allocations: 79.81 kB / 0.6845 GB, free: 12.27 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.1581, allocations: 127.9 kB / 0.6846 GB, free: 12.14 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003592/0.1585, allocations: 316.3 kB / 0.6849 GB, free: 11.84 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1585, allocations: 0 / 0.6849 GB, free: 11.84 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1585, allocations: 3.938 kB / 0.6849 GB, free: 11.83 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.1585, allocations: 0 / 0.6849 GB, free: 11.83 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.0007326/0.1593, allocations: 0.5586 MB / 0.6855 GB, free: 11.23 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.1593, allocations: 8.031 kB / 0.6855 GB, free: 11.22 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001471/0.1595, allocations: 36.56 kB / 0.6855 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.1598, allocations: 270.7 kB / 0.6858 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.1598, allocations: 12.38 kB / 0.6858 GB, free: 10.87 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.899e-05/0.1598, allocations: 20.12 kB / 0.6858 GB, free: 10.85 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003706/0.1602, allocations: 240.9 kB / 0.686 GB, free: 10.6 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.1602, allocations: 7.938 kB / 0.686 GB, free: 10.59 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.678e-05/0.1603, allocations: 8 kB / 0.686 GB, free: 10.58 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.1603, allocations: 4 kB / 0.6861 GB, free: 10.58 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008325/0.1611, allocations: 0.749 MB / 0.6868 GB, free: 9.828 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009871/0.1621, allocations: 0.6408 MB / 0.6874 GB, free: 9.133 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004686/0.1626, allocations: 313.9 kB / 0.6877 GB, free: 8.82 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.1628, allocations: 105.4 kB / 0.6878 GB, free: 8.715 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.389e-05/0.1628, allocations: 16.25 kB / 0.6878 GB, free: 8.699 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003586/0.1632, allocations: 185.2 kB / 0.688 GB, free: 8.508 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 1.693e-06/0.1632, allocations: 4 kB / 0.688 GB, free: 8.504 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.0006451/0.1638, allocations: 376.9 kB / 0.6884 GB, free: 8.129 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.615e-05/0.1639, allocations: 136.5 kB / 0.6885 GB, free: 7.965 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002937/0.1642, allocations: 305 kB / 0.6888 GB, free: 7.656 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/0.1643, allocations: 33.7 kB / 0.6888 GB, free: 7.617 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.267e-05/0.1644, allocations: 136.6 kB / 0.6889 GB, free: 7.48 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.547e-05/0.1645, allocations: 114.4 kB / 0.6891 GB, free: 7.367 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.895e-05/0.1646, allocations: 69.67 kB / 0.6891 GB, free: 7.293 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1647, allocations: 338.8 kB / 0.6894 GB, free: 6.953 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.1648, allocations: 87.75 kB / 0.6895 GB, free: 6.867 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001737/0.165, allocations: 124.6 kB / 0.6896 GB, free: 6.734 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003155/0.1654, allocations: 217.1 kB / 0.6899 GB, free: 6.52 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1654, allocations: 0 / 0.6899 GB, free: 6.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000433/0.1658, allocations: 277.1 kB / 0.6901 GB, free: 6.242 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.1658, allocations: 8 kB / 0.6901 GB, free: 6.234 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.1658, allocations: 11.88 kB / 0.6901 GB, free: 6.223 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.1659, allocations: 0 / 0.6901 GB, free: 6.223 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002245/0.1661, allocations: 63.91 kB / 0.6902 GB, free: 6.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.1661, allocations: 4 kB / 0.6902 GB, free: 6.156 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/0.1663, allocations: 25.8 kB / 0.6902 GB, free: 6.133 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.1663, allocations: 12 kB / 0.6902 GB, free: 6.121 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.0001548/0.1664, allocations: 167 kB / 0.6904 GB, free: 5.949 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.695e-05/0.1665, allocations: 35.62 kB / 0.6904 GB, free: 5.914 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006519/0.1672, allocations: 392.8 kB / 0.6908 GB, free: 5.516 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.81e-06/0.1672, allocations: 4 kB / 0.6908 GB, free: 5.512 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1672, allocations: 0 / 0.6908 GB, free: 5.512 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1672, allocations: 0 / 0.6908 GB, free: 5.512 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003036/0.1675, allocations: 353.1 kB / 0.6911 GB, free: 5.117 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1675, allocations: 0 / 0.6911 GB, free: 5.117 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001773/0.1677, allocations: 59.91 kB / 0.6912 GB, free: 5.059 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1677, allocations: 0 / 0.6912 GB, free: 5.059 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.191e-05/0.1677, allocations: 19.92 kB / 0.6912 GB, free: 5.039 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1677, allocations: 0 / 0.6912 GB, free: 5.039 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1677, allocations: 4 kB / 0.6912 GB, free: 5.035 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004425/0.1682, allocations: 313.7 kB / 0.6915 GB, free: 4.711 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.1683, allocations: 152.6 kB / 0.6917 GB, free: 4.543 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.197e-05/0.1684, allocations: 7.938 kB / 0.6917 GB, free: 4.535 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.1686, allocations: 23.98 kB / 0.6917 GB, free: 4.512 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.715e-05/0.1686, allocations: 31.89 kB / 0.6917 GB, free: 4.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.049e-05/0.1687, allocations: 16 kB / 0.6917 GB, free: 4.465 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001926/0.1689, allocations: 236.4 kB / 0.692 GB, free: 4.234 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1689, allocations: 0 / 0.692 GB, free: 4.234 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002883/0.1692, allocations: 68 kB / 0.692 GB, free: 4.168 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.0008996/0.1701, allocations: 414 kB / 0.6924 GB, free: 3.906 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005007/0.1706, allocations: 304.1 kB / 0.6927 GB, free: 3.609 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1706, allocations: 3.938 kB / 0.6927 GB, free: 3.605 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001836/0.1708, allocations: 131.9 kB / 0.6929 GB, free: 3.477 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.1711, allocations: 43 kB / 0.6929 GB, free: 3.438 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007844/0.1719, allocations: 0.5253 MB / 0.6934 GB, free: 2.891 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.1722, allocations: 0.7652 MB / 0.6942 GB, free: 2.102 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003214/0.1725, allocations: 146.8 kB / 0.6943 GB, free: 1.957 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.927e-05/0.1726, allocations: 43.42 kB / 0.6943 GB, free: 1.914 MB / 494.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1726, allocations: 4 kB / 0.6943 GB, free: 1.91 MB / 494.1 MB Notification: Performance of Templates: time 0.006922/0.1796, allocations: 3.394 MB / 0.6977 GB, free: 14.58 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)