Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",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.342/2.342, allocations: 248.7 MB / 256.2 MB, free: 7.059 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.00143/0.00143, allocations: 174.4 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.094/2.094, allocations: 205.3 MB / 0.5662 GB, free: 0.6055 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.001187/0.001186, allocations: 90.53 kB / 0.6704 GB, free: 5.805 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.379e-05/2.392e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2052, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8751/1.08, allocations: 134 MB / 1.015 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003147/1.081, allocations: 77.77 kB / 1.015 GB, free: 5.059 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.01842/1.099, allocations: 3.575 MB / 1.019 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.453e-06/1.099, allocations: 0 / 1.019 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.235e-06/1.099, allocations: 0 / 1.019 GB, free: 2.02 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009102/1.1, allocations: 481 kB / 1.019 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/1.1, allocations: 12.03 kB / 1.019 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.811e-05/1.1, allocations: 11.86 kB / 1.019 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/1.101, allocations: 178.9 kB / 1.019 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.039e-05/1.101, allocations: 0 / 1.019 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.903e-05/1.101, allocations: 4 kB / 1.019 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000166/1.101, allocations: 41.61 kB / 1.019 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000226/1.101, allocations: 75.91 kB / 1.019 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.639e-06/1.101, allocations: 3.938 kB / 1.019 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.387e-05/1.101, allocations: 3.984 kB / 1.019 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/1.101, allocations: 4 kB / 1.019 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001358/1.103, allocations: 345.2 kB / 1.02 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/1.103, allocations: 60.27 kB / 1.02 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/1.103, allocations: 38.22 kB / 1.02 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/1.103, allocations: 0 / 1.02 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002341/1.103, allocations: 92.34 kB / 1.02 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 1.994e-06/1.103, allocations: 0 / 1.02 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0005265/1.104, allocations: 142.6 kB / 1.02 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.848e-05/1.104, allocations: 59.14 kB / 1.02 GB, free: 480 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/1.104, allocations: 135.4 kB / 1.02 GB, free: 348 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/1.104, allocations: 25.8 kB / 1.02 GB, free: 316 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.793e-05/1.104, allocations: 101.1 kB / 1.02 GB, free: 216 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.703e-05/1.104, allocations: 22.42 kB / 1.02 GB, free: 200 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.174e-05/1.104, allocations: 0 / 1.02 GB, free: 200 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001737/1.104, allocations: 322 kB / 1.021 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.759e-05/1.104, allocations: 21.44 kB / 1.021 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/1.105, allocations: 68.47 kB / 1.021 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/1.105, allocations: 36.84 kB / 1.021 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/1.105, allocations: 0 / 1.021 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003501/1.105, allocations: 124.8 kB / 1.021 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/1.105, allocations: 4 kB / 1.021 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/1.105, allocations: 4 kB / 1.021 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/1.105, allocations: 4.094 kB / 1.021 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002742/1.105, allocations: 23.97 kB / 1.021 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/1.105, allocations: 3.953 kB / 1.021 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/1.106, allocations: 11.94 kB / 1.021 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/1.106, allocations: 4 kB / 1.021 GB, free: 15.61 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 (14): * Single equations (assignments): 14 * 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.0001412/1.106, allocations: 120.1 kB / 1.021 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004361/1.106, allocations: 147.2 kB / 1.021 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.712e-05/1.106, allocations: 7.906 kB / 1.021 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.252e-05/1.106, allocations: 12.44 kB / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/1.106, allocations: 3.953 kB / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/1.106, allocations: 0 / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/1.106, allocations: 3.984 kB / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007454/1.107, allocations: 409.6 kB / 1.022 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/1.107, allocations: 0 / 1.022 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/1.107, allocations: 15.98 kB / 1.022 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/1.107, allocations: 0 / 1.022 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/1.107, allocations: 3.953 kB / 1.022 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.783e-06/1.107, allocations: 7.969 kB / 1.022 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.107, allocations: 0 / 1.022 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000469/1.108, allocations: 240.1 kB / 1.022 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.382e-05/1.108, allocations: 85.02 kB / 1.022 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.544e-05/1.108, allocations: 64 / 1.022 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/1.108, allocations: 23.94 kB / 1.022 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.451e-05/1.108, allocations: 15.61 kB / 1.022 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.226e-05/1.108, allocations: 4 kB / 1.022 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.471e-05/1.108, allocations: 102 kB / 1.022 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.41e-07/1.109, allocations: 0 / 1.022 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005049/1.109, allocations: 59.3 kB / 1.022 GB, free: 14.44 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 (9): * Single equations (assignments): 5 * 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.001246/1.11, allocations: 0.8451 MB / 1.023 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003506/1.111, allocations: 81.17 kB / 1.023 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/1.111, allocations: 4.188 kB / 1.023 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001311/1.111, allocations: 40.19 kB / 1.023 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/1.111, allocations: 18.3 kB / 1.023 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008253/1.112, allocations: 196.7 kB / 1.023 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/1.112, allocations: 0.7002 MB / 1.024 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001038/1.112, allocations: 8 kB / 1.024 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.104e-05/1.113, allocations: 31.05 kB / 1.024 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of SimCode: time 1.473e-06/1.113, allocations: 0 / 1.024 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04306/1.156, allocations: 2.84 MB / 1.027 GB, free: 9.727 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002663/1.156, allocations: 194.5 kB / 1.027 GB, free: 9.531 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.42/3.576, allocations: 0 / 1.027 GB, free: 9.531 MB / 0.6511 GB