Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1914/0.1937, allocations: 80.83 MB / 0.6706 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.004089/0.1978, allocations: 1.804 MB / 0.6724 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002361/0.2002, allocations: 1.375 MB / 0.6737 GB, free: 1.363 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.2003, allocations: 0 / 0.6737 GB, free: 1.363 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003179/0.2007, allocations: 31.78 kB / 0.6738 GB, free: 1.332 MB / 0.5137 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.000393/0.2011, allocations: 51.7 kB / 0.6738 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005305/0.2017, allocations: 130.8 kB / 0.6739 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003898/0.2021, allocations: 249.5 kB / 0.6742 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.2022, allocations: 35.89 kB / 0.6742 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/0.2024, allocations: 79.83 kB / 0.6743 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002237/0.2026, allocations: 95.72 kB / 0.6744 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.057e-05/0.2027, allocations: 16 kB / 0.6744 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002329/0.2029, allocations: 75.91 kB / 0.6745 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.2031, allocations: 79.8 kB / 0.6745 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001443/0.2032, allocations: 111.3 kB / 0.6747 GB, free: 440 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005263/0.2037, allocations: 290.7 kB / 0.6749 GB, free: 148 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.193e-05/0.2038, allocations: 8 kB / 0.6749 GB, free: 140 kB / 0.5137 GB Notification: Performance of FrontEnd: time 3.437e-06/0.2038, allocations: 0 / 0.6749 GB, free: 140 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.143e-05/0.2038, allocations: 0 / 0.6749 GB, free: 140 kB / 0.5137 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.001024/0.2048, allocations: 0.542 MB / 0.6755 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.2049, allocations: 8.031 kB / 0.6755 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002203/0.2051, allocations: 32.75 kB / 0.6755 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003191/0.2054, allocations: 275.5 kB / 0.6758 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.845e-05/0.2055, allocations: 19.72 kB / 0.6758 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/0.2055, allocations: 20 kB / 0.6758 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003825/0.2059, allocations: 207 kB / 0.676 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.2059, allocations: 4 kB / 0.676 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.711e-05/0.206, allocations: 12 kB / 0.676 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.206, allocations: 4 kB / 0.676 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008667/0.2069, allocations: 0.7449 MB / 0.6767 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000948/0.2078, allocations: 0.5903 MB / 0.6773 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004899/0.2083, allocations: 298 kB / 0.6776 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/0.2085, allocations: 121.3 kB / 0.6777 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 5.285e-05/0.2086, allocations: 16.25 kB / 0.6777 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004308/0.209, allocations: 187.4 kB / 0.6779 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=35): time 1.963e-06/0.209, allocations: 0 / 0.6779 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35): time 0.0006911/0.2097, allocations: 367.1 kB / 0.6783 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.745e-05/0.2098, allocations: 81.11 kB / 0.6783 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003064/0.2101, allocations: 302.1 kB / 0.6786 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/0.2102, allocations: 37.7 kB / 0.6787 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.022e-05/0.2103, allocations: 128.7 kB / 0.6788 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.459e-05/0.2104, allocations: 123 kB / 0.6789 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.738e-05/0.2105, allocations: 61.56 kB / 0.679 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.2106, allocations: 334.8 kB / 0.6793 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.2107, allocations: 79.95 kB / 0.6794 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001609/0.2109, allocations: 109.7 kB / 0.6795 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003135/0.2112, allocations: 217.4 kB / 0.6797 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2112, allocations: 0 / 0.6797 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004161/0.2117, allocations: 277.3 kB / 0.6799 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.2117, allocations: 11.88 kB / 0.68 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.2117, allocations: 0 / 0.68 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.2117, allocations: 4 kB / 0.68 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.2119, allocations: 55.97 kB / 0.68 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.212, allocations: 7.938 kB / 0.68 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.844e-05/0.212, allocations: 19.88 kB / 0.68 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.478e-05/0.2121, allocations: 8 kB / 0.68 GB, free: 10.65 MB / 0.5294 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.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): 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.0001568/0.2122, allocations: 166.5 kB / 0.6802 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.035e-05/0.2123, allocations: 31.75 kB / 0.6802 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.378e-05/0.2124, allocations: 54.52 kB / 0.6803 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.2124, allocations: 4 kB / 0.6803 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.2124, allocations: 0 / 0.6803 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.2124, allocations: 3.984 kB / 0.6803 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003161/0.2128, allocations: 329.3 kB / 0.6806 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.2128, allocations: 7.984 kB / 0.6806 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/0.213, allocations: 59.97 kB / 0.6807 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.213, allocations: 7.875 kB / 0.6807 GB, free: 9.941 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/0.213, allocations: 11.98 kB / 0.6807 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.213, allocations: 4 kB / 0.6807 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.213, allocations: 0 / 0.6807 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004642/0.2135, allocations: 316.7 kB / 0.681 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.2136, allocations: 148.8 kB / 0.6811 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.504e-05/0.2137, allocations: 4 kB / 0.6811 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.2138, allocations: 19.98 kB / 0.6812 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.789e-05/0.2139, allocations: 23.97 kB / 0.6812 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.2139, allocations: 19.98 kB / 0.6812 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002007/0.2141, allocations: 224.5 kB / 0.6814 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2141, allocations: 0 / 0.6814 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000286/0.2144, allocations: 71.88 kB / 0.6815 GB, free: 9.078 MB / 0.5294 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.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.0009109/0.2153, allocations: 398.2 kB / 0.6819 GB, free: 8.824 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000398/0.2157, allocations: 227.7 kB / 0.6821 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2158, allocations: 4 kB / 0.6821 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002003/0.216, allocations: 123.8 kB / 0.6822 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.2163, allocations: 41.39 kB / 0.6822 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008998/0.2172, allocations: 0.5206 MB / 0.6828 GB, free: 7.879 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004117/0.2176, allocations: 0.761 MB / 0.6835 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003183/0.2179, allocations: 142.9 kB / 0.6836 GB, free: 6.957 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.036e-05/0.218, allocations: 39.42 kB / 0.6837 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of SimCode: time 6.21e-07/0.218, allocations: 0 / 0.6837 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of Templates: time 0.006825/0.2249, allocations: 3.01 MB / 0.6866 GB, free: 3.934 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)