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.2239/0.226, allocations: 80.84 MB / 0.6706 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003275/0.2294, allocations: 1.795 MB / 0.6724 GB, free: 208 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001981/0.2314, allocations: 1.383 MB / 0.6737 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.5e-05/0.2314, allocations: 7.938 kB / 0.6737 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002195/0.2317, allocations: 19.86 kB / 0.6738 GB, free: 14.79 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.0002465/0.2319, allocations: 59.62 kB / 0.6738 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003375/0.2323, allocations: 126.9 kB / 0.6739 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003068/0.2326, allocations: 249.5 kB / 0.6742 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.2327, allocations: 39.91 kB / 0.6742 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.678e-05/0.2328, allocations: 79.81 kB / 0.6743 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.233, allocations: 87.78 kB / 0.6744 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.484e-05/0.2331, allocations: 16 kB / 0.6744 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001717/0.2332, allocations: 79.89 kB / 0.6745 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.875e-05/0.2333, allocations: 71.83 kB / 0.6745 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001467/0.2335, allocations: 115.3 kB / 0.6746 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004114/0.2339, allocations: 291.1 kB / 0.6749 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2339, allocations: 0 / 0.6749 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2339, allocations: 0 / 0.6749 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.2339, allocations: 4 kB / 0.6749 GB, free: 13.59 MB / 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.0008791/0.2348, allocations: 0.5498 MB / 0.6755 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.2349, allocations: 8.031 kB / 0.6755 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000181/0.2351, allocations: 28.66 kB / 0.6755 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.2354, allocations: 267.4 kB / 0.6758 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.2354, allocations: 15.98 kB / 0.6758 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.643e-05/0.2354, allocations: 19.94 kB / 0.6758 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003642/0.2358, allocations: 219 kB / 0.676 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.2358, allocations: 4 kB / 0.676 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.293e-05/0.2358, allocations: 4 kB / 0.676 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.2358, allocations: 4 kB / 0.676 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009628/0.2368, allocations: 0.7449 MB / 0.6767 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.2379, allocations: 0.5824 MB / 0.6773 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004866/0.2384, allocations: 305.9 kB / 0.6776 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00018/0.2385, allocations: 117.4 kB / 0.6777 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.401e-05/0.2386, allocations: 24.23 kB / 0.6777 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004884/0.2391, allocations: 179.4 kB / 0.6779 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=35): time 1.713e-06/0.2391, allocations: 3.938 kB / 0.6779 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of matching and sorting (n=35): time 0.0006407/0.2398, allocations: 371.1 kB / 0.6783 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/0.2398, allocations: 85.11 kB / 0.6783 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003149/0.2402, allocations: 294.1 kB / 0.6786 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.518e-05/0.2402, allocations: 33.7 kB / 0.6787 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.2403, allocations: 132.6 kB / 0.6788 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.558e-05/0.2405, allocations: 114.3 kB / 0.6789 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.315e-05/0.2405, allocations: 69.55 kB / 0.679 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.2407, allocations: 330.8 kB / 0.6793 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.2408, allocations: 79.95 kB / 0.6794 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001609/0.241, allocations: 113.7 kB / 0.6795 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003505/0.2414, allocations: 217.3 kB / 0.6797 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2414, allocations: 0 / 0.6797 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005828/0.242, allocations: 273.2 kB / 0.6799 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.242, allocations: 8.719 kB / 0.6799 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.242, allocations: 0 / 0.6799 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.242, allocations: 4 kB / 0.6799 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/0.2423, allocations: 59.91 kB / 0.68 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.2423, allocations: 0 / 0.68 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.317e-05/0.2424, allocations: 27.88 kB / 0.68 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.182e-05/0.2424, allocations: 11.98 kB / 0.68 GB, free: 8.105 MB / 0.5137 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.0001569/0.2426, allocations: 161.8 kB / 0.6802 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.434e-05/0.2426, allocations: 27.66 kB / 0.6802 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.726e-05/0.2427, allocations: 34.64 kB / 0.6802 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.2428, allocations: 4 kB / 0.6803 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.2428, allocations: 0 / 0.6803 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.2428, allocations: 4 kB / 0.6803 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003344/0.2431, allocations: 345.1 kB / 0.6806 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2431, allocations: 0 / 0.6806 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000173/0.2433, allocations: 59.91 kB / 0.6806 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.2433, allocations: 3.938 kB / 0.6806 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.2433, allocations: 15.94 kB / 0.6807 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.2434, allocations: 4 kB / 0.6807 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2434, allocations: 0 / 0.6807 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004554/0.2438, allocations: 328.5 kB / 0.681 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/0.244, allocations: 144.6 kB / 0.6811 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.881e-05/0.244, allocations: 7.984 kB / 0.6811 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.2442, allocations: 19.98 kB / 0.6811 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.271e-05/0.2442, allocations: 23.97 kB / 0.6812 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.976e-05/0.2443, allocations: 8 kB / 0.6812 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000212/0.2445, allocations: 236.4 kB / 0.6814 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2445, allocations: 3.938 kB / 0.6814 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000282/0.2448, allocations: 52 kB / 0.6815 GB, free: 6.559 MB / 0.5137 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.001035/0.2458, allocations: 407.7 kB / 0.6818 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004038/0.2462, allocations: 227.7 kB / 0.6821 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.2463, allocations: 0 / 0.6821 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001899/0.2464, allocations: 127.8 kB / 0.6822 GB, free: 5.949 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.2467, allocations: 40.59 kB / 0.6822 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008841/0.2476, allocations: 0.521 MB / 0.6827 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004856/0.2481, allocations: 0.7611 MB / 0.6835 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002941/0.2484, allocations: 142.8 kB / 0.6836 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.329e-05/0.2485, allocations: 43.42 kB / 0.6836 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.2485, allocations: 0 / 0.6836 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of Templates: time 0.007198/0.2557, allocations: 2.998 MB / 0.6866 GB, free: 1.418 MB / 0.5137 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)