Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Yun2008WindowsTOut,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",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.402/2.402, allocations: 248.5 MB / 261.1 MB, free: 5.957 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.0015/0.0015, allocations: 192.8 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.055/2.055, allocations: 205.2 MB / 0.571 GB, free: 11.77 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.001056/0.001055, allocations: 101.1 kB / 0.6754 GB, free: 0.8555 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.285e-05/4.304e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2115, allocations: 106.3 MB / 0.8907 GB, free: 7.449 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8585/1.07, allocations: 133.7 MB / 1.021 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000325/1.07, allocations: 80.2 kB / 1.021 GB, free: 1.496 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.01618/1.087, allocations: 3.21 MB / 1.024 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.094e-06/1.087, allocations: 4 kB / 1.024 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.025e-06/1.087, allocations: 0 / 1.024 GB, free: 14.73 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007953/1.088, allocations: 449 kB / 1.025 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.055e-05/1.088, allocations: 12.03 kB / 1.025 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.778e-05/1.088, allocations: 41.05 kB / 1.025 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.012e-05/1.088, allocations: 11.86 kB / 1.025 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/1.088, allocations: 167 kB / 1.025 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/1.088, allocations: 8 kB / 1.025 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.241e-05/1.088, allocations: 4 kB / 1.025 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002211/1.088, allocations: 79.2 kB / 1.025 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/1.088, allocations: 0 / 1.025 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/1.088, allocations: 3.25 kB / 1.025 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/1.088, allocations: 4 kB / 1.025 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/1.088, allocations: 25.81 kB / 1.025 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/1.09, allocations: 352.8 kB / 1.026 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/1.09, allocations: 55.09 kB / 1.026 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/1.09, allocations: 36.8 kB / 1.026 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/1.09, allocations: 0 / 1.026 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002122/1.09, allocations: 95.89 kB / 1.026 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=8): time 2.014e-06/1.09, allocations: 0 / 1.026 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.0004436/1.091, allocations: 123 kB / 1.026 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.476e-05/1.091, allocations: 62.84 kB / 1.026 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/1.091, allocations: 119.9 kB / 1.026 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/1.091, allocations: 29.02 kB / 1.026 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.619e-05/1.091, allocations: 99.31 kB / 1.026 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.8e-05/1.091, allocations: 11.19 kB / 1.026 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.389e-05/1.091, allocations: 11.31 kB / 1.026 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000144/1.091, allocations: 317.7 kB / 1.027 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.387e-05/1.091, allocations: 28.75 kB / 1.027 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/1.091, allocations: 52.53 kB / 1.027 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/1.092, allocations: 30.19 kB / 1.027 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.092, allocations: 0 / 1.027 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003081/1.092, allocations: 117.5 kB / 1.027 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/1.092, allocations: 4 kB / 1.027 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/1.092, allocations: 4 kB / 1.027 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/1.092, allocations: 0 / 1.027 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/1.092, allocations: 27.81 kB / 1.027 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/1.092, allocations: 0 / 1.027 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/1.092, allocations: 18.69 kB / 1.027 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/1.092, allocations: 4 kB / 1.027 GB, free: 12.33 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001539/1.093, allocations: 112.6 kB / 1.027 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.934e-05/1.093, allocations: 4 kB / 1.027 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.457e-05/1.093, allocations: 7.625 kB / 1.027 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/1.093, allocations: 4 kB / 1.027 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/1.093, allocations: 3.953 kB / 1.027 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/1.093, allocations: 0 / 1.027 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007236/1.093, allocations: 415.3 kB / 1.027 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/1.093, allocations: 0 / 1.027 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.407e-05/1.094, allocations: 12 kB / 1.027 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/1.094, allocations: 4 kB / 1.027 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/1.094, allocations: 7.938 kB / 1.027 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/1.094, allocations: 0 / 1.027 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/1.094, allocations: 0 / 1.027 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000689/1.094, allocations: 227.1 kB / 1.028 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.091e-05/1.094, allocations: 85 kB / 1.028 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.988e-05/1.095, allocations: 7.375 kB / 1.028 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000332/1.095, allocations: 7.953 kB / 1.028 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.45e-05/1.095, allocations: 7.984 kB / 1.028 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.321e-05/1.095, allocations: 3.938 kB / 1.028 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001494/1.095, allocations: 97.39 kB / 1.028 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.31e-07/1.095, allocations: 0 / 1.028 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009729/1.096, allocations: 51.56 kB / 1.028 GB, free: 11.29 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.003678/1.1, allocations: 0.825 MB / 1.029 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005452/1.101, allocations: 76.3 kB / 1.029 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/1.101, allocations: 0 / 1.029 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002062/1.101, allocations: 42.16 kB / 1.029 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004975/1.101, allocations: 16.55 kB / 1.029 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/1.103, allocations: 176.7 kB / 1.029 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007272/1.103, allocations: 0.6967 MB / 1.03 GB, free: 9.484 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002434/1.104, allocations: 8 kB / 1.03 GB, free: 9.477 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/1.104, allocations: 25.67 kB / 1.03 GB, free: 9.457 MB / 0.6511 GB Notification: Performance of SimCode: time 3.657e-06/1.104, allocations: 0 / 1.03 GB, free: 9.457 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02974/1.134, allocations: 2.835 MB / 1.032 GB, free: 6.77 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003327/1.134, allocations: 202.5 kB / 1.033 GB, free: 6.551 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.403/3.537, allocations: 4 kB / 1.033 GB, free: 6.547 MB / 0.6511 GB