Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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.Residential.Windows.Validation.Nicol2001WindowsUK,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",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.249/2.249, 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.001546/0.001546, allocations: 176.8 kB / 325.5 MB, free: 2.902 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.472/2.472, 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.001086/0.001086, allocations: 95.25 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004648/0.0004651, allocations: 15.41 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2145, allocations: 106.3 MB / 0.8988 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2239/0.4384, allocations: 133.5 MB / 1.029 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00032/0.4388, allocations: 79.95 kB / 1.029 GB, free: 11.71 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.01413/0.453, allocations: 2.99 MB / 1.032 GB, free: 8.719 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.843e-06/0.453, allocations: 0 / 1.032 GB, free: 8.719 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.209e-05/0.453, allocations: 4 kB / 1.032 GB, free: 8.715 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.0007045/0.4537, allocations: 428.7 kB / 1.033 GB, free: 8.242 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.4538, allocations: 8.031 kB / 1.033 GB, free: 8.234 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.867e-05/0.4539, allocations: 34.56 kB / 1.033 GB, free: 8.191 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.665e-05/0.4539, allocations: 15.86 kB / 1.033 GB, free: 8.176 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.4541, allocations: 167 kB / 1.033 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.4541, allocations: 8 kB / 1.033 GB, free: 7.965 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.4541, allocations: 4 kB / 1.033 GB, free: 7.961 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002564/0.4544, allocations: 69.66 kB / 1.033 GB, free: 7.887 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.4544, allocations: 3.938 kB / 1.033 GB, free: 7.883 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.4544, allocations: 0 / 1.033 GB, free: 7.883 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.4545, allocations: 4 kB / 1.033 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002258/0.4547, allocations: 43.97 kB / 1.033 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008605/0.4556, allocations: 328.6 kB / 1.033 GB, free: 7.465 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000195/0.4558, allocations: 50.56 kB / 1.033 GB, free: 7.406 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.4558, allocations: 0 / 1.033 GB, free: 7.406 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000248/0.4561, allocations: 79.56 kB / 1.033 GB, free: 7.316 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.764e-06/0.4561, allocations: 0 / 1.033 GB, free: 7.316 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0006291/0.4567, allocations: 165.4 kB / 1.034 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/0.4568, allocations: 55.41 kB / 1.034 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.4569, allocations: 109 kB / 1.034 GB, free: 6.969 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/0.457, allocations: 29.7 kB / 1.034 GB, free: 6.934 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.653e-05/0.4571, allocations: 92.31 kB / 1.034 GB, free: 6.836 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.886e-05/0.4571, allocations: 11.8 kB / 1.034 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.443e-05/0.4571, allocations: 8 kB / 1.034 GB, free: 6.816 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.4573, allocations: 322.8 kB / 1.034 GB, free: 6.492 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.4574, allocations: 23.98 kB / 1.034 GB, free: 6.469 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001609/0.4576, allocations: 46.56 kB / 1.034 GB, free: 6.414 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.4578, allocations: 39.98 kB / 1.034 GB, free: 6.375 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.4578, allocations: 0 / 1.034 GB, free: 6.375 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004111/0.4582, allocations: 113.5 kB / 1.034 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.4583, allocations: 13.81 kB / 1.034 GB, free: 6.246 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.4583, allocations: 3.984 kB / 1.034 GB, free: 6.242 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.4583, allocations: 8 kB / 1.034 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.4585, allocations: 19.98 kB / 1.034 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.4585, allocations: 3.953 kB / 1.034 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.4586, allocations: 7.938 kB / 1.034 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.4587, allocations: 4 kB / 1.034 GB, free: 6.199 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.0001478/0.4588, allocations: 119.6 kB / 1.035 GB, free: 6.074 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.922e-05/0.4589, allocations: 7.906 kB / 1.035 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.913e-05/0.4589, allocations: 12.38 kB / 1.035 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.4589, allocations: 4 kB / 1.035 GB, free: 6.051 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.4589, allocations: 3.938 kB / 1.035 GB, free: 6.047 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.459, allocations: 3.953 kB / 1.035 GB, free: 6.043 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007837/0.4597, allocations: 382.5 kB / 1.035 GB, free: 5.613 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.4598, allocations: 0 / 1.035 GB, free: 5.613 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.977e-05/0.4599, allocations: 11.98 kB / 1.035 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.4599, allocations: 4 kB / 1.035 GB, free: 5.598 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.4599, allocations: 0 / 1.035 GB, free: 5.598 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.106e-06/0.4599, allocations: 3.953 kB / 1.035 GB, free: 5.594 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.4599, allocations: 0 / 1.035 GB, free: 5.594 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004919/0.4604, allocations: 215.4 kB / 1.035 GB, free: 5.367 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.373e-05/0.4605, allocations: 85 kB / 1.035 GB, free: 5.266 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.798e-05/0.4606, allocations: 8 kB / 1.035 GB, free: 5.258 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.4607, allocations: 4 kB / 1.035 GB, free: 5.254 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.011e-05/0.4608, allocations: 7.938 kB / 1.035 GB, free: 5.246 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.4608, allocations: 4 kB / 1.035 GB, free: 5.242 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.696e-05/0.4609, allocations: 95.86 kB / 1.035 GB, free: 5.148 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.61e-07/0.4609, allocations: 0 / 1.035 GB, free: 5.148 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004538/0.4614, allocations: 55.92 kB / 1.035 GB, free: 5.094 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.001286/0.4627, allocations: 0.821 MB / 1.036 GB, free: 4.262 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004466/0.4631, allocations: 75.89 kB / 1.036 GB, free: 4.188 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.4632, allocations: 0 / 1.036 GB, free: 4.188 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000175/0.4634, allocations: 35.98 kB / 1.036 GB, free: 4.152 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.4636, allocations: 16.06 kB / 1.036 GB, free: 4.137 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.4648, allocations: 0.7341 MB / 1.037 GB, free: 3.336 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.4651, allocations: 0.6926 MB / 1.038 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.919e-05/0.4652, allocations: 8.156 kB / 1.038 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.891e-05/0.4653, allocations: 19.44 kB / 1.038 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of SimCode: time 1.272e-06/0.4653, allocations: 4 kB / 1.038 GB, free: 2.59 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02673/0.492, allocations: 2.498 MB / 1.04 GB, free: 268 kB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003164/0.4924, allocations: 247.2 kB / 1.04 GB, free: 20 kB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.502/2.994, allocations: 7.938 kB / 1.04 GB, free: 12 kB / 0.6823 GB