Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",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.165/2.165, allocations: 251 MB / 265.9 MB, free: 11.68 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.002289/0.002289, allocations: 182.6 kB / 325.5 MB, free: 2.895 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.538/2.538, allocations: 205.4 MB / 0.5764 GB, free: 20.79 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.001167/0.001167, allocations: 102.6 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005014/0.0005015, allocations: 12.09 kB / 0.795 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2382, allocations: 106.3 MB / 0.8988 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2239/0.4621, allocations: 133.5 MB / 1.029 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003241/0.4625, allocations: 83.94 kB / 1.029 GB, free: 11.65 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.01435/0.4769, allocations: 2.984 MB / 1.032 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.385e-06/0.4769, allocations: 4 kB / 1.032 GB, free: 8.66 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.645e-06/0.4769, allocations: 0 / 1.032 GB, free: 8.66 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000803/0.4778, allocations: 428.7 kB / 1.033 GB, free: 8.188 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.4778, allocations: 8.031 kB / 1.033 GB, free: 8.18 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.324e-05/0.4779, allocations: 38.56 kB / 1.033 GB, free: 8.133 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.364e-05/0.478, allocations: 15.86 kB / 1.033 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.4781, allocations: 171 kB / 1.033 GB, free: 7.91 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/0.4781, allocations: 0 / 1.033 GB, free: 7.91 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.194e-05/0.4782, allocations: 8 kB / 1.033 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000259/0.4785, allocations: 65.66 kB / 1.033 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.4785, allocations: 3.938 kB / 1.033 GB, free: 7.828 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.4785, allocations: 4 kB / 1.033 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.4785, allocations: 0 / 1.033 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002271/0.4788, allocations: 43.97 kB / 1.033 GB, free: 7.781 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008354/0.4796, allocations: 328.6 kB / 1.033 GB, free: 7.41 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.4798, allocations: 50.56 kB / 1.033 GB, free: 7.352 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.4799, allocations: 0 / 1.033 GB, free: 7.352 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002503/0.4801, allocations: 79.5 kB / 1.033 GB, free: 7.262 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.205e-06/0.4801, allocations: 4 kB / 1.033 GB, free: 7.258 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0006364/0.4808, allocations: 153.4 kB / 1.034 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.158e-05/0.4809, allocations: 63.39 kB / 1.034 GB, free: 7.027 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.481, allocations: 105 kB / 1.034 GB, free: 6.918 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.481, allocations: 29.7 kB / 1.034 GB, free: 6.883 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.515e-05/0.4811, allocations: 92.39 kB / 1.034 GB, free: 6.785 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.4812, allocations: 27.73 kB / 1.034 GB, free: 6.758 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.618e-06/0.4812, allocations: 0 / 1.034 GB, free: 6.758 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.4813, allocations: 314.8 kB / 1.034 GB, free: 6.441 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.4815, allocations: 27.98 kB / 1.034 GB, free: 6.414 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.4817, allocations: 50.55 kB / 1.034 GB, free: 6.355 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.4818, allocations: 35.98 kB / 1.034 GB, free: 6.32 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.4819, allocations: 0 / 1.034 GB, free: 6.32 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004138/0.4823, allocations: 121.5 kB / 1.034 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.4823, allocations: 4.062 kB / 1.034 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.4823, allocations: 4 kB / 1.034 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.4824, allocations: 3.938 kB / 1.034 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.4825, allocations: 12 kB / 1.034 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.4826, allocations: 7.938 kB / 1.034 GB, free: 6.164 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.4827, allocations: 11.94 kB / 1.034 GB, free: 6.152 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.4827, allocations: 4 kB / 1.034 GB, free: 6.148 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.00013/0.4828, allocations: 123.7 kB / 1.035 GB, free: 6.02 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.4829, allocations: 7.906 kB / 1.035 GB, free: 6.012 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.021e-05/0.4829, allocations: 12.36 kB / 1.035 GB, free: 6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.4829, allocations: 0 / 1.035 GB, free: 6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.483, allocations: 0 / 1.035 GB, free: 6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.483, allocations: 3.953 kB / 1.035 GB, free: 5.996 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006888/0.4837, allocations: 390.4 kB / 1.035 GB, free: 5.559 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.4837, allocations: 4 kB / 1.035 GB, free: 5.555 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.396e-05/0.4838, allocations: 8 kB / 1.035 GB, free: 5.547 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.4838, allocations: 0 / 1.035 GB, free: 5.547 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.4838, allocations: 3.984 kB / 1.035 GB, free: 5.543 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.4838, allocations: 3.953 kB / 1.035 GB, free: 5.539 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4839, allocations: 0 / 1.035 GB, free: 5.539 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004488/0.4843, allocations: 223.3 kB / 1.035 GB, free: 5.305 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.372e-05/0.4844, allocations: 85.02 kB / 1.035 GB, free: 5.203 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/0.4844, allocations: 3.984 kB / 1.035 GB, free: 5.199 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.4846, allocations: 4 kB / 1.035 GB, free: 5.195 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.635e-05/0.4846, allocations: 11.94 kB / 1.035 GB, free: 5.184 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.4847, allocations: 4 kB / 1.035 GB, free: 5.18 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.797e-05/0.4847, allocations: 91.27 kB / 1.035 GB, free: 5.09 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.51e-07/0.4848, allocations: 4 kB / 1.035 GB, free: 5.086 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004523/0.4852, allocations: 51.94 kB / 1.035 GB, free: 5.035 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.00117/0.4864, allocations: 0.8149 MB / 1.036 GB, free: 4.211 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003853/0.4868, allocations: 79.89 kB / 1.036 GB, free: 4.133 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4868, allocations: 0 / 1.036 GB, free: 4.133 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001689/0.487, allocations: 40.11 kB / 1.036 GB, free: 4.094 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/0.4873, allocations: 6.953 kB / 1.036 GB, free: 4.09 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.4883, allocations: 0.74 MB / 1.037 GB, free: 3.281 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.4887, allocations: 0.6887 MB / 1.038 GB, free: 2.566 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.577e-05/0.4887, allocations: 4.188 kB / 1.038 GB, free: 2.562 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.93e-05/0.4888, allocations: 23.42 kB / 1.038 GB, free: 2.543 MB / 0.6823 GB Notification: Performance of SimCode: time 8.31e-07/0.4888, allocations: 0 / 1.038 GB, free: 2.543 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02323/0.5121, allocations: 2.499 MB / 1.04 GB, free: 216 kB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000326/0.5125, allocations: 237.1 kB / 1.04 GB, free: 15.97 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.483/2.996, allocations: 0 / 1.04 GB, free: 15.97 MB / 0.698 GB