Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.LimitMin,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",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.8721/0.8721, allocations: 143.4 MB / 158.3 MB, free: 5.812 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.00168/0.00168, allocations: 181 kB / 191.5 MB, free: 5.766 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.354/1.354, allocations: 223.2 MB / 447.7 MB, free: 4.82 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.0008652/0.0008652, allocations: 94.22 kB / 0.5187 GB, free: 1.184 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001678/0.001678, allocations: 270.6 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006529/0.000653, allocations: 14.88 kB / 0.6929 GB, free: 59.64 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1383, allocations: 82.8 MB / 0.7738 GB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4098/0.5481, allocations: 112.2 MB / 0.8834 GB, free: 32.63 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002154/0.5483, allocations: 86.2 kB / 0.8835 GB, free: 32.63 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01978/0.5681, allocations: 8.249 MB / 0.8915 GB, free: 31.91 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5682, allocations: 0 / 0.8915 GB, free: 31.91 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.329e-05/0.5682, allocations: 6.969 kB / 0.8915 GB, free: 31.9 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0005149/0.5687, allocations: 0.5015 MB / 0.892 GB, free: 31.46 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.5688, allocations: 9.938 kB / 0.892 GB, free: 31.46 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.959e-05/0.5688, allocations: 56.03 kB / 0.8921 GB, free: 31.41 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.274e-05/0.5689, allocations: 27.53 kB / 0.8921 GB, free: 31.4 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002738/0.5691, allocations: 269.4 kB / 0.8924 GB, free: 31.18 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.5692, allocations: 15.86 kB / 0.8924 GB, free: 31.17 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.5692, allocations: 11.88 kB / 0.8924 GB, free: 31.17 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002768/0.5695, allocations: 206.9 kB / 0.8926 GB, free: 31.11 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.5695, allocations: 0 / 0.8926 GB, free: 31.11 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/0.5695, allocations: 6.688 kB / 0.8926 GB, free: 31.11 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.5695, allocations: 10.89 kB / 0.8926 GB, free: 31.1 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007504/0.5703, allocations: 0.7347 MB / 0.8933 GB, free: 31.09 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007205/0.571, allocations: 0.556 MB / 0.8939 GB, free: 30.82 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004426/0.5715, allocations: 302.5 kB / 0.8942 GB, free: 30.79 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.189e-05/0.5715, allocations: 24.53 kB / 0.8942 GB, free: 30.78 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002549/0.5718, allocations: 179.2 kB / 0.8944 GB, free: 30.72 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=34): time 2.014e-06/0.5718, allocations: 0 / 0.8944 GB, free: 30.72 MB / 0.5417 GB Notification: Performance of matching and sorting (n=34): time 0.0006525/0.5725, allocations: 369 kB / 0.8947 GB, free: 30.67 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.5725, allocations: 134.9 kB / 0.8948 GB, free: 30.51 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002853/0.5728, allocations: 255.7 kB / 0.8951 GB, free: 30.41 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.5728, allocations: 31.23 kB / 0.8951 GB, free: 30.38 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.453e-05/0.5729, allocations: 130.6 kB / 0.8952 GB, free: 30.29 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 6.852e-05/0.573, allocations: 113 kB / 0.8953 GB, free: 30.22 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.348e-05/0.573, allocations: 4.75 kB / 0.8953 GB, free: 30.22 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.672e-05/0.5731, allocations: 344.8 kB / 0.8957 GB, free: 29.9 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.5732, allocations: 77.72 kB / 0.8958 GB, free: 29.9 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001707/0.5734, allocations: 132.5 kB / 0.8959 GB, free: 29.86 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/0.5736, allocations: 98.98 kB / 0.896 GB, free: 29.86 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.5736, allocations: 4.531 kB / 0.896 GB, free: 29.86 MB / 0.5417 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004211/0.574, allocations: 278.9 kB / 0.8962 GB, free: 29.8 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.574, allocations: 4.625 kB / 0.8962 GB, free: 29.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.574, allocations: 2.062 kB / 0.8962 GB, free: 29.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.5741, allocations: 1.344 kB / 0.8962 GB, free: 29.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002186/0.5743, allocations: 62.67 kB / 0.8963 GB, free: 29.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.5743, allocations: 1.5 kB / 0.8963 GB, free: 29.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.5745, allocations: 27.72 kB / 0.8963 GB, free: 29.79 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.915e-05/0.5745, allocations: 12.91 kB / 0.8963 GB, free: 29.79 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 (35): * Single equations (assignments): 35 * 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.0001338/0.5746, allocations: 171.8 kB / 0.8965 GB, free: 29.66 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.688e-05/0.5747, allocations: 23.62 kB / 0.8965 GB, free: 29.65 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007054/0.5754, allocations: 388.5 kB / 0.8969 GB, free: 29.58 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.5754, allocations: 4.094 kB / 0.8969 GB, free: 29.58 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.5754, allocations: 0 / 0.8969 GB, free: 29.58 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.5754, allocations: 7.703 kB / 0.8969 GB, free: 29.57 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003529/0.5758, allocations: 343.8 kB / 0.8972 GB, free: 29.37 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.5758, allocations: 0 / 0.8972 GB, free: 29.37 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002521/0.5761, allocations: 64.23 kB / 0.8973 GB, free: 29.36 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.5761, allocations: 3.281 kB / 0.8973 GB, free: 29.36 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.866e-05/0.5761, allocations: 10 kB / 0.8973 GB, free: 29.36 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.5761, allocations: 1.375 kB / 0.8973 GB, free: 29.36 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.5762, allocations: 1.375 kB / 0.8973 GB, free: 29.36 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000402/0.5766, allocations: 323.7 kB / 0.8976 GB, free: 29.27 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.5767, allocations: 160.9 kB / 0.8978 GB, free: 29.15 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.213e-05/0.5768, allocations: 6.375 kB / 0.8978 GB, free: 29.15 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.5769, allocations: 20.52 kB / 0.8978 GB, free: 29.15 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.489e-05/0.577, allocations: 23.61 kB / 0.8978 GB, free: 29.15 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.529e-05/0.577, allocations: 15.39 kB / 0.8978 GB, free: 29.15 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001839/0.5772, allocations: 217.8 kB / 0.8981 GB, free: 29.07 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5772, allocations: 0 / 0.8981 GB, free: 29.07 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003032/0.5775, allocations: 66.59 kB / 0.8981 GB, free: 29.06 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 (34): * Single equations (assignments): 33 * 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.00131/0.5788, allocations: 1.156 MB / 0.8992 GB, free: 28.35 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003465/0.5792, allocations: 228.4 kB / 0.8995 GB, free: 28.34 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.5792, allocations: 0 / 0.8995 GB, free: 28.34 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001862/0.5794, allocations: 127.6 kB / 0.8996 GB, free: 28.33 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001985/0.5796, allocations: 33.19 kB / 0.8996 GB, free: 28.32 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.001868/0.5815, allocations: 1.457 MB / 0.901 GB, free: 27.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001618/0.5816, allocations: 0.7586 MB / 0.9018 GB, free: 27.1 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003135/0.582, allocations: 151.3 kB / 0.9019 GB, free: 27.06 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/0.5821, allocations: 93.73 kB / 0.902 GB, free: 27.05 MB / 0.5417 GB Notification: Performance of SimCode: time 3.847e-06/0.5821, allocations: 0 / 0.902 GB, free: 27.05 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2281/0.8102, allocations: 5.515 MB / 0.9074 GB, free: 26.57 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001327/0.8104, allocations: 258.5 kB / 0.9076 GB, free: 26.24 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.904/2.714, allocations: 0.5 kB / 0.9076 GB, free: 26.24 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)