Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",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.248/2.248, allocations: 248.7 MB / 256.2 MB, free: 7.062 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.001449/0.001449, allocations: 182.3 kB / 315.4 MB, free: 3.996 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.105/2.105, allocations: 205.3 MB / 0.5662 GB, free: 0.6094 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.001084/0.001084, allocations: 94.42 kB / 0.6704 GB, free: 5.812 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.955e-05/2.962e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2132, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9078/1.121, allocations: 134.2 MB / 1.015 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/1.121, allocations: 81.94 kB / 1.015 GB, free: 4.535 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.02014/1.142, allocations: 3.797 MB / 1.019 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.743e-06/1.142, allocations: 0 / 1.019 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.155e-06/1.142, allocations: 0 / 1.019 GB, free: 1.305 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009298/1.143, allocations: 0.5155 MB / 1.019 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/1.143, allocations: 8.031 kB / 1.019 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.929e-05/1.143, allocations: 23.64 kB / 1.019 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/1.143, allocations: 178.9 kB / 1.02 GB, free: 496 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.438e-05/1.143, allocations: 6.734 kB / 1.02 GB, free: 492 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.543e-05/1.143, allocations: 7.938 kB / 1.02 GB, free: 484 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001851/1.143, allocations: 42.62 kB / 1.02 GB, free: 460 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/1.143, allocations: 92.94 kB / 1.02 GB, free: 380 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/1.143, allocations: 0 / 1.02 GB, free: 380 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.345e-05/1.144, allocations: 0 / 1.02 GB, free: 380 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/1.144, allocations: 11.95 kB / 1.02 GB, free: 368 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001456/1.145, allocations: 379.4 kB / 1.02 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/1.145, allocations: 61.45 kB / 1.02 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/1.145, allocations: 44.22 kB / 1.02 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.009e-05/1.145, allocations: 0 / 1.02 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002359/1.146, allocations: 98.61 kB / 1.02 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 4.769e-06/1.146, allocations: 112 / 1.02 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0005449/1.146, allocations: 160.2 kB / 1.02 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/1.146, allocations: 51.41 kB / 1.021 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/1.146, allocations: 129.1 kB / 1.021 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/1.146, allocations: 25.7 kB / 1.021 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.498e-05/1.147, allocations: 99.8 kB / 1.021 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.797e-05/1.147, allocations: 27.72 kB / 1.021 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.106e-05/1.147, allocations: 4 kB / 1.021 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001328/1.147, allocations: 322.8 kB / 1.021 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.017e-05/1.147, allocations: 19.69 kB / 1.021 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/1.147, allocations: 61.97 kB / 1.021 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001061/1.147, allocations: 35.78 kB / 1.021 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/1.147, allocations: 96 / 1.021 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003064/1.147, allocations: 116.8 kB / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/1.147, allocations: 10.12 kB / 1.021 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/1.147, allocations: 4 kB / 1.021 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/1.147, allocations: 0 / 1.021 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002923/1.148, allocations: 27.92 kB / 1.021 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.443e-06/1.148, allocations: 8.125 kB / 1.021 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001899/1.148, allocations: 15.84 kB / 1.021 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/1.148, allocations: 16.23 kB / 1.021 GB, free: 14.75 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.p,win.p,$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.0001133/1.148, allocations: 107.7 kB / 1.022 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004376/1.149, allocations: 144.2 kB / 1.022 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.216e-05/1.149, allocations: 11.89 kB / 1.022 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.913e-05/1.149, allocations: 20.52 kB / 1.022 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/1.149, allocations: 0 / 1.022 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.149, allocations: 0 / 1.022 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/1.149, allocations: 4 kB / 1.022 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007781/1.15, allocations: 420.1 kB / 1.022 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/1.15, allocations: 4 kB / 1.022 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/1.15, allocations: 15.98 kB / 1.022 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-06/1.15, allocations: 3.953 kB / 1.022 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.513e-05/1.15, allocations: 11.98 kB / 1.022 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/1.15, allocations: 0 / 1.022 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.15, allocations: 0 / 1.022 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004793/1.15, allocations: 241.9 kB / 1.022 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.768e-05/1.15, allocations: 85.02 kB / 1.022 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.546e-05/1.15, allocations: 7.984 kB / 1.022 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003882/1.151, allocations: 35.91 kB / 1.022 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.849e-05/1.151, allocations: 7.984 kB / 1.022 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-05/1.151, allocations: 11.86 kB / 1.023 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.724e-05/1.151, allocations: 99.33 kB / 1.023 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.21e-07/1.151, allocations: 4 kB / 1.023 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005544/1.152, allocations: 55.92 kB / 1.023 GB, free: 13.54 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: 1 (win.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.001246/1.153, allocations: 0.8483 MB / 1.023 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003136/1.153, allocations: 83.42 kB / 1.024 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/1.153, allocations: 4.062 kB / 1.024 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001538/1.153, allocations: 46.61 kB / 1.024 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/1.154, allocations: 11.89 kB / 1.024 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009201/1.155, allocations: 201 kB / 1.024 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/1.155, allocations: 0.7002 MB / 1.025 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001047/1.155, allocations: 11.98 kB / 1.025 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.3e-05/1.155, allocations: 30.73 kB / 1.025 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of SimCode: time 1.593e-06/1.155, allocations: 0 / 1.025 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04149/1.197, allocations: 2.901 MB / 1.027 GB, free: 8.762 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003538/1.197, allocations: 192.7 kB / 1.028 GB, free: 8.504 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.384/3.582, allocations: 1.828 kB / 1.028 GB, free: 8.504 MB / 0.6511 GB