Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.Zhang2012WindowsWest,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",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.295/2.295, allocations: 248.7 MB / 256.2 MB, free: 7.07 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.001525/0.001524, allocations: 184.4 kB / 315.4 MB, free: 4.02 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.133/2.133, allocations: 205.3 MB / 0.5662 GB, free: 0.5625 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.001087/0.001087, allocations: 91.88 kB / 0.6704 GB, free: 5.773 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.418e-05/3.435e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.2031, allocations: 106.3 MB / 0.8841 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8826/1.086, allocations: 133.7 MB / 1.015 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003151/1.086, allocations: 89.33 kB / 1.015 GB, free: 5.051 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.01464/1.101, allocations: 2.969 MB / 1.018 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.784e-06/1.101, allocations: 0 / 1.018 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.696e-06/1.101, allocations: 0 / 1.018 GB, free: 2.539 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.0007664/1.102, allocations: 410.9 kB / 1.018 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/1.102, allocations: 8.031 kB / 1.018 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.517e-05/1.102, allocations: 15.84 kB / 1.018 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/1.102, allocations: 167 kB / 1.018 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.287e-05/1.102, allocations: 4 kB / 1.018 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/1.102, allocations: 4 kB / 1.018 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001181/1.102, allocations: 23.25 kB / 1.018 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/1.102, allocations: 63.97 kB / 1.018 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/1.102, allocations: 0 / 1.018 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/1.102, allocations: 0 / 1.018 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/1.102, allocations: 0 / 1.018 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000855/1.103, allocations: 289.6 kB / 1.019 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/1.103, allocations: 47.73 kB / 1.019 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.216e-05/1.104, allocations: 23.55 kB / 1.019 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/1.104, allocations: 7.938 kB / 1.019 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001679/1.104, allocations: 68.64 kB / 1.019 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.515e-06/1.104, allocations: 0 / 1.019 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003641/1.104, allocations: 97.7 kB / 1.019 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/1.104, allocations: 58.11 kB / 1.019 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/1.104, allocations: 111.4 kB / 1.019 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/1.104, allocations: 26.73 kB / 1.019 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.43e-05/1.104, allocations: 87.64 kB / 1.019 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.346e-05/1.104, allocations: 22.92 kB / 1.019 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.506e-06/1.104, allocations: 0 / 1.019 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001479/1.105, allocations: 318.3 kB / 1.019 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.623e-05/1.105, allocations: 22.62 kB / 1.019 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.424e-05/1.105, allocations: 41.75 kB / 1.02 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/1.105, allocations: 25.8 kB / 1.02 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/1.105, allocations: 0 / 1.02 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002523/1.105, allocations: 85.16 kB / 1.02 GB, free: 484 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/1.105, allocations: 8.062 kB / 1.02 GB, free: 476 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/1.105, allocations: 3.938 kB / 1.02 GB, free: 472 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/1.105, allocations: 4 kB / 1.02 GB, free: 468 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/1.105, allocations: 11.98 kB / 1.02 GB, free: 456 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/1.105, allocations: 0 / 1.02 GB, free: 456 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/1.106, allocations: 19.84 kB / 1.02 GB, free: 436 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/1.106, allocations: 0 / 1.02 GB, free: 436 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.0001202/1.106, allocations: 116.7 kB / 1.02 GB, free: 316 kB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002479/1.106, allocations: 93.03 kB / 1.02 GB, free: 232 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.114e-05/1.106, allocations: 7.906 kB / 1.02 GB, free: 224 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.78e-05/1.106, allocations: 8.5 kB / 1.02 GB, free: 216 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/1.106, allocations: 0 / 1.02 GB, free: 216 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/1.106, allocations: 7.953 kB / 1.02 GB, free: 208 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.054e-06/1.106, allocations: 3.984 kB / 1.02 GB, free: 204 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005574/1.107, allocations: 327.9 kB / 1.02 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/1.107, allocations: 0 / 1.02 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.108e-05/1.107, allocations: 8 kB / 1.02 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.185e-06/1.107, allocations: 3.984 kB / 1.02 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/1.107, allocations: 4 kB / 1.02 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/1.107, allocations: 4.031 kB / 1.02 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/1.107, allocations: 3.984 kB / 1.02 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003164/1.107, allocations: 190.6 kB / 1.02 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.043e-05/1.107, allocations: 81.02 kB / 1.02 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.032e-05/1.107, allocations: 7.984 kB / 1.02 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/1.108, allocations: 8 kB / 1.02 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.069e-05/1.108, allocations: 11.62 kB / 1.021 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/1.108, allocations: 4 kB / 1.021 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.248e-05/1.108, allocations: 90.97 kB / 1.021 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.51e-07/1.108, allocations: 0 / 1.021 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000487/1.108, allocations: 47.92 kB / 1.021 GB, free: 15.4 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.001138/1.109, allocations: 0.7951 MB / 1.021 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003043/1.11, allocations: 57.53 kB / 1.021 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/1.11, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.965e-05/1.11, allocations: 26.44 kB / 1.021 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/1.11, allocations: 15.94 kB / 1.022 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007018/1.111, allocations: 149.2 kB / 1.022 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/1.111, allocations: 0.6885 MB / 1.022 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.086e-05/1.111, allocations: 4.188 kB / 1.022 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.01e-05/1.111, allocations: 22.8 kB / 1.022 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of SimCode: time 1.483e-06/1.111, allocations: 4 kB / 1.022 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03819/1.15, allocations: 2.174 MB / 1.024 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004191/1.15, allocations: 198.9 kB / 1.025 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.342/3.493, allocations: 0 / 1.025 GB, free: 11.27 MB / 0.6511 GB