Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",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.175/2.175, allocations: 251 MB / 265.9 MB, free: 11.7 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.001571/0.001571, allocations: 181.2 kB / 325.5 MB, free: 2.871 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.441/2.441, allocations: 205.4 MB / 0.5764 GB, free: 21.14 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.001169/0.001169, allocations: 92.69 kB / 0.6809 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005698/0.0005698, allocations: 12.41 kB / 0.795 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2176, allocations: 106.3 MB / 0.8988 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2418/0.4594, allocations: 133.5 MB / 1.029 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003421/0.4598, allocations: 87.92 kB / 1.029 GB, free: 12.11 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.01446/0.4743, allocations: 2.992 MB / 1.032 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.265e-06/0.4743, allocations: 0 / 1.032 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.825e-06/0.4744, allocations: 4 kB / 1.032 GB, free: 9.113 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.0008377/0.4752, allocations: 428.7 kB / 1.033 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/0.4753, allocations: 8.031 kB / 1.033 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.852e-05/0.4754, allocations: 34.56 kB / 1.033 GB, free: 8.59 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.03e-05/0.4754, allocations: 15.86 kB / 1.033 GB, free: 8.574 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.4756, allocations: 163.1 kB / 1.033 GB, free: 8.375 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.399e-05/0.4757, allocations: 11.94 kB / 1.033 GB, free: 8.363 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.225e-05/0.4757, allocations: 7.984 kB / 1.033 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002812/0.476, allocations: 69.59 kB / 1.033 GB, free: 8.281 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.476, allocations: 3.938 kB / 1.033 GB, free: 8.277 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.476, allocations: 4 kB / 1.033 GB, free: 8.273 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.4761, allocations: 4 kB / 1.033 GB, free: 8.27 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002296/0.4763, allocations: 43.97 kB / 1.033 GB, free: 8.227 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00088/0.4772, allocations: 324.6 kB / 1.033 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.4774, allocations: 54.5 kB / 1.033 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.4775, allocations: 0 / 1.033 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002518/0.4777, allocations: 75.5 kB / 1.033 GB, free: 7.711 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.435e-06/0.4777, allocations: 0 / 1.033 GB, free: 7.711 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0006621/0.4784, allocations: 161.4 kB / 1.034 GB, free: 7.547 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.059e-05/0.4785, allocations: 59.39 kB / 1.034 GB, free: 7.477 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.4786, allocations: 109 kB / 1.034 GB, free: 7.363 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.4787, allocations: 25.7 kB / 1.034 GB, free: 7.332 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.562e-05/0.4788, allocations: 96.39 kB / 1.034 GB, free: 7.23 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.781e-05/0.4788, allocations: 15.8 kB / 1.034 GB, free: 7.215 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.576e-05/0.4788, allocations: 8 kB / 1.034 GB, free: 7.207 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.479, allocations: 310.8 kB / 1.034 GB, free: 6.895 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.4791, allocations: 31.97 kB / 1.034 GB, free: 6.863 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.4793, allocations: 46.56 kB / 1.034 GB, free: 6.809 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.4795, allocations: 35.98 kB / 1.034 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.4795, allocations: 0 / 1.034 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000417/0.4799, allocations: 117.5 kB / 1.034 GB, free: 6.652 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.48, allocations: 8.062 kB / 1.034 GB, free: 6.645 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.48, allocations: 4 kB / 1.034 GB, free: 6.641 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.48, allocations: 0 / 1.034 GB, free: 6.641 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.4802, allocations: 19.92 kB / 1.034 GB, free: 6.621 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/0.4802, allocations: 3.953 kB / 1.034 GB, free: 6.617 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.4803, allocations: 11.94 kB / 1.034 GB, free: 6.605 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.4804, allocations: 4 kB / 1.034 GB, free: 6.602 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.0001349/0.4805, allocations: 113.8 kB / 1.035 GB, free: 6.48 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.78e-05/0.4806, allocations: 15.89 kB / 1.035 GB, free: 6.465 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.779e-05/0.4806, allocations: 8.375 kB / 1.035 GB, free: 6.457 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.4806, allocations: 4 kB / 1.035 GB, free: 6.453 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.4806, allocations: 0 / 1.035 GB, free: 6.453 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.4806, allocations: 3.953 kB / 1.035 GB, free: 6.449 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007062/0.4814, allocations: 378.5 kB / 1.035 GB, free: 6.023 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.4814, allocations: 4 kB / 1.035 GB, free: 6.02 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.057e-05/0.4815, allocations: 8 kB / 1.035 GB, free: 6.012 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.4815, allocations: 0 / 1.035 GB, free: 6.012 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.017e-05/0.4815, allocations: 15.92 kB / 1.035 GB, free: 5.996 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.4815, allocations: 3.953 kB / 1.035 GB, free: 5.992 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.4815, allocations: 0 / 1.035 GB, free: 5.992 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004661/0.482, allocations: 219.3 kB / 1.035 GB, free: 5.762 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.983e-05/0.4821, allocations: 88.95 kB / 1.035 GB, free: 5.656 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/0.4821, allocations: 3.984 kB / 1.035 GB, free: 5.652 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.4823, allocations: 8 kB / 1.035 GB, free: 5.645 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.25e-05/0.4823, allocations: 11.94 kB / 1.035 GB, free: 5.633 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.4824, allocations: 0 / 1.035 GB, free: 5.633 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.055e-05/0.4825, allocations: 95.86 kB / 1.035 GB, free: 5.539 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.6e-07/0.4825, allocations: 4 kB / 1.035 GB, free: 5.535 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004831/0.483, allocations: 47.94 kB / 1.035 GB, free: 5.488 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.001259/0.4842, allocations: 0.8212 MB / 1.036 GB, free: 4.66 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004131/0.4847, allocations: 71.95 kB / 1.036 GB, free: 4.59 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4847, allocations: 0 / 1.036 GB, free: 4.59 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001703/0.4849, allocations: 44.05 kB / 1.036 GB, free: 4.547 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.4852, allocations: 15.89 kB / 1.036 GB, free: 4.531 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.4862, allocations: 0.7283 MB / 1.037 GB, free: 3.734 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.4866, allocations: 0.6887 MB / 1.038 GB, free: 3.02 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 7.011e-05/0.4867, allocations: 8.172 kB / 1.038 GB, free: 3.012 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.963e-05/0.4867, allocations: 23.44 kB / 1.038 GB, free: 2.992 MB / 0.6823 GB Notification: Performance of SimCode: time 1.403e-06/0.4868, allocations: 3.938 kB / 1.038 GB, free: 2.988 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0232/0.51, allocations: 2.502 MB / 1.04 GB, free: 0.668 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003674/0.5104, allocations: 250.8 kB / 1.04 GB, free: 340 kB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.412/2.922, allocations: 0.7031 kB / 1.04 GB, free: 340 kB / 0.6823 GB