Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.465/1.465, allocations: 251.9 MB / 266.9 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001329/0.001329, allocations: 184.8 kB / 326.5 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.218/2.218, allocations: 205.4 MB / 0.5775 GB, free: 20.13 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009253/0.0009254, allocations: 96.73 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004733/0.000473, allocations: 12.31 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2558, allocations: 106.3 MB / 0.9002 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1962/0.4521, allocations: 136 MB / 1.033 GB, free: 7.629 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/0.4525, allocations: 91.92 kB / 1.033 GB, free: 7.539 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0238/0.4763, allocations: 8.938 MB / 1.042 GB, free: 14.58 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.005e-06/0.4763, allocations: 0 / 1.042 GB, free: 14.58 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.282e-05/0.4764, allocations: 8 kB / 1.042 GB, free: 14.57 MB / 0.698 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.0009943/0.4774, allocations: 0.5226 MB / 1.042 GB, free: 14 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.32e-05/0.4775, allocations: 8.031 kB / 1.042 GB, free: 14 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001045/0.4776, allocations: 54.55 kB / 1.042 GB, free: 13.93 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000179/0.4778, allocations: 39.62 kB / 1.042 GB, free: 13.89 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004598/0.4782, allocations: 281.5 kB / 1.043 GB, free: 13.58 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.633e-05/0.4783, allocations: 12 kB / 1.043 GB, free: 13.57 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.153e-05/0.4783, allocations: 16 kB / 1.043 GB, free: 13.55 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004341/0.4787, allocations: 236.5 kB / 1.043 GB, free: 13.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.4788, allocations: 0 / 1.043 GB, free: 13.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.755e-05/0.4788, allocations: 4 kB / 1.043 GB, free: 13.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.4788, allocations: 8 kB / 1.043 GB, free: 13.29 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.4799, allocations: 0.749 MB / 1.044 GB, free: 12.54 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.4809, allocations: 0.6056 MB / 1.044 GB, free: 11.88 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004912/0.4814, allocations: 302 kB / 1.045 GB, free: 11.57 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.058e-05/0.4815, allocations: 20.25 kB / 1.045 GB, free: 11.55 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000339/0.4818, allocations: 175.4 kB / 1.045 GB, free: 11.37 MB / 0.698 GB Notification: Performance of pre-optimization done (n=35): time 1.863e-06/0.4818, allocations: 3.938 kB / 1.045 GB, free: 11.37 MB / 0.698 GB Notification: Performance of matching and sorting (n=35): time 0.0007532/0.4826, allocations: 377.9 kB / 1.045 GB, free: 10.99 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001299/0.4827, allocations: 136.4 kB / 1.045 GB, free: 10.83 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003837/0.4831, allocations: 268.1 kB / 1.045 GB, free: 10.56 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.387e-05/0.4832, allocations: 29.7 kB / 1.046 GB, free: 10.52 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.4833, allocations: 144.5 kB / 1.046 GB, free: 10.38 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001677/0.4835, allocations: 118.3 kB / 1.046 GB, free: 10.26 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.485e-05/0.4835, allocations: 4 kB / 1.046 GB, free: 10.25 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001924/0.4837, allocations: 334.8 kB / 1.046 GB, free: 9.918 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.4839, allocations: 79.95 kB / 1.046 GB, free: 9.84 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000221/0.4841, allocations: 131.5 kB / 1.046 GB, free: 9.699 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/0.4843, allocations: 103.9 kB / 1.046 GB, free: 9.598 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.4843, allocations: 0 / 1.046 GB, free: 9.598 MB / 0.698 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004709/0.4848, allocations: 281.5 kB / 1.047 GB, free: 9.316 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.4848, allocations: 4 kB / 1.047 GB, free: 9.312 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.4848, allocations: 0 / 1.047 GB, free: 9.312 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.891e-05/0.4849, allocations: 11.94 kB / 1.047 GB, free: 9.301 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/0.4851, allocations: 63.91 kB / 1.047 GB, free: 9.238 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.4851, allocations: 3.984 kB / 1.047 GB, free: 9.234 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/0.4853, allocations: 27.84 kB / 1.047 GB, free: 9.207 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.143e-05/0.4853, allocations: 15.98 kB / 1.047 GB, free: 9.191 MB / 0.698 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001811/0.4855, allocations: 157.8 kB / 1.047 GB, free: 9.027 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.022e-05/0.4856, allocations: 31.62 kB / 1.047 GB, free: 8.996 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007041/0.4863, allocations: 380.5 kB / 1.047 GB, free: 8.617 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.4863, allocations: 4 kB / 1.047 GB, free: 8.613 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.944e-06/0.4863, allocations: 7.953 kB / 1.047 GB, free: 8.605 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.585e-06/0.4863, allocations: 3.984 kB / 1.047 GB, free: 8.602 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003598/0.4867, allocations: 349.3 kB / 1.048 GB, free: 8.211 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.4867, allocations: 0 / 1.048 GB, free: 8.211 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000189/0.4869, allocations: 59.91 kB / 1.048 GB, free: 8.152 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.4869, allocations: 0 / 1.048 GB, free: 8.152 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.757e-05/0.4869, allocations: 15.98 kB / 1.048 GB, free: 8.137 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.4869, allocations: 4 kB / 1.048 GB, free: 8.133 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4869, allocations: 0 / 1.048 GB, free: 8.133 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004709/0.4874, allocations: 333.9 kB / 1.048 GB, free: 7.789 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002195/0.4877, allocations: 156.6 kB / 1.048 GB, free: 7.617 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.165e-05/0.4877, allocations: 4 kB / 1.048 GB, free: 7.613 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/0.4879, allocations: 39.97 kB / 1.048 GB, free: 7.574 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.063e-05/0.488, allocations: 19.97 kB / 1.048 GB, free: 7.555 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.711e-05/0.488, allocations: 15.98 kB / 1.048 GB, free: 7.539 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000227/0.4882, allocations: 228.4 kB / 1.049 GB, free: 7.316 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4882, allocations: 7.938 kB / 1.049 GB, free: 7.309 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003313/0.4886, allocations: 75.91 kB / 1.049 GB, free: 7.234 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001644/0.4902, allocations: 1.16 MB / 1.05 GB, free: 6.195 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004281/0.4907, allocations: 232.1 kB / 1.05 GB, free: 5.969 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.4907, allocations: 8 kB / 1.05 GB, free: 5.961 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002142/0.4909, allocations: 132.3 kB / 1.05 GB, free: 5.832 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.4912, allocations: 38.84 kB / 1.05 GB, free: 5.801 MB / 0.698 GB Warning: Could not resolve URI (OpenModelica_fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/weatherdata/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.mos")) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002588/0.4938, allocations: 1.53 MB / 1.052 GB, free: 4.223 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004505/0.4943, allocations: 0.7697 MB / 1.052 GB, free: 3.426 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003881/0.4947, allocations: 155 kB / 1.053 GB, free: 3.27 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/0.4948, allocations: 99.33 kB / 1.053 GB, free: 3.176 MB / 0.698 GB Notification: Performance of SimCode: time 4.31e-07/0.4949, allocations: 3.938 kB / 1.053 GB, free: 3.172 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8342/1.329, allocations: 6.004 MB / 1.058 GB, free: 149.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002535/1.329, allocations: 264.4 kB / 1.059 GB, free: 149 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.085/3.415, allocations: 3.844 kB / 1.059 GB, free: 149 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)