Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6949/0.6949, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009201/0.0009201, allocations: 181 kB / 187.3 MB, free: 11.87 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.2/1.2, allocations: 221.3 MB / 441.4 MB, free: 4.582 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007591/0.0007591, allocations: 89.56 kB / 0.5124 GB, free: 24.2 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001761/0.001761, allocations: 280.4 kB / 0.5939 GB, free: 7.949 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.972e-05/2.975e-05, allocations: 8 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3242, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1062/0.4304, allocations: 113.4 MB / 0.8751 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002123/0.4307, allocations: 91.94 kB / 0.8752 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.0221/0.4528, allocations: 8.968 MB / 0.8839 GB, free: 2.078 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.432e-06/0.4528, allocations: 3.938 kB / 0.8839 GB, free: 2.074 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.716e-05/0.4528, allocations: 15.94 kB / 0.884 GB, free: 2.059 MB / 0.5417 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.0005758/0.4534, allocations: 0.4908 MB / 0.8844 GB, free: 1.523 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.4535, allocations: 12.03 kB / 0.8844 GB, free: 1.512 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.878e-05/0.4535, allocations: 50.55 kB / 0.8845 GB, free: 1.453 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/0.4537, allocations: 31.7 kB / 0.8845 GB, free: 1.422 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003455/0.454, allocations: 273.6 kB / 0.8848 GB, free: 1.117 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.4541, allocations: 19.73 kB / 0.8848 GB, free: 1.098 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.628e-05/0.4541, allocations: 16 kB / 0.8848 GB, free: 1.082 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003492/0.4545, allocations: 224.9 kB / 0.885 GB, free: 0.8438 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.4545, allocations: 4 kB / 0.885 GB, free: 0.8398 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.49e-05/0.4545, allocations: 12 kB / 0.885 GB, free: 0.8281 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.4545, allocations: 4 kB / 0.885 GB, free: 0.8242 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008253/0.4553, allocations: 0.7371 MB / 0.8858 GB, free: 88 kB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008758/0.4562, allocations: 0.6058 MB / 0.8864 GB, free: 15.43 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004574/0.4567, allocations: 298 kB / 0.8866 GB, free: 15.12 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.4569, allocations: 109.4 kB / 0.8867 GB, free: 15.02 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.324e-05/0.4569, allocations: 20.25 kB / 0.8868 GB, free: 15 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002651/0.4572, allocations: 179.4 kB / 0.8869 GB, free: 14.81 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=35): time 1.663e-06/0.4572, allocations: 0 / 0.8869 GB, free: 14.81 MB / 0.5573 GB Notification: Performance of matching and sorting (n=35): time 0.0004579/0.4577, allocations: 281 kB / 0.8872 GB, free: 14.53 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.944e-05/0.4577, allocations: 140.5 kB / 0.8873 GB, free: 14.36 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002769/0.458, allocations: 265 kB / 0.8876 GB, free: 14.1 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.4581, allocations: 33.7 kB / 0.8876 GB, free: 14.06 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.55e-05/0.4581, allocations: 136.7 kB / 0.8878 GB, free: 13.92 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 8.797e-05/0.4582, allocations: 114.4 kB / 0.8879 GB, free: 13.81 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.138e-05/0.4582, allocations: 4 kB / 0.8879 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.4584, allocations: 338.8 kB / 0.8882 GB, free: 13.46 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.4585, allocations: 79.98 kB / 0.8883 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.4587, allocations: 127.5 kB / 0.8884 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.4588, allocations: 99.8 kB / 0.8885 GB, free: 13.15 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4588, allocations: 0 / 0.8885 GB, free: 13.15 MB / 0.5573 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003875/0.4592, allocations: 273.7 kB / 0.8887 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.4593, allocations: 5.094 kB / 0.8888 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.4593, allocations: 0 / 0.8888 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.4593, allocations: 7.984 kB / 0.8888 GB, free: 12.87 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.4595, allocations: 67.91 kB / 0.8888 GB, free: 12.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.4595, allocations: 3.938 kB / 0.8888 GB, free: 12.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001593/0.4597, allocations: 31.73 kB / 0.8889 GB, free: 12.77 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.425e-05/0.4597, allocations: 14.56 kB / 0.8889 GB, free: 12.75 MB / 0.5573 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 () * 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 9.523e-05/0.4598, allocations: 124.9 kB / 0.889 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.644e-05/0.4599, allocations: 23.72 kB / 0.889 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006511/0.4605, allocations: 402.7 kB / 0.8894 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.4605, allocations: 4 kB / 0.8894 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.4605, allocations: 0 / 0.8894 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.4606, allocations: 3.984 kB / 0.8894 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003049/0.4609, allocations: 353.2 kB / 0.8897 GB, free: 11.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4609, allocations: 0 / 0.8897 GB, free: 11.81 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.4611, allocations: 63.91 kB / 0.8898 GB, free: 11.75 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.4611, allocations: 0 / 0.8898 GB, free: 11.75 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.4611, allocations: 8 kB / 0.8898 GB, free: 11.74 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.4611, allocations: 4 kB / 0.8898 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4611, allocations: 7.984 kB / 0.8898 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004115/0.4615, allocations: 313.7 kB / 0.8901 GB, free: 11.4 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001511/0.4617, allocations: 156.6 kB / 0.8903 GB, free: 11.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.811e-05/0.4617, allocations: 4 kB / 0.8903 GB, free: 11.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/0.4619, allocations: 39.97 kB / 0.8903 GB, free: 11.19 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.269e-05/0.462, allocations: 19.97 kB / 0.8903 GB, free: 11.17 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.642e-05/0.462, allocations: 15.98 kB / 0.8903 GB, free: 11.15 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002017/0.4622, allocations: 221.3 kB / 0.8906 GB, free: 10.93 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4622, allocations: 0 / 0.8906 GB, free: 10.93 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002797/0.4625, allocations: 75.94 kB / 0.8906 GB, free: 10.86 MB / 0.5573 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) * 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.001316/0.4638, allocations: 1.141 MB / 0.8917 GB, free: 9.812 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003345/0.4642, allocations: 215.8 kB / 0.892 GB, free: 9.602 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4642, allocations: 0 / 0.892 GB, free: 9.602 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001718/0.4644, allocations: 136.7 kB / 0.8921 GB, free: 9.469 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.4646, allocations: 30.86 kB / 0.8921 GB, free: 9.441 MB / 0.5573 GB Warning: Could not resolve URI (OpenModelica_fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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.0008302/0.4654, allocations: 0.4975 MB / 0.8926 GB, free: 8.914 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.4657, allocations: 0.7808 MB / 0.8934 GB, free: 8.105 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003198/0.4661, allocations: 151.4 kB / 0.8935 GB, free: 7.973 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.4662, allocations: 99.39 kB / 0.8936 GB, free: 7.875 MB / 0.5573 GB Notification: Performance of SimCode: time 2.4e-07/0.4662, allocations: 0 / 0.8936 GB, free: 7.875 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2101/0.6764, allocations: 6 MB / 0.8995 GB, free: 2.117 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001663/0.6765, allocations: 241.4 kB / 0.8997 GB, free: 1.801 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.731/2.408, allocations: 0 / 0.8997 GB, free: 1.801 MB / 0.5573 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)