Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.Zhang2012WindowsSouth,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",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.425/2.425, allocations: 248.7 MB / 256.2 MB, free: 7.047 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001583/0.001583, allocations: 176.9 kB / 315.4 MB, free: 4.027 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.083/2.083, allocations: 205.3 MB / 0.5662 GB, free: 0.6211 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001075/0.001074, allocations: 95.41 kB / 0.6704 GB, free: 5.828 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.785e-05/2.785e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2244, allocations: 106.2 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8431/1.068, allocations: 133.7 MB / 1.015 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003038/1.068, allocations: 86.19 kB / 1.015 GB, free: 4.965 MB / 0.6355 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.01425/1.082, allocations: 2.963 MB / 1.018 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.784e-06/1.082, allocations: 4 kB / 1.018 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.729e-06/1.082, allocations: 4 kB / 1.018 GB, free: 2.453 MB / 0.6355 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.0007022/1.083, allocations: 406.4 kB / 1.018 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/1.083, allocations: 16.02 kB / 1.018 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.793e-05/1.083, allocations: 11.86 kB / 1.018 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/1.083, allocations: 171 kB / 1.018 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.131e-05/1.083, allocations: 0 / 1.018 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/1.083, allocations: 4 kB / 1.018 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001151/1.084, allocations: 29.94 kB / 1.018 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/1.084, allocations: 52.3 kB / 1.018 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/1.084, allocations: 4 kB / 1.018 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/1.084, allocations: 3.984 kB / 1.018 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/1.084, allocations: 0 / 1.018 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008147/1.085, allocations: 284.8 kB / 1.019 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/1.085, allocations: 46.86 kB / 1.019 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.7e-05/1.085, allocations: 22.36 kB / 1.019 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/1.085, allocations: 3.938 kB / 1.019 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001601/1.085, allocations: 69.33 kB / 1.019 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.495e-06/1.085, allocations: 0 / 1.019 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003473/1.085, allocations: 98.45 kB / 1.019 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/1.085, allocations: 59.36 kB / 1.019 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/1.086, allocations: 111.7 kB / 1.019 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/1.086, allocations: 25.7 kB / 1.019 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.017e-05/1.086, allocations: 91.64 kB / 1.019 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/1.086, allocations: 15.73 kB / 1.019 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.135e-05/1.086, allocations: 4 kB / 1.019 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001414/1.086, allocations: 314 kB / 1.019 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.558e-05/1.086, allocations: 27.53 kB / 1.019 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.402e-05/1.086, allocations: 43.44 kB / 1.02 GB, free: 492 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.813e-05/1.086, allocations: 20.05 kB / 1.02 GB, free: 480 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.086, allocations: 4 kB / 1.02 GB, free: 476 kB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000252/1.086, allocations: 87.03 kB / 1.02 GB, free: 396 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/1.087, allocations: 4 kB / 1.02 GB, free: 392 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/1.087, allocations: 0.875 kB / 1.02 GB, free: 392 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/1.087, allocations: 12.05 kB / 1.02 GB, free: 380 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/1.087, allocations: 8 kB / 1.02 GB, free: 372 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/1.087, allocations: 0 / 1.02 GB, free: 372 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/1.087, allocations: 15.84 kB / 1.02 GB, free: 356 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/1.087, allocations: 7.938 kB / 1.02 GB, free: 348 kB / 0.6355 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 () * 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.0001075/1.087, allocations: 108.9 kB / 1.02 GB, free: 232 kB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002671/1.087, allocations: 95.59 kB / 1.02 GB, free: 148 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.205e-05/1.087, allocations: 15.53 kB / 1.02 GB, free: 136 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.229e-05/1.087, allocations: 7.5 kB / 1.02 GB, free: 128 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/1.087, allocations: 0 / 1.02 GB, free: 128 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.652e-05/1.087, allocations: 7.938 kB / 1.02 GB, free: 120 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/1.087, allocations: 0 / 1.02 GB, free: 120 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005422/1.088, allocations: 341.2 kB / 1.02 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/1.088, allocations: 0 / 1.02 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.909e-05/1.088, allocations: 7.984 kB / 1.02 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/1.088, allocations: 0 / 1.02 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/1.088, allocations: 4 kB / 1.02 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.922e-06/1.088, allocations: 3.953 kB / 1.02 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.934e-06/1.088, allocations: 4 kB / 1.02 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000304/1.089, allocations: 187.8 kB / 1.02 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.844e-05/1.089, allocations: 85 kB / 1.02 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/1.089, allocations: 0 / 1.02 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/1.089, allocations: 4 kB / 1.02 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.405e-05/1.089, allocations: 15.94 kB / 1.021 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/1.089, allocations: 4 kB / 1.021 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.655e-05/1.089, allocations: 95.86 kB / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.31e-07/1.089, allocations: 0 / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004886/1.089, allocations: 47.92 kB / 1.021 GB, free: 15.31 MB / 0.6511 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 () * 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.001047/1.091, allocations: 0.8006 MB / 1.021 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000224/1.091, allocations: 51.12 kB / 1.021 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/1.091, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.805e-05/1.091, allocations: 30.23 kB / 1.022 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/1.091, allocations: 16.08 kB / 1.022 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006709/1.092, allocations: 148.7 kB / 1.022 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/1.092, allocations: 0.6885 MB / 1.022 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.719e-05/1.092, allocations: 4.188 kB / 1.022 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.566e-05/1.092, allocations: 25.55 kB / 1.022 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of SimCode: time 1.143e-06/1.092, allocations: 0 / 1.022 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03982/1.132, allocations: 2.169 MB / 1.024 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003011/1.133, allocations: 192.8 kB / 1.025 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.402/3.535, allocations: 3.938 kB / 1.025 GB, free: 11.18 MB / 0.6511 GB