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.006437/0.006437, allocations: 100.2 kB / 15.73 MB, free: 6.043 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.001353/0.001353, allocations: 184.9 kB / 16.67 MB, free: 5.977 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.578/1.578, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.6328/0.6328, allocations: 95.48 MB / 365.4 MB, free: 9.781 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.001421/0.001421, allocations: 71.89 kB / 0.5036 GB, free: 13.47 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1672, allocations: 69.1 MB / 0.5711 GB, free: 8.316 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003171/0.1704, allocations: 1.795 MB / 0.5729 GB, free: 6.508 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00183/0.1722, allocations: 1.379 MB / 0.5742 GB, free: 5.121 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.459e-05/0.1724, allocations: 3.938 kB / 0.5742 GB, free: 5.117 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002559/0.1726, allocations: 27.84 kB / 0.5742 GB, free: 5.09 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.0002316/0.1729, allocations: 55.62 kB / 0.5743 GB, free: 5.035 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003538/0.1732, allocations: 118.7 kB / 0.5744 GB, free: 4.922 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002999/0.1735, allocations: 257.5 kB / 0.5746 GB, free: 4.668 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.1737, allocations: 35.97 kB / 0.5747 GB, free: 4.633 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.923e-05/0.1738, allocations: 79.81 kB / 0.5748 GB, free: 4.555 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/0.1739, allocations: 91.72 kB / 0.5748 GB, free: 4.465 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.386e-05/0.174, allocations: 16 kB / 0.5749 GB, free: 4.449 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/0.1741, allocations: 71.97 kB / 0.5749 GB, free: 4.379 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.1742, allocations: 79.81 kB / 0.575 GB, free: 4.301 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.1744, allocations: 115.3 kB / 0.5751 GB, free: 4.188 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003353/0.1747, allocations: 299 kB / 0.5754 GB, free: 3.895 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.1747, allocations: 4 kB / 0.5754 GB, free: 3.891 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1747, allocations: 0 / 0.5754 GB, free: 3.891 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.1748, allocations: 0 / 0.5754 GB, free: 3.891 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.0008394/0.1756, allocations: 0.5586 MB / 0.5759 GB, free: 3.277 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.1756, allocations: 11.98 kB / 0.576 GB, free: 3.266 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001544/0.1758, allocations: 28.66 kB / 0.576 GB, free: 3.238 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.1761, allocations: 267.4 kB / 0.5762 GB, free: 2.938 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.1761, allocations: 12 kB / 0.5762 GB, free: 2.926 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.143e-05/0.1761, allocations: 24 kB / 0.5763 GB, free: 2.902 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003664/0.1765, allocations: 228.3 kB / 0.5765 GB, free: 2.668 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.1765, allocations: 0 / 0.5765 GB, free: 2.668 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.421e-05/0.1766, allocations: 8 kB / 0.5765 GB, free: 2.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.1766, allocations: 4 kB / 0.5765 GB, free: 2.656 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009264/0.1775, allocations: 0.7412 MB / 0.5772 GB, free: 1.914 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009814/0.1785, allocations: 0.59 MB / 0.5778 GB, free: 1.273 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004557/0.179, allocations: 292.3 kB / 0.5781 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.1791, allocations: 117.4 kB / 0.5782 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.72e-05/0.1792, allocations: 16.25 kB / 0.5782 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004005/0.1796, allocations: 187.3 kB / 0.5784 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 1.764e-06/0.1796, allocations: 4 kB / 0.5784 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.0006521/0.1803, allocations: 361 kB / 0.5787 GB, free: 292 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.25e-05/0.1804, allocations: 85.09 kB / 0.5788 GB, free: 188 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002875/0.1807, allocations: 293.5 kB / 0.5791 GB, free: 15.88 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.1807, allocations: 33.7 kB / 0.5791 GB, free: 15.84 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.402e-05/0.1808, allocations: 132.6 kB / 0.5793 GB, free: 15.71 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.208e-05/0.1809, allocations: 114.3 kB / 0.5794 GB, free: 15.6 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.621e-05/0.181, allocations: 65.69 kB / 0.5794 GB, free: 15.53 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.1811, allocations: 334.8 kB / 0.5797 GB, free: 15.19 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.1812, allocations: 79.95 kB / 0.5798 GB, free: 15.11 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.1814, allocations: 118.6 kB / 0.5799 GB, free: 14.99 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003254/0.1817, allocations: 230.4 kB / 0.5802 GB, free: 14.76 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1817, allocations: 0 / 0.5802 GB, free: 14.76 MB / 462.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004543/0.1822, allocations: 319.1 kB / 0.5805 GB, free: 14.43 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.801e-05/0.1823, allocations: 33.64 kB / 0.5805 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.1823, allocations: 0 / 0.5805 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.1823, allocations: 4 kB / 0.5805 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.1825, allocations: 63.94 kB / 0.5806 GB, free: 14.33 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.1825, allocations: 4 kB / 0.5806 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.793e-05/0.1826, allocations: 15.84 kB / 0.5806 GB, free: 14.31 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.905e-05/0.1826, allocations: 19.98 kB / 0.5806 GB, free: 14.29 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.000155/0.1828, allocations: 157.7 kB / 0.5807 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.999e-05/0.1829, allocations: 31.66 kB / 0.5808 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.404e-05/0.183, allocations: 42.64 kB / 0.5808 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.183, allocations: 8 kB / 0.5808 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.183, allocations: 0 / 0.5808 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.183, allocations: 3.938 kB / 0.5808 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000342/0.1833, allocations: 333.2 kB / 0.5811 GB, free: 13.67 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1834, allocations: 0 / 0.5811 GB, free: 13.67 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.1835, allocations: 63.91 kB / 0.5812 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.1836, allocations: 3.938 kB / 0.5812 GB, free: 13.6 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.1836, allocations: 8 kB / 0.5812 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.86e-06/0.1836, allocations: 4 kB / 0.5812 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1836, allocations: 0 / 0.5812 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004887/0.1841, allocations: 324.4 kB / 0.5815 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/0.1842, allocations: 140.7 kB / 0.5817 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.073e-05/0.1843, allocations: 11.97 kB / 0.5817 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.1844, allocations: 23.98 kB / 0.5817 GB, free: 13.06 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.949e-05/0.1845, allocations: 19.97 kB / 0.5817 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.386e-05/0.1846, allocations: 12 kB / 0.5817 GB, free: 13.03 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002265/0.1848, allocations: 228.4 kB / 0.5819 GB, free: 12.81 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1848, allocations: 8 kB / 0.582 GB, free: 12.8 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003352/0.1851, allocations: 56 kB / 0.582 GB, free: 12.75 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.001158/0.1863, allocations: 404.4 kB / 0.5824 GB, free: 12.49 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005159/0.1868, allocations: 283.5 kB / 0.5827 GB, free: 12.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1869, allocations: 0 / 0.5827 GB, free: 12.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000218/0.1871, allocations: 131.8 kB / 0.5828 GB, free: 12.07 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.1874, allocations: 37.88 kB / 0.5828 GB, free: 12.03 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.1885, allocations: 0.525 MB / 0.5833 GB, free: 11.47 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000427/0.1889, allocations: 0.7572 MB / 0.5841 GB, free: 10.69 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003174/0.1893, allocations: 150.8 kB / 0.5842 GB, free: 10.55 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.511e-05/0.1894, allocations: 43.42 kB / 0.5843 GB, free: 10.5 MB / 462.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1894, allocations: 4 kB / 0.5843 GB, free: 10.5 MB / 462.1 MB Notification: Performance of Templates: time 0.008148/0.1975, allocations: 3.022 MB / 0.5872 GB, free: 7.504 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)