Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.462/2.462, allocations: 251 MB / 265.9 MB, free: 11.69 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.001582/0.001582, allocations: 176.1 kB / 325.5 MB, free: 2.898 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.396/2.396, allocations: 205.4 MB / 0.5764 GB, free: 20.82 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.001094/0.001094, allocations: 94.77 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006424/0.0006423, allocations: 12.66 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2121, allocations: 106.3 MB / 0.8988 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2281/0.4402, allocations: 134.6 MB / 1.03 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003399/0.4406, allocations: 83.95 kB / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03485/0.4755, allocations: 8.043 MB / 1.038 GB, free: 2.551 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.425e-06/0.4756, allocations: 4 kB / 1.038 GB, free: 2.547 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.475e-05/0.4756, allocations: 4 kB / 1.038 GB, free: 2.543 MB / 0.6823 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.00108/0.4767, allocations: 0.5031 MB / 1.039 GB, free: 1.992 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.4768, allocations: 12.03 kB / 1.039 GB, free: 1.98 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.123e-05/0.4769, allocations: 50.55 kB / 1.039 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.093e-05/0.477, allocations: 23.72 kB / 1.039 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005066/0.4775, allocations: 266.5 kB / 1.039 GB, free: 1.598 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.4775, allocations: 8 kB / 1.039 GB, free: 1.59 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.433e-05/0.4776, allocations: 20 kB / 1.039 GB, free: 1.57 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005457/0.4781, allocations: 212.6 kB / 1.039 GB, free: 1.344 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.4782, allocations: 4 kB / 1.039 GB, free: 1.34 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.435e-05/0.4782, allocations: 4 kB / 1.039 GB, free: 1.336 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.4782, allocations: 4 kB / 1.039 GB, free: 1.332 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001538/0.4798, allocations: 0.7373 MB / 1.04 GB, free: 0.5938 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001427/0.4812, allocations: 0.5668 MB / 1.041 GB, free: 15.97 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008299/0.4821, allocations: 296.6 kB / 1.041 GB, free: 15.67 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.024e-05/0.4822, allocations: 24.23 kB / 1.041 GB, free: 15.65 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004448/0.4826, allocations: 166.1 kB / 1.041 GB, free: 15.48 MB / 0.698 GB Notification: Performance of pre-optimization done (n=34): time 4.348e-06/0.4827, allocations: 4 kB / 1.041 GB, free: 15.47 MB / 0.698 GB Notification: Performance of matching and sorting (n=34): time 0.001106/0.4838, allocations: 377 kB / 1.041 GB, free: 15.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.23e-05/0.4839, allocations: 132.5 kB / 1.042 GB, free: 14.94 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004895/0.4844, allocations: 267.1 kB / 1.042 GB, free: 14.67 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.25e-05/0.4845, allocations: 29.7 kB / 1.042 GB, free: 14.63 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.4846, allocations: 128.7 kB / 1.042 GB, free: 14.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.4847, allocations: 106.5 kB / 1.042 GB, free: 14.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.419e-05/0.4848, allocations: 4 kB / 1.042 GB, free: 14.39 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.4849, allocations: 338.8 kB / 1.042 GB, free: 14.05 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002418/0.4852, allocations: 79.95 kB / 1.042 GB, free: 13.98 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003067/0.4855, allocations: 123.4 kB / 1.043 GB, free: 13.84 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003047/0.4858, allocations: 104.6 kB / 1.043 GB, free: 13.74 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.4858, allocations: 0 / 1.043 GB, free: 13.74 MB / 0.698 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007463/0.4866, allocations: 273 kB / 1.043 GB, free: 13.47 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.4866, allocations: 4 kB / 1.043 GB, free: 13.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.4866, allocations: 4 kB / 1.043 GB, free: 13.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.493e-05/0.4867, allocations: 7.938 kB / 1.043 GB, free: 13.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004317/0.4871, allocations: 63.91 kB / 1.043 GB, free: 13.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.85e-05/0.4872, allocations: 7.938 kB / 1.043 GB, free: 13.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002516/0.4874, allocations: 27.75 kB / 1.043 GB, free: 13.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.317e-05/0.4875, allocations: 15.98 kB / 1.043 GB, free: 13.34 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 (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.000241/0.4877, allocations: 163.4 kB / 1.043 GB, free: 13.17 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.625e-05/0.4878, allocations: 23.72 kB / 1.043 GB, free: 13.15 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001139/0.489, allocations: 384.4 kB / 1.044 GB, free: 12.77 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.789e-06/0.489, allocations: 4 kB / 1.044 GB, free: 12.76 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.066e-06/0.489, allocations: 0 / 1.044 GB, free: 12.76 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.489, allocations: 11.88 kB / 1.044 GB, free: 12.75 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004966/0.4895, allocations: 337.2 kB / 1.044 GB, free: 12.37 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.4896, allocations: 0 / 1.044 GB, free: 12.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003574/0.4899, allocations: 55.97 kB / 1.044 GB, free: 12.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.637e-06/0.49, allocations: 8 kB / 1.044 GB, free: 12.31 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.074e-05/0.49, allocations: 8 kB / 1.044 GB, free: 12.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.49, allocations: 0 / 1.044 GB, free: 12.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.49, allocations: 3.938 kB / 1.044 GB, free: 12.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007761/0.4908, allocations: 327 kB / 1.044 GB, free: 11.96 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002336/0.4911, allocations: 152.7 kB / 1.044 GB, free: 11.79 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.486e-05/0.4911, allocations: 8 kB / 1.044 GB, free: 11.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00023/0.4914, allocations: 19.98 kB / 1.044 GB, free: 11.77 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.458e-05/0.4915, allocations: 23.97 kB / 1.045 GB, free: 11.74 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.49e-05/0.4915, allocations: 8.047 kB / 1.045 GB, free: 11.73 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003561/0.4919, allocations: 221.6 kB / 1.045 GB, free: 11.52 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.6e-07/0.4919, allocations: 0 / 1.045 GB, free: 11.52 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004348/0.4923, allocations: 67.98 kB / 1.045 GB, free: 11.45 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 (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.002105/0.4945, allocations: 1.16 MB / 1.046 GB, free: 10.41 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006831/0.4952, allocations: 223.8 kB / 1.046 GB, free: 10.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.4952, allocations: 0 / 1.046 GB, free: 10.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003194/0.4955, allocations: 128.4 kB / 1.046 GB, free: 10.07 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.4958, allocations: 28.66 kB / 1.046 GB, free: 10.04 MB / 0.698 GB Warning: Could not resolve URI (OpenModelica_fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.003372/0.4992, allocations: 1.472 MB / 1.048 GB, free: 8.516 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004066/0.4997, allocations: 0.7613 MB / 1.048 GB, free: 7.727 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006247/0.5003, allocations: 146.8 kB / 1.049 GB, free: 7.582 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002551/0.5006, allocations: 91.39 kB / 1.049 GB, free: 7.492 MB / 0.698 GB Notification: Performance of SimCode: time 1.183e-06/0.5006, allocations: 4 kB / 1.049 GB, free: 7.488 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4377/0.9383, allocations: 5.503 MB / 1.054 GB, free: 2.172 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003532/0.9388, allocations: 251.3 kB / 1.054 GB, free: 1.906 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.557/3.496, allocations: 0 / 1.054 GB, free: 1.906 MB / 0.698 GB