Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",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.264/2.264, allocations: 248.7 MB / 256.2 MB, free: 7.129 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.001419/0.001419, allocations: 194.9 kB / 315.4 MB, free: 4.016 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.422/2.422, allocations: 205.3 MB / 0.5662 GB, free: 0.582 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.001101/0.001101, allocations: 94.25 kB / 0.6704 GB, free: 5.789 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.365e-05/2.373e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.2002, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9009/1.101, allocations: 133.7 MB / 1.015 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002997/1.101, allocations: 77.95 kB / 1.015 GB, free: 5.277 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.01416/1.116, allocations: 2.974 MB / 1.018 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.523e-06/1.116, allocations: 0 / 1.018 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.775e-06/1.116, allocations: 0 / 1.018 GB, free: 2.762 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.0007148/1.116, allocations: 411.2 kB / 1.018 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/1.116, allocations: 8.031 kB / 1.018 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.196e-05/1.117, allocations: 15.84 kB / 1.018 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/1.117, allocations: 171 kB / 1.018 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.057e-05/1.117, allocations: 4 kB / 1.018 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/1.117, allocations: 7.938 kB / 1.018 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001073/1.117, allocations: 21.75 kB / 1.018 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/1.117, allocations: 55.92 kB / 1.018 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/1.117, allocations: 0 / 1.018 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/1.117, allocations: 0 / 1.018 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/1.117, allocations: 0 / 1.018 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000807/1.118, allocations: 291.9 kB / 1.019 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/1.118, allocations: 44.88 kB / 1.019 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.849e-05/1.118, allocations: 27.11 kB / 1.019 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/1.118, allocations: 0 / 1.019 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001582/1.118, allocations: 62.09 kB / 1.019 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.833e-06/1.118, allocations: 4 kB / 1.019 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003466/1.119, allocations: 98.88 kB / 1.019 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/1.119, allocations: 55.36 kB / 1.019 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/1.119, allocations: 113.5 kB / 1.019 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/1.119, allocations: 25.7 kB / 1.019 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.176e-05/1.119, allocations: 91.14 kB / 1.019 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.107e-05/1.119, allocations: 19.73 kB / 1.019 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.077e-05/1.119, allocations: 1.031 kB / 1.019 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001456/1.119, allocations: 322 kB / 1.019 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.274e-05/1.119, allocations: 21.81 kB / 1.019 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.553e-05/1.119, allocations: 45.86 kB / 1.02 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/1.12, allocations: 23.23 kB / 1.02 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/1.12, allocations: 0 / 1.02 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002512/1.12, allocations: 90.7 kB / 1.02 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/1.12, allocations: 10.09 kB / 1.02 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/1.12, allocations: 4 kB / 1.02 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/1.12, allocations: 0 / 1.02 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/1.12, allocations: 15.92 kB / 1.02 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/1.12, allocations: 7.938 kB / 1.02 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/1.12, allocations: 11.86 kB / 1.02 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.061e-05/1.12, allocations: 7.312 kB / 1.02 GB, free: 0.6367 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$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.00012/1.12, allocations: 113 kB / 1.02 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002441/1.121, allocations: 93.61 kB / 1.02 GB, free: 452 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.936e-05/1.121, allocations: 3.906 kB / 1.02 GB, free: 448 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.845e-05/1.121, allocations: 12 kB / 1.02 GB, free: 436 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/1.121, allocations: 4.031 kB / 1.02 GB, free: 432 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/1.121, allocations: 7.891 kB / 1.02 GB, free: 424 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/1.121, allocations: 0 / 1.02 GB, free: 424 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004846/1.121, allocations: 330.5 kB / 1.02 GB, free: 76 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/1.121, allocations: 0 / 1.02 GB, free: 76 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.579e-05/1.121, allocations: 15.12 kB / 1.02 GB, free: 64 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/1.121, allocations: 0 / 1.02 GB, free: 64 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/1.121, allocations: 3.984 kB / 1.02 GB, free: 60 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/1.121, allocations: 3.953 kB / 1.02 GB, free: 56 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.121, allocations: 0 / 1.02 GB, free: 56 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003245/1.122, allocations: 195.4 kB / 1.02 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.418e-05/1.122, allocations: 85.02 kB / 1.021 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/1.122, allocations: 0 / 1.021 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/1.122, allocations: 11.98 kB / 1.021 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.104e-05/1.122, allocations: 7.953 kB / 1.021 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/1.122, allocations: 3.984 kB / 1.021 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.144e-05/1.122, allocations: 93.78 kB / 1.021 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.1e-07/1.122, allocations: 0 / 1.021 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004711/1.123, allocations: 51.92 kB / 1.021 GB, free: 15.61 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.0009687/1.124, allocations: 0.7936 MB / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002057/1.124, allocations: 55.42 kB / 1.021 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.124, allocations: 0 / 1.021 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.562e-05/1.124, allocations: 28.06 kB / 1.022 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/1.124, allocations: 7.391 kB / 1.022 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006089/1.125, allocations: 148.3 kB / 1.022 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/1.125, allocations: 0.6963 MB / 1.022 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.549e-05/1.125, allocations: 192 / 1.022 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.422e-05/1.125, allocations: 18.56 kB / 1.022 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of SimCode: time 6.71e-07/1.125, allocations: 4 kB / 1.022 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03501/1.16, allocations: 2.184 MB / 1.025 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000255/1.161, allocations: 205.1 kB / 1.025 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.426/3.587, allocations: 0 / 1.025 GB, free: 11.46 MB / 0.6511 GB