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.2382/0.2405, allocations: 80.83 MB / 0.6706 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003643/0.2441, allocations: 1.812 MB / 0.6724 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002098/0.2463, allocations: 1.379 MB / 0.6737 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.2464, allocations: 0 / 0.6737 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002521/0.2467, allocations: 23.84 kB / 0.6738 GB, free: 1.352 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.0003124/0.247, allocations: 59.64 kB / 0.6738 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004381/0.2475, allocations: 126.8 kB / 0.6739 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003457/0.2478, allocations: 245.5 kB / 0.6742 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.248, allocations: 43.84 kB / 0.6742 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.2481, allocations: 79.81 kB / 0.6743 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001882/0.2483, allocations: 87.73 kB / 0.6744 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.987e-05/0.2484, allocations: 16 kB / 0.6744 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002036/0.2486, allocations: 75.95 kB / 0.6745 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.2487, allocations: 75.81 kB / 0.6745 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.2488, allocations: 115.3 kB / 0.6746 GB, free: 460 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004083/0.2492, allocations: 295 kB / 0.6749 GB, free: 164 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.764e-05/0.2493, allocations: 0 / 0.6749 GB, free: 164 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2493, allocations: 0 / 0.6749 GB, free: 164 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.2493, allocations: 0 / 0.6749 GB, free: 164 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.0008713/0.2501, allocations: 0.5386 MB / 0.6755 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.2502, allocations: 8.031 kB / 0.6755 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001878/0.2504, allocations: 28.66 kB / 0.6755 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002947/0.2507, allocations: 271.4 kB / 0.6758 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.2507, allocations: 15.78 kB / 0.6758 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.11e-05/0.2508, allocations: 23.98 kB / 0.6758 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003811/0.2512, allocations: 215 kB / 0.676 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.2512, allocations: 4 kB / 0.676 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/0.2512, allocations: 4 kB / 0.676 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.2512, allocations: 4 kB / 0.676 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008338/0.2521, allocations: 0.7488 MB / 0.6767 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.2531, allocations: 0.5902 MB / 0.6773 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005047/0.2536, allocations: 298 kB / 0.6776 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/0.2538, allocations: 113.4 kB / 0.6777 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 5.427e-05/0.2538, allocations: 20.25 kB / 0.6777 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004063/0.2542, allocations: 183.3 kB / 0.6779 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=35): time 2.014e-06/0.2543, allocations: 4 kB / 0.6779 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35): time 0.0006948/0.255, allocations: 375 kB / 0.6783 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.114e-05/0.255, allocations: 81.11 kB / 0.6783 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002924/0.2553, allocations: 290.2 kB / 0.6786 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.916e-05/0.2554, allocations: 33.7 kB / 0.6786 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.703e-05/0.2555, allocations: 128.7 kB / 0.6788 GB, free: 12 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.026e-05/0.2556, allocations: 118.3 kB / 0.6789 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.053e-05/0.2557, allocations: 69.55 kB / 0.6789 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.2558, allocations: 334.8 kB / 0.6793 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.2559, allocations: 79.95 kB / 0.6793 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.2561, allocations: 113.6 kB / 0.6795 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003372/0.2565, allocations: 209.4 kB / 0.6797 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2565, allocations: 0 / 0.6797 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000457/0.2569, allocations: 281.1 kB / 0.6799 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.257, allocations: 7.938 kB / 0.6799 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.257, allocations: 0 / 0.6799 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.257, allocations: 8.031 kB / 0.6799 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002223/0.2572, allocations: 59.91 kB / 0.68 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.452e-05/0.2573, allocations: 0 / 0.68 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.2574, allocations: 23.84 kB / 0.68 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.493e-05/0.2574, allocations: 11.98 kB / 0.68 GB, free: 10.68 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.0001677/0.2576, allocations: 162.4 kB / 0.6802 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.719e-05/0.2576, allocations: 31.56 kB / 0.6802 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.2578, allocations: 46.58 kB / 0.6803 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.2578, allocations: 4 kB / 0.6803 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.2578, allocations: 0 / 0.6803 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.2578, allocations: 0 / 0.6803 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003375/0.2581, allocations: 337.2 kB / 0.6806 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.2581, allocations: 0 / 0.6806 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001771/0.2583, allocations: 59.91 kB / 0.6806 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.2583, allocations: 3.938 kB / 0.6806 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/0.2584, allocations: 12 kB / 0.6807 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.2584, allocations: 4 kB / 0.6807 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2584, allocations: 0 / 0.6807 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000465/0.2589, allocations: 328.5 kB / 0.681 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001522/0.259, allocations: 140.7 kB / 0.6811 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.88e-05/0.2591, allocations: 7.984 kB / 0.6811 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.2592, allocations: 19.98 kB / 0.6811 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.732e-05/0.2593, allocations: 23.97 kB / 0.6812 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.211e-05/0.2593, allocations: 8 kB / 0.6812 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001963/0.2595, allocations: 240.4 kB / 0.6814 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2595, allocations: 0 / 0.6814 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003041/0.2598, allocations: 63.91 kB / 0.6815 GB, free: 9.125 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.0008829/0.2607, allocations: 402.6 kB / 0.6818 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00043/0.2612, allocations: 227.7 kB / 0.6821 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.2612, allocations: 0 / 0.6821 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002691/0.2614, allocations: 127.8 kB / 0.6822 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.2617, allocations: 41.41 kB / 0.6822 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009446/0.2627, allocations: 0.5121 MB / 0.6827 GB, free: 7.934 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.263, allocations: 0.765 MB / 0.6835 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003117/0.2634, allocations: 138.8 kB / 0.6836 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.322e-05/0.2635, allocations: 47.42 kB / 0.6836 GB, free: 6.965 MB / 0.5294 GB Notification: Performance of SimCode: time 2e-07/0.2635, allocations: 0 / 0.6836 GB, free: 6.965 MB / 0.5294 GB Notification: Performance of Templates: time 0.007532/0.271, allocations: 3.028 MB / 0.6866 GB, free: 3.965 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)