Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001194/0.001193, allocations: 107 kB / 16.27 MB, free: 5.984 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.001262/0.001262, allocations: 196.2 kB / 17.2 MB, free: 5.609 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.417/1.417, allocations: 205.1 MB / 223.1 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.816/1.816, allocations: 292.3 MB / 0.5495 GB, free: 17.57 MB / 462.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: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 78.38 kB / 0.6722 GB, free: 6.621 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2374, allocations: 114.5 MB / 0.784 GB, free: 3.953 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.00358/0.2411, allocations: 1.843 MB / 0.7858 GB, free: 2.094 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002216/0.2433, allocations: 1.504 MB / 0.7873 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.104e-05/0.2434, allocations: 0 / 0.7873 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002336/0.2437, allocations: 27.78 kB / 0.7873 GB, free: 0.5508 MB / 0.6544 GB [/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.0003378/0.244, allocations: 75.61 kB / 0.7874 GB, free: 488 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004264/0.2445, allocations: 153.8 kB / 0.7875 GB, free: 340 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003857/0.2449, allocations: 273.4 kB / 0.7878 GB, free: 64 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.245, allocations: 33.33 kB / 0.7878 GB, free: 32 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4172/0.6622, allocations: 96 kB / 0.7879 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003144/0.6626, allocations: 105.1 kB / 0.788 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.266e-05/0.6627, allocations: 18.78 kB / 0.788 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002101/0.6629, allocations: 71.11 kB / 0.7881 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.663, allocations: 85.94 kB / 0.7882 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.6631, allocations: 120.4 kB / 0.7883 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003345/0.6635, allocations: 296.9 kB / 0.7886 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.6635, allocations: 0 / 0.7886 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6635, allocations: 0 / 0.7886 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.78e-06/0.6635, allocations: 0 / 0.7886 GB, free: 45.94 MB / 0.6544 GB 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.0006599/0.6642, allocations: 0.5665 MB / 0.7891 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.6642, allocations: 10.5 kB / 0.7892 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001591/0.6644, allocations: 32.06 kB / 0.7892 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002147/0.6646, allocations: 270.5 kB / 0.7894 GB, free: 45.26 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.6646, allocations: 18.3 kB / 0.7895 GB, free: 45.26 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.6646, allocations: 15.66 kB / 0.7895 GB, free: 45.26 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003188/0.665, allocations: 234.5 kB / 0.7897 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.665, allocations: 2.625 kB / 0.7897 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.62e-05/0.665, allocations: 9.375 kB / 0.7897 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.665, allocations: 5.719 kB / 0.7897 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007216/0.6658, allocations: 0.7466 MB / 0.7904 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009172/0.6667, allocations: 0.6316 MB / 0.7911 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004239/0.6671, allocations: 302.3 kB / 0.7914 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/0.6673, allocations: 112.3 kB / 0.7915 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.612e-05/0.6673, allocations: 19.53 kB / 0.7915 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003461/0.6677, allocations: 182.1 kB / 0.7917 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=35): time 3.416e-06/0.6677, allocations: 5.125 kB / 0.7917 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=35): time 0.0005951/0.6683, allocations: 383.7 kB / 0.792 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.6684, allocations: 135.9 kB / 0.7922 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002299/0.6686, allocations: 309.6 kB / 0.7924 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.6686, allocations: 36.3 kB / 0.7925 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.75e-05/0.6687, allocations: 130.7 kB / 0.7926 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.14e-05/0.6688, allocations: 124.3 kB / 0.7927 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.188e-05/0.6689, allocations: 63.47 kB / 0.7928 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.918e-05/0.6689, allocations: 339.6 kB / 0.7931 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.6691, allocations: 80.98 kB / 0.7932 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.6692, allocations: 129 kB / 0.7933 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002708/0.6695, allocations: 210.3 kB / 0.7935 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.6695, allocations: 2.906 kB / 0.7935 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003652/0.6699, allocations: 282.9 kB / 0.7938 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.6699, allocations: 7.688 kB / 0.7938 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.6699, allocations: 0.5 kB / 0.7938 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.6699, allocations: 2.688 kB / 0.7938 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002068/0.6701, allocations: 65.83 kB / 0.7939 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.6702, allocations: 7.406 kB / 0.7939 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.6703, allocations: 25.47 kB / 0.7939 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/0.6703, allocations: 13.91 kB / 0.7939 GB, free: 43.88 MB / 0.6544 GB 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.0001236/0.6705, allocations: 162.3 kB / 0.7941 GB, free: 43.76 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.969e-05/0.6705, allocations: 29.5 kB / 0.7941 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.063e-05/0.6706, allocations: 37.55 kB / 0.7941 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.6706, allocations: 3.406 kB / 0.7941 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.6706, allocations: 3.938 kB / 0.7941 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.6707, allocations: 6.109 kB / 0.7941 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000242/0.6709, allocations: 337.8 kB / 0.7945 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.6709, allocations: 7.016 kB / 0.7945 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.6711, allocations: 57.86 kB / 0.7945 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.6711, allocations: 3.406 kB / 0.7945 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.6711, allocations: 13.66 kB / 0.7945 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.6711, allocations: 0 / 0.7945 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.6711, allocations: 3.938 kB / 0.7945 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003894/0.6715, allocations: 330.3 kB / 0.7949 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.6716, allocations: 147.5 kB / 0.795 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.138e-05/0.6717, allocations: 6.438 kB / 0.795 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/0.6718, allocations: 25.03 kB / 0.795 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.453e-05/0.6719, allocations: 31.73 kB / 0.7951 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.542e-05/0.6719, allocations: 10.91 kB / 0.7951 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001626/0.6721, allocations: 234.7 kB / 0.7953 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.062e-06/0.6721, allocations: 1.719 kB / 0.7953 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002816/0.6724, allocations: 71.88 kB / 0.7954 GB, free: 43.25 MB / 0.6544 GB 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.0008807/0.6733, allocations: 409.5 kB / 0.7957 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004506/0.6737, allocations: 303.8 kB / 0.796 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.6738, allocations: 0 / 0.796 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.6739, allocations: 135.6 kB / 0.7962 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.6742, allocations: 38.75 kB / 0.7962 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007567/0.675, allocations: 0.555 MB / 0.7967 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001877/0.6752, allocations: 0.7608 MB / 0.7975 GB, free: 42.2 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.6753, allocations: 56.61 kB / 0.7975 GB, free: 42.2 MB / 0.6544 GB Notification: Performance of SimCode: time 4.71e-07/0.6753, allocations: 4 kB / 0.7975 GB, free: 42.19 MB / 0.6544 GB Notification: Performance of Templates: time 0.008356/0.6837, allocations: 4.446 MB / 0.8019 GB, free: 41.82 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)