Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.008643/0.008643, allocations: 99.64 kB / 15.73 MB, free: 6.469 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.001653/0.001653, allocations: 191.9 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.54/1.54, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6632/0.6632, allocations: 95.48 MB / 365.4 MB, free: 9.773 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 75.91 kB / 0.5036 GB, free: 13.46 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1566, allocations: 69.09 MB / 0.5711 GB, free: 8.297 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003528/0.1601, allocations: 1.794 MB / 0.5729 GB, free: 6.492 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002011/0.1622, allocations: 1.379 MB / 0.5742 GB, free: 5.105 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.487e-05/0.1623, allocations: 0 / 0.5742 GB, free: 5.105 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002626/0.1626, allocations: 27.8 kB / 0.5742 GB, free: 5.078 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002698/0.1629, allocations: 55.67 kB / 0.5743 GB, free: 5.023 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003915/0.1633, allocations: 122.2 kB / 0.5744 GB, free: 4.906 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003705/0.1637, allocations: 257.5 kB / 0.5746 GB, free: 4.652 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.1638, allocations: 27.98 kB / 0.5747 GB, free: 4.625 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000163/0.164, allocations: 79.83 kB / 0.5747 GB, free: 4.547 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002231/0.1642, allocations: 91.7 kB / 0.5748 GB, free: 4.457 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.993e-05/0.1643, allocations: 16 kB / 0.5748 GB, free: 4.441 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002114/0.1645, allocations: 75.92 kB / 0.5749 GB, free: 4.367 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.1646, allocations: 79.8 kB / 0.575 GB, free: 4.289 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001533/0.1648, allocations: 115.3 kB / 0.5751 GB, free: 4.176 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005124/0.1653, allocations: 299 kB / 0.5754 GB, free: 3.883 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.1653, allocations: 0 / 0.5754 GB, free: 3.883 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1653, allocations: 0 / 0.5754 GB, free: 3.883 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.718e-05/0.1654, allocations: 0 / 0.5754 GB, free: 3.883 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001078/0.1664, allocations: 0.5625 MB / 0.5759 GB, free: 3.266 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.1665, allocations: 11.98 kB / 0.576 GB, free: 3.254 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002106/0.1667, allocations: 32.66 kB / 0.576 GB, free: 3.223 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003383/0.1671, allocations: 267.4 kB / 0.5762 GB, free: 2.922 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/0.1671, allocations: 23.94 kB / 0.5763 GB, free: 2.898 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.556e-05/0.1671, allocations: 19.94 kB / 0.5763 GB, free: 2.879 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004104/0.1676, allocations: 216.4 kB / 0.5765 GB, free: 2.656 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.1676, allocations: 0 / 0.5765 GB, free: 2.656 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.989e-05/0.1676, allocations: 8 kB / 0.5765 GB, free: 2.648 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.1676, allocations: 4 kB / 0.5765 GB, free: 2.645 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008939/0.1685, allocations: 0.749 MB / 0.5772 GB, free: 1.895 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008467/0.1694, allocations: 0.5822 MB / 0.5778 GB, free: 1.262 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004562/0.1699, allocations: 300.3 kB / 0.5781 GB, free: 0.957 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000156/0.17, allocations: 113.3 kB / 0.5782 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.703e-05/0.1701, allocations: 16.25 kB / 0.5782 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003971/0.1705, allocations: 187.4 kB / 0.5784 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 1.713e-06/0.1705, allocations: 0 / 0.5784 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.0006624/0.1712, allocations: 365 kB / 0.5787 GB, free: 276 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.902e-05/0.1712, allocations: 81.11 kB / 0.5788 GB, free: 176 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003286/0.1716, allocations: 301.4 kB / 0.5791 GB, free: 15.86 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.303e-05/0.1716, allocations: 33.7 kB / 0.5791 GB, free: 15.82 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.322e-05/0.1717, allocations: 128.6 kB / 0.5793 GB, free: 15.7 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.1718, allocations: 114.4 kB / 0.5794 GB, free: 15.58 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.445e-05/0.1719, allocations: 61.69 kB / 0.5794 GB, free: 15.52 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.1721, allocations: 338.8 kB / 0.5797 GB, free: 15.18 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.1722, allocations: 75.95 kB / 0.5798 GB, free: 15.1 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.1723, allocations: 122.6 kB / 0.5799 GB, free: 14.98 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003086/0.1727, allocations: 226.5 kB / 0.5801 GB, free: 14.75 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.1727, allocations: 0 / 0.5801 GB, free: 14.75 MB / 462.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004514/0.1731, allocations: 319.1 kB / 0.5805 GB, free: 14.42 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.536e-05/0.1732, allocations: 37.67 kB / 0.5805 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1732, allocations: 3.938 kB / 0.5805 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.1732, allocations: 4 kB / 0.5805 GB, free: 14.37 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/0.1734, allocations: 51.97 kB / 0.5805 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.1734, allocations: 4 kB / 0.5806 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.996e-05/0.1735, allocations: 19.83 kB / 0.5806 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.624e-05/0.1736, allocations: 19.92 kB / 0.5806 GB, free: 14.28 MB / 462.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.tStart,$PRE.conTim.tStart,$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): 35 * Array equations: 0 * Algorithm blocks: 1 * 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.0001583/0.1737, allocations: 161.8 kB / 0.5807 GB, free: 14.11 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.277e-05/0.1738, allocations: 35.64 kB / 0.5808 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.367e-05/0.1739, allocations: 38.66 kB / 0.5808 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.1739, allocations: 4 kB / 0.5808 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1739, allocations: 7.875 kB / 0.5808 GB, free: 14.03 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.1739, allocations: 3.984 kB / 0.5808 GB, free: 14.02 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003026/0.1742, allocations: 333.2 kB / 0.5811 GB, free: 13.65 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1742, allocations: 0 / 0.5811 GB, free: 13.65 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000172/0.1744, allocations: 55.97 kB / 0.5812 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.1744, allocations: 3.938 kB / 0.5812 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/0.1745, allocations: 15.98 kB / 0.5812 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.1745, allocations: 3.938 kB / 0.5812 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1745, allocations: 4 kB / 0.5812 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004385/0.1749, allocations: 312.5 kB / 0.5815 GB, free: 13.24 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.1751, allocations: 148.6 kB / 0.5817 GB, free: 13.08 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.518e-05/0.1751, allocations: 7.938 kB / 0.5817 GB, free: 13.07 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.1752, allocations: 15.98 kB / 0.5817 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.701e-05/0.1753, allocations: 27.97 kB / 0.5817 GB, free: 13.03 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.457e-05/0.1753, allocations: 15.98 kB / 0.5817 GB, free: 13.01 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001901/0.1755, allocations: 228.5 kB / 0.5819 GB, free: 12.79 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1755, allocations: 0 / 0.5819 GB, free: 12.79 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000298/0.1758, allocations: 59.98 kB / 0.582 GB, free: 12.73 MB / 462.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.tStart) * Number of discrete states: 1 (conTim.tStart) * 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.0009155/0.1768, allocations: 407.9 kB / 0.5824 GB, free: 12.46 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004384/0.1772, allocations: 283.5 kB / 0.5827 GB, free: 12.18 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1772, allocations: 0 / 0.5827 GB, free: 12.18 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001904/0.1774, allocations: 131.8 kB / 0.5828 GB, free: 12.05 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.1777, allocations: 43.47 kB / 0.5828 GB, free: 12 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008554/0.1786, allocations: 0.5086 MB / 0.5833 GB, free: 11.46 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.1789, allocations: 0.7766 MB / 0.5841 GB, free: 10.66 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002996/0.1792, allocations: 146.8 kB / 0.5842 GB, free: 10.52 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.436e-05/0.1793, allocations: 39.42 kB / 0.5843 GB, free: 10.48 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1793, allocations: 0 / 0.5843 GB, free: 10.48 MB / 462.1 MB Notification: Performance of Templates: time 0.006745/0.1861, allocations: 3.041 MB / 0.5872 GB, free: 7.469 MB / 462.1 MB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)