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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 109.4 kB / 15.69 MB, free: 124 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002202/0.002202, allocations: 190.6 kB / 16.62 MB, free: 6.578 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.326/1.326, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.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.625/1.625, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001379/0.00138, allocations: 74.89 kB / 0.6718 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1872, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003034/0.1903, allocations: 1.847 MB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001821/0.1921, allocations: 1.489 MB / 0.7869 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.869e-05/0.1922, allocations: 4 kB / 0.7869 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002064/0.1924, allocations: 31.78 kB / 0.7869 GB, free: 9.855 MB / 0.6075 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.0002772/0.1927, allocations: 79.53 kB / 0.787 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003697/0.1931, allocations: 150.5 kB / 0.7871 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002657/0.1934, allocations: 273.4 kB / 0.7874 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.1935, allocations: 37.33 kB / 0.7874 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.492e-05/0.1936, allocations: 95.8 kB / 0.7875 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001913/0.1938, allocations: 99.7 kB / 0.7876 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.349e-05/0.1938, allocations: 23.94 kB / 0.7876 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.194, allocations: 67.98 kB / 0.7877 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.781e-05/0.1941, allocations: 87.73 kB / 0.7878 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.1942, allocations: 123.3 kB / 0.7879 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003078/0.1945, allocations: 311 kB / 0.7882 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1945, allocations: 0 / 0.7882 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1945, allocations: 4 kB / 0.7882 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.1945, allocations: 0 / 0.7882 GB, free: 8.531 MB / 0.6075 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.0006921/0.1952, allocations: 0.5614 MB / 0.7888 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.1953, allocations: 11.97 kB / 0.7888 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.459e-05/0.1953, allocations: 58.67 kB / 0.7888 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001362/0.1955, allocations: 28.66 kB / 0.7889 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.1957, allocations: 270.7 kB / 0.7891 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.1958, allocations: 16.38 kB / 0.7891 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.628e-05/0.1958, allocations: 15.94 kB / 0.7891 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003397/0.1961, allocations: 233.7 kB / 0.7894 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.597e-06/0.1961, allocations: 0 / 0.7894 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.184e-05/0.1962, allocations: 4 kB / 0.7894 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.1962, allocations: 4 kB / 0.7894 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000989/0.1972, allocations: 0.7566 MB / 0.7901 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/0.1982, allocations: 0.6215 MB / 0.7907 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004827/0.1987, allocations: 301.9 kB / 0.791 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.1989, allocations: 117.4 kB / 0.7911 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.255e-05/0.1989, allocations: 20.25 kB / 0.7911 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000356/0.1993, allocations: 187.9 kB / 0.7913 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=35): time 1.573e-06/0.1993, allocations: 0 / 0.7913 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35): time 0.0006314/0.1999, allocations: 382.9 kB / 0.7917 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.561e-05/0.2, allocations: 140.4 kB / 0.7918 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002679/0.2003, allocations: 309 kB / 0.7921 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.2003, allocations: 29.7 kB / 0.7921 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.995e-05/0.2004, allocations: 132.6 kB / 0.7923 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.031e-05/0.2005, allocations: 122.3 kB / 0.7924 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.462e-05/0.2006, allocations: 69.69 kB / 0.7925 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.2007, allocations: 338.8 kB / 0.7928 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.2008, allocations: 83.95 kB / 0.7929 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/0.201, allocations: 119.4 kB / 0.793 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002961/0.2013, allocations: 221.3 kB / 0.7932 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/0.2013, allocations: 0 / 0.7932 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003984/0.2017, allocations: 277.2 kB / 0.7934 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.2018, allocations: 8 kB / 0.7935 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.2018, allocations: 0 / 0.7935 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.2018, allocations: 7.938 kB / 0.7935 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.202, allocations: 63.89 kB / 0.7935 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.202, allocations: 3.938 kB / 0.7935 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.2022, allocations: 23.75 kB / 0.7935 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/0.2022, allocations: 19.98 kB / 0.7936 GB, free: 2.762 MB / 0.6075 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.0001411/0.2024, allocations: 162.4 kB / 0.7937 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.2025, allocations: 27.72 kB / 0.7937 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.264e-05/0.2026, allocations: 38.89 kB / 0.7938 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.2026, allocations: 4 kB / 0.7938 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.2026, allocations: 0 / 0.7938 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.2026, allocations: 7.984 kB / 0.7938 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002928/0.2029, allocations: 345.1 kB / 0.7941 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2029, allocations: 0 / 0.7941 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001909/0.2031, allocations: 63.91 kB / 0.7942 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.2031, allocations: 0 / 0.7942 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.176e-05/0.2031, allocations: 19.92 kB / 0.7942 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.2032, allocations: 4 kB / 0.7942 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2032, allocations: 0 / 0.7942 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004347/0.2036, allocations: 324.6 kB / 0.7945 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.2037, allocations: 144.7 kB / 0.7947 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.083e-05/0.2038, allocations: 11.92 kB / 0.7947 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.2039, allocations: 19.98 kB / 0.7947 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.445e-05/0.204, allocations: 31.95 kB / 0.7947 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-05/0.204, allocations: 16 kB / 0.7947 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001836/0.2042, allocations: 236.4 kB / 0.795 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2042, allocations: 0 / 0.795 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002828/0.2045, allocations: 67.94 kB / 0.795 GB, free: 1.172 MB / 0.6075 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.001397/0.2059, allocations: 1.151 MB / 0.7961 GB, free: 144 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003762/0.2063, allocations: 236.2 kB / 0.7964 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2063, allocations: 4 kB / 0.7964 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001847/0.2065, allocations: 132.3 kB / 0.7965 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.2068, allocations: 56.91 kB / 0.7966 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002701/0.2095, allocations: 2.514 MB / 0.799 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.2099, allocations: 0.7614 MB / 0.7998 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003133/0.2102, allocations: 142.9 kB / 0.7999 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.2103, allocations: 99.39 kB / 0.8 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of SimCode: time 1.723e-06/0.2103, allocations: 0 / 0.8 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1581/0.3685, allocations: 5.928 MB / 0.8058 GB, free: 6.363 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.591/7.96, allocations: 7.609 kB / 0.8058 GB, free: 6.355 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)