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.7919/0.7919, allocations: 143.4 MB / 158.3 MB, free: 5.766 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 169.2 kB / 191.5 MB, free: 5.75 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.421/1.421, allocations: 223.2 MB / 447.7 MB, free: 4.801 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.0008794/0.0008794, allocations: 92.31 kB / 0.5187 GB, free: 1.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00171/0.00171, allocations: 275.8 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004067/0.0004067, allocations: 13.19 kB / 0.6929 GB, free: 59.69 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1392, allocations: 82.8 MB / 0.7738 GB, free: 13.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4923/0.6315, allocations: 113.4 MB / 0.8846 GB, free: 21.9 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/0.6317, allocations: 87.98 kB / 0.8847 GB, free: 21.9 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.02272/0.6545, allocations: 9.174 MB / 0.8936 GB, free: 21.09 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6545, allocations: 0 / 0.8936 GB, free: 21.09 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.584e-05/0.6545, allocations: 5.625 kB / 0.8936 GB, free: 21.09 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.0006314/0.6552, allocations: 0.5394 MB / 0.8941 GB, free: 20.63 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.6552, allocations: 9 kB / 0.8942 GB, free: 20.63 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.109e-05/0.6553, allocations: 53 kB / 0.8942 GB, free: 20.59 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001284/0.6554, allocations: 33.8 kB / 0.8942 GB, free: 20.57 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003193/0.6557, allocations: 274.6 kB / 0.8945 GB, free: 20.36 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.6558, allocations: 18.92 kB / 0.8945 GB, free: 20.35 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.155e-05/0.6558, allocations: 20.67 kB / 0.8945 GB, free: 20.34 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003764/0.6562, allocations: 228.6 kB / 0.8948 GB, free: 20.28 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.6562, allocations: 3.938 kB / 0.8948 GB, free: 20.27 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.64e-05/0.6562, allocations: 10.16 kB / 0.8948 GB, free: 20.27 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.6563, allocations: 3.906 kB / 0.8948 GB, free: 20.27 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/0.6573, allocations: 0.7506 MB / 0.8955 GB, free: 20.26 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009461/0.6583, allocations: 0.6103 MB / 0.8961 GB, free: 19.97 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005085/0.6588, allocations: 307.1 kB / 0.8964 GB, free: 19.94 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.236e-05/0.6589, allocations: 20.39 kB / 0.8964 GB, free: 19.94 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002777/0.6591, allocations: 177.9 kB / 0.8966 GB, free: 19.89 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=35): time 1.723e-06/0.6591, allocations: 4 kB / 0.8966 GB, free: 19.88 MB / 0.5417 GB Notification: Performance of matching and sorting (n=35): time 0.0006383/0.6598, allocations: 375.7 kB / 0.8969 GB, free: 19.82 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.6599, allocations: 138.4 kB / 0.8971 GB, free: 19.66 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003069/0.6602, allocations: 265.5 kB / 0.8973 GB, free: 19.56 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.6602, allocations: 35.7 kB / 0.8974 GB, free: 19.53 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.878e-05/0.6603, allocations: 134.6 kB / 0.8975 GB, free: 19.44 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.088e-05/0.6604, allocations: 117.9 kB / 0.8976 GB, free: 19.36 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.176e-05/0.6604, allocations: 5.25 kB / 0.8976 GB, free: 19.36 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.06e-05/0.6605, allocations: 343.2 kB / 0.8979 GB, free: 19.05 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.6606, allocations: 78.33 kB / 0.898 GB, free: 19.05 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.6608, allocations: 128.4 kB / 0.8981 GB, free: 19.01 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.6609, allocations: 104 kB / 0.8982 GB, free: 19 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.661, allocations: 1.312 kB / 0.8982 GB, free: 19 MB / 0.5417 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004158/0.6614, allocations: 282.3 kB / 0.8985 GB, free: 18.95 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.6614, allocations: 4.719 kB / 0.8985 GB, free: 18.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.6614, allocations: 1.25 kB / 0.8985 GB, free: 18.95 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.6614, allocations: 5.312 kB / 0.8985 GB, free: 18.95 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/0.6617, allocations: 65 kB / 0.8986 GB, free: 18.94 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.6617, allocations: 2.219 kB / 0.8986 GB, free: 18.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001604/0.6619, allocations: 32.5 kB / 0.8986 GB, free: 18.93 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.205e-05/0.6619, allocations: 14.64 kB / 0.8986 GB, free: 18.93 MB / 0.5417 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.0001541/0.6621, allocations: 162.1 kB / 0.8988 GB, free: 18.81 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.734e-05/0.6621, allocations: 25.12 kB / 0.8988 GB, free: 18.8 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000668/0.6628, allocations: 391.4 kB / 0.8992 GB, free: 18.72 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.6628, allocations: 7.875 kB / 0.8992 GB, free: 18.71 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.6628, allocations: 1.406 kB / 0.8992 GB, free: 18.71 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.6628, allocations: 1.594 kB / 0.8992 GB, free: 18.71 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002974/0.6631, allocations: 350.2 kB / 0.8995 GB, free: 18.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.6631, allocations: 0 / 0.8995 GB, free: 18.52 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000178/0.6633, allocations: 62.08 kB / 0.8996 GB, free: 18.51 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.6633, allocations: 1.25 kB / 0.8996 GB, free: 18.51 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.153e-05/0.6634, allocations: 18.66 kB / 0.8996 GB, free: 18.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.6634, allocations: 2.125 kB / 0.8996 GB, free: 18.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.6634, allocations: 0 / 0.8996 GB, free: 18.5 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004276/0.6638, allocations: 325.2 kB / 0.8999 GB, free: 18.42 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001512/0.664, allocations: 160.4 kB / 0.9001 GB, free: 18.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.694e-05/0.664, allocations: 10.41 kB / 0.9001 GB, free: 18.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.6642, allocations: 30.5 kB / 0.9001 GB, free: 18.3 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.576e-05/0.6643, allocations: 30.73 kB / 0.9001 GB, free: 18.29 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.761e-05/0.6643, allocations: 12.8 kB / 0.9001 GB, free: 18.29 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001956/0.6645, allocations: 222.8 kB / 0.9004 GB, free: 18.21 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6645, allocations: 0 / 0.9004 GB, free: 18.21 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003161/0.6649, allocations: 77.44 kB / 0.9004 GB, free: 18.21 MB / 0.5417 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.001442/0.6663, allocations: 1.177 MB / 0.9016 GB, free: 17.48 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003614/0.6667, allocations: 227.4 kB / 0.9018 GB, free: 17.47 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6667, allocations: 0.9062 kB / 0.9018 GB, free: 17.47 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001897/0.6669, allocations: 136.7 kB / 0.9019 GB, free: 17.46 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.6671, allocations: 32.53 kB / 0.902 GB, free: 17.46 MB / 0.5417 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.001971/0.6691, allocations: 1.537 MB / 0.9035 GB, free: 16.89 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001864/0.6693, allocations: 0.7702 MB / 0.9042 GB, free: 16.2 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003939/0.6697, allocations: 155.1 kB / 0.9044 GB, free: 16.15 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.6699, allocations: 94.8 kB / 0.9045 GB, free: 16.14 MB / 0.5417 GB Notification: Performance of SimCode: time 2.7e-07/0.6699, allocations: 0 / 0.9045 GB, free: 16.14 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2625/0.9323, allocations: 6.027 MB / 0.9103 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001482/0.9325, allocations: 265.2 kB / 0.9106 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.897/2.83, allocations: 3.125 kB / 0.9106 GB, free: 15.29 MB / 0.5417 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)