Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.Zhang2012WindowsNorth,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",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.324/2.324, allocations: 248.7 MB / 256.2 MB, free: 7.094 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.00151/0.001509, allocations: 184.2 kB / 315.4 MB, free: 3.992 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.185/2.185, allocations: 205.3 MB / 0.5662 GB, free: 0.5234 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.001105/0.001104, allocations: 95.91 kB / 0.6704 GB, free: 5.719 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.413e-05/2.426e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.201, allocations: 106.3 MB / 0.8841 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9186/1.12, allocations: 133.7 MB / 1.015 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003109/1.12, allocations: 82.19 kB / 1.015 GB, free: 5.305 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.01393/1.134, allocations: 2.955 MB / 1.018 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.423e-06/1.134, allocations: 0 / 1.018 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.364e-06/1.134, allocations: 0 / 1.018 GB, free: 2.805 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.0006961/1.135, allocations: 418.7 kB / 1.018 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.627e-05/1.135, allocations: 8.031 kB / 1.018 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.188e-05/1.135, allocations: 11.86 kB / 1.018 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/1.135, allocations: 174.9 kB / 1.018 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.332e-05/1.135, allocations: 4 kB / 1.018 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/1.135, allocations: 5.031 kB / 1.018 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001148/1.135, allocations: 26.42 kB / 1.018 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/1.135, allocations: 56.61 kB / 1.018 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/1.136, allocations: 0 / 1.018 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/1.136, allocations: 0 / 1.018 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/1.136, allocations: 0 / 1.018 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000804/1.136, allocations: 294.9 kB / 1.019 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/1.137, allocations: 45.12 kB / 1.019 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.854e-05/1.137, allocations: 25.67 kB / 1.019 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/1.137, allocations: 0 / 1.019 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001577/1.137, allocations: 65.83 kB / 1.019 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.894e-06/1.137, allocations: 3.938 kB / 1.019 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.00036/1.137, allocations: 91.83 kB / 1.019 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.71e-05/1.137, allocations: 62.61 kB / 1.019 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/1.137, allocations: 115.9 kB / 1.019 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.348e-05/1.137, allocations: 29.7 kB / 1.019 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.064e-05/1.138, allocations: 84.08 kB / 1.019 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.805e-05/1.138, allocations: 27.73 kB / 1.019 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.176e-06/1.138, allocations: 0 / 1.019 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001749/1.138, allocations: 317.8 kB / 1.019 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.037e-05/1.138, allocations: 18.44 kB / 1.019 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.552e-05/1.138, allocations: 42.92 kB / 1.019 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.6e-05/1.138, allocations: 25.55 kB / 1.02 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/1.138, allocations: 0 / 1.02 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002491/1.138, allocations: 84.67 kB / 1.02 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/1.138, allocations: 10.03 kB / 1.02 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/1.138, allocations: 80 / 1.02 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/1.138, allocations: 0 / 1.02 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/1.139, allocations: 20.86 kB / 1.02 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/1.139, allocations: 7.984 kB / 1.02 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/1.139, allocations: 15.84 kB / 1.02 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.847e-05/1.139, allocations: 4 kB / 1.02 GB, free: 0.6758 MB / 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.0001078/1.139, allocations: 108.9 kB / 1.02 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002449/1.139, allocations: 86.61 kB / 1.02 GB, free: 500 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/1.139, allocations: 7.906 kB / 1.02 GB, free: 492 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.364e-05/1.139, allocations: 16.12 kB / 1.02 GB, free: 476 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/1.139, allocations: 2.438 kB / 1.02 GB, free: 476 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/1.139, allocations: 3.953 kB / 1.02 GB, free: 472 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/1.139, allocations: 3.984 kB / 1.02 GB, free: 468 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005167/1.14, allocations: 331.6 kB / 1.02 GB, free: 120 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/1.14, allocations: 0 / 1.02 GB, free: 120 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.632e-05/1.14, allocations: 4 kB / 1.02 GB, free: 116 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.924e-06/1.14, allocations: 4 kB / 1.02 GB, free: 112 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/1.14, allocations: 3.984 kB / 1.02 GB, free: 108 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/1.14, allocations: 7.953 kB / 1.02 GB, free: 100 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.14, allocations: 0 / 1.02 GB, free: 100 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003376/1.14, allocations: 195.2 kB / 1.02 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.899e-05/1.14, allocations: 85.02 kB / 1.02 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.752e-05/1.14, allocations: 3.984 kB / 1.02 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/1.141, allocations: 4 kB / 1.02 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.533e-05/1.141, allocations: 11.94 kB / 1.02 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/1.141, allocations: 7.562 kB / 1.02 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.127e-05/1.141, allocations: 90.53 kB / 1.021 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.2e-07/1.141, allocations: 3.938 kB / 1.021 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004491/1.141, allocations: 51.3 kB / 1.021 GB, free: 15.65 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.001056/1.142, allocations: 0.7947 MB / 1.021 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002067/1.143, allocations: 52.3 kB / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/1.143, allocations: 0 / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.536e-05/1.143, allocations: 26.81 kB / 1.021 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/1.143, allocations: 11.75 kB / 1.021 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006135/1.144, allocations: 152 kB / 1.022 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/1.144, allocations: 0.6885 MB / 1.022 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.131e-05/1.144, allocations: 8.172 kB / 1.022 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.322e-05/1.144, allocations: 27.98 kB / 1.022 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of SimCode: time 6.81e-07/1.144, allocations: 0 / 1.022 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03902/1.183, allocations: 2.181 MB / 1.024 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003396/1.184, allocations: 188.7 kB / 1.025 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.344/3.528, allocations: 0 / 1.025 GB, free: 11.51 MB / 0.6511 GB