Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",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.371/2.371, allocations: 248.7 MB / 256.2 MB, free: 7.102 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.00309/0.003091, allocations: 174.4 kB / 315.4 MB, free: 4.008 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.209/2.209, 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.001147/0.001147, allocations: 89.98 kB / 0.6704 GB, free: 5.828 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.77e-05/2.792e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2076, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9126/1.12, allocations: 134.1 MB / 1.015 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004356/1.121, allocations: 79.89 kB / 1.015 GB, free: 4.754 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.01684/1.138, allocations: 3.213 MB / 1.018 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.532e-06/1.138, allocations: 0 / 1.018 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.174e-06/1.138, allocations: 0 / 1.018 GB, free: 2.027 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007776/1.139, allocations: 453.4 kB / 1.019 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/1.139, allocations: 12.03 kB / 1.019 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.524e-05/1.139, allocations: 11.86 kB / 1.019 GB, free: 1.512 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/1.139, allocations: 171.8 kB / 1.019 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.678e-05/1.139, allocations: 0 / 1.019 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.383e-05/1.139, allocations: 4 kB / 1.019 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001304/1.139, allocations: 29.5 kB / 1.019 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/1.139, allocations: 71.58 kB / 1.019 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/1.139, allocations: 3.938 kB / 1.019 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/1.139, allocations: 3.25 kB / 1.019 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/1.139, allocations: 7.938 kB / 1.019 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/1.14, allocations: 321.1 kB / 1.019 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/1.141, allocations: 52.81 kB / 1.019 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.706e-05/1.141, allocations: 33.42 kB / 1.019 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.947e-05/1.141, allocations: 8.141 kB / 1.019 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001983/1.141, allocations: 80.97 kB / 1.019 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 2.314e-06/1.141, allocations: 0 / 1.019 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0004437/1.141, allocations: 123.6 kB / 1.02 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/1.141, allocations: 63.34 kB / 1.02 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/1.142, allocations: 114.4 kB / 1.02 GB, free: 452 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/1.142, allocations: 33.69 kB / 1.02 GB, free: 412 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.765e-05/1.142, allocations: 90.5 kB / 1.02 GB, free: 324 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/1.142, allocations: 14.88 kB / 1.02 GB, free: 312 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.648e-06/1.142, allocations: 0 / 1.02 GB, free: 312 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001514/1.142, allocations: 322.1 kB / 1.02 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.671e-05/1.142, allocations: 18.75 kB / 1.02 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/1.142, allocations: 59.91 kB / 1.02 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.53e-05/1.142, allocations: 28.55 kB / 1.02 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/1.142, allocations: 0 / 1.02 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002841/1.143, allocations: 105.6 kB / 1.02 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/1.143, allocations: 6.188 kB / 1.02 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/1.143, allocations: 0 / 1.02 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/1.143, allocations: 4 kB / 1.02 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/1.143, allocations: 20.08 kB / 1.02 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/1.143, allocations: 3.938 kB / 1.02 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/1.143, allocations: 22.36 kB / 1.02 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.308e-05/1.143, allocations: 7.984 kB / 1.02 GB, free: 15.74 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.0001139/1.143, allocations: 107.7 kB / 1.021 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003531/1.144, allocations: 121.8 kB / 1.021 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/1.144, allocations: 7.906 kB / 1.021 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.107e-05/1.144, allocations: 11.62 kB / 1.021 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/1.144, allocations: 4 kB / 1.021 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/1.144, allocations: 3.953 kB / 1.021 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/1.144, allocations: 3.984 kB / 1.021 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006283/1.144, allocations: 381.5 kB / 1.021 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/1.144, allocations: 0 / 1.021 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.178e-05/1.144, allocations: 4 kB / 1.021 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/1.144, allocations: 4 kB / 1.021 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/1.144, allocations: 7.984 kB / 1.021 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/1.144, allocations: 3.953 kB / 1.021 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/1.144, allocations: 3.938 kB / 1.021 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003912/1.145, allocations: 221.4 kB / 1.021 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.941e-05/1.145, allocations: 81.17 kB / 1.021 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.99e-05/1.145, allocations: 7.984 kB / 1.021 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/1.145, allocations: 4 kB / 1.021 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.623e-05/1.145, allocations: 15.94 kB / 1.021 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/1.145, allocations: 4 kB / 1.021 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.759e-05/1.145, allocations: 94.2 kB / 1.021 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.41e-07/1.145, allocations: 0 / 1.021 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000491/1.146, allocations: 43.94 kB / 1.022 GB, free: 14.64 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.001163/1.147, allocations: 0.8204 MB / 1.022 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002823/1.147, allocations: 76.14 kB / 1.022 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.147, allocations: 0 / 1.022 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001088/1.148, allocations: 30.31 kB / 1.022 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/1.148, allocations: 23.12 kB / 1.022 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006777/1.149, allocations: 167.2 kB / 1.023 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/1.149, allocations: 0.6924 MB / 1.023 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.556e-05/1.149, allocations: 4 kB / 1.023 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.473e-05/1.149, allocations: 25.92 kB / 1.023 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of SimCode: time 2.545e-06/1.149, allocations: 4 kB / 1.023 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04107/1.19, allocations: 2.51 MB / 1.026 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003926/1.191, allocations: 195.1 kB / 1.026 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.353/3.544, allocations: 0 / 1.026 GB, free: 10.11 MB / 0.6511 GB