Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",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.367/2.367, allocations: 248.5 MB / 261.1 MB, free: 6.027 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.001441/0.00144, allocations: 178.4 kB / 320.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.996/1.996, allocations: 205.1 MB / 0.571 GB, free: 11.83 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.001132/0.001132, allocations: 93.58 kB / 0.6754 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.8e-05/4.813e-05, allocations: 4 kB / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2612, allocations: 106.3 MB / 0.8907 GB, free: 7.477 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8851/1.146, allocations: 133.5 MB / 1.021 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003097/1.147, allocations: 83.25 kB / 1.021 GB, free: 1.797 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.01461/1.161, allocations: 2.977 MB / 1.024 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.764e-06/1.161, allocations: 0 / 1.024 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.248e-05/1.161, allocations: 7.812 kB / 1.024 GB, free: 15.24 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006742/1.162, allocations: 407.9 kB / 1.024 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/1.162, allocations: 12.03 kB / 1.024 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.26e-05/1.162, allocations: 33.44 kB / 1.024 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.569e-05/1.162, allocations: 11.86 kB / 1.024 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/1.162, allocations: 178.9 kB / 1.025 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.163e-05/1.162, allocations: 4.875 kB / 1.025 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/1.163, allocations: 7.062 kB / 1.025 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/1.163, allocations: 55.17 kB / 1.025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/1.163, allocations: 4 kB / 1.025 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/1.163, allocations: 4 kB / 1.025 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/1.163, allocations: 0 / 1.025 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.301e-05/1.163, allocations: 18.81 kB / 1.025 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000865/1.164, allocations: 317.1 kB / 1.025 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/1.164, allocations: 48.81 kB / 1.025 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.984e-05/1.164, allocations: 23.86 kB / 1.025 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/1.164, allocations: 0 / 1.025 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001789/1.164, allocations: 74.08 kB / 1.025 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 4.248e-06/1.164, allocations: 3.984 kB / 1.025 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0003525/1.165, allocations: 103.2 kB / 1.025 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/1.165, allocations: 59.34 kB / 1.025 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/1.165, allocations: 108.7 kB / 1.025 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.774e-05/1.165, allocations: 28.83 kB / 1.025 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.036e-05/1.165, allocations: 94.94 kB / 1.026 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/1.165, allocations: 11.75 kB / 1.026 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.508e-06/1.165, allocations: 7.438 kB / 1.026 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001222/1.165, allocations: 313.7 kB / 1.026 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.269e-05/1.165, allocations: 27.3 kB / 1.026 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.233e-05/1.165, allocations: 41.77 kB / 1.026 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.897e-05/1.165, allocations: 27.05 kB / 1.026 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/1.165, allocations: 0 / 1.026 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000258/1.166, allocations: 102.4 kB / 1.026 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/1.166, allocations: 4 kB / 1.026 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/1.166, allocations: 4 kB / 1.026 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/1.166, allocations: 0 / 1.026 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/1.166, allocations: 19.95 kB / 1.026 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/1.166, allocations: 7.984 kB / 1.026 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/1.166, allocations: 7.906 kB / 1.026 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/1.166, allocations: 7.062 kB / 1.026 GB, free: 13.02 MB / 0.6511 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 9.868e-05/1.166, allocations: 112.4 kB / 1.026 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/1.166, allocations: 4 kB / 1.026 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.534e-05/1.166, allocations: 12.61 kB / 1.026 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/1.166, allocations: 4 kB / 1.026 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/1.166, allocations: 3.953 kB / 1.026 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/1.166, allocations: 0 / 1.026 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005733/1.167, allocations: 373.6 kB / 1.027 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/1.167, allocations: 0 / 1.027 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.076e-05/1.167, allocations: 4 kB / 1.027 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.197e-06/1.167, allocations: 0 / 1.027 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/1.167, allocations: 3.953 kB / 1.027 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/1.167, allocations: 3.984 kB / 1.027 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.167, allocations: 4 kB / 1.027 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000319/1.167, allocations: 192.4 kB / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.415e-05/1.168, allocations: 85.02 kB / 1.027 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/1.168, allocations: 0 / 1.027 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/1.168, allocations: 11.94 kB / 1.027 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.405e-05/1.168, allocations: 4 kB / 1.027 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/1.168, allocations: 7.547 kB / 1.027 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.151e-05/1.168, allocations: 101.8 kB / 1.027 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.91e-07/1.168, allocations: 0 / 1.027 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004493/1.168, allocations: 51.42 kB / 1.027 GB, free: 12.04 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.001009/1.169, allocations: 0.7905 MB / 1.028 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002411/1.17, allocations: 62.97 kB / 1.028 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.17, allocations: 3.75 kB / 1.028 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.364e-05/1.17, allocations: 23.31 kB / 1.028 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/1.17, allocations: 12.69 kB / 1.028 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006415/1.171, allocations: 147.3 kB / 1.028 GB, free: 11 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/1.171, allocations: 0.7044 MB / 1.029 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.53e-05/1.171, allocations: 4.188 kB / 1.029 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.695e-05/1.171, allocations: 26.42 kB / 1.029 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of SimCode: time 1.272e-06/1.171, allocations: 0 / 1.029 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02678/1.198, allocations: 2.506 MB / 1.031 GB, free: 7.895 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003252/1.198, allocations: 208.7 kB / 1.031 GB, free: 7.672 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.496/3.694, allocations: 0 / 1.031 GB, free: 7.672 MB / 0.6511 GB