Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",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.318/2.318, allocations: 248.5 MB / 261.1 MB, free: 6.016 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.00161/0.00161, allocations: 182 kB / 320.4 MB, free: 15.34 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.984/1.984, allocations: 205.2 MB / 0.571 GB, free: 11.75 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.001119/0.001118, allocations: 96.36 kB / 0.6754 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.345e-05/4.358e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2075, allocations: 106.3 MB / 0.8907 GB, free: 7.449 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8996/1.107, allocations: 133.5 MB / 1.021 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002813/1.108, allocations: 82.94 kB / 1.021 GB, free: 1.434 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.01462/1.122, allocations: 2.978 MB / 1.024 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.562e-06/1.122, allocations: 0 / 1.024 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.515e-06/1.122, allocations: 0 / 1.024 GB, free: 14.88 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.0007759/1.123, allocations: 409.9 kB / 1.024 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/1.123, allocations: 8.031 kB / 1.024 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.74e-05/1.123, allocations: 37.06 kB / 1.024 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.824e-05/1.123, allocations: 15.7 kB / 1.024 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001799/1.123, allocations: 182.8 kB / 1.025 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.954e-05/1.123, allocations: 2.688 kB / 1.025 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.981e-05/1.124, allocations: 4 kB / 1.025 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/1.124, allocations: 61.42 kB / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/1.124, allocations: 0 / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/1.124, allocations: 0 / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/1.124, allocations: 4 kB / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.827e-05/1.124, allocations: 19 kB / 1.025 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009128/1.125, allocations: 326.5 kB / 1.025 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/1.125, allocations: 36.52 kB / 1.025 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.738e-05/1.125, allocations: 23.3 kB / 1.025 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/1.125, allocations: 4 kB / 1.025 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001854/1.125, allocations: 78 kB / 1.025 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 2.685e-06/1.125, allocations: 0 / 1.025 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0003772/1.126, allocations: 106.7 kB / 1.025 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/1.126, allocations: 51.41 kB / 1.025 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/1.126, allocations: 113.7 kB / 1.025 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/1.126, allocations: 29.14 kB / 1.025 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.977e-05/1.126, allocations: 95.72 kB / 1.026 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/1.126, allocations: 19.47 kB / 1.026 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.536e-06/1.126, allocations: 0 / 1.026 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001574/1.126, allocations: 322.7 kB / 1.026 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.334e-05/1.126, allocations: 18.62 kB / 1.026 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.42e-05/1.127, allocations: 38.3 kB / 1.026 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/1.127, allocations: 30.47 kB / 1.026 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/1.127, allocations: 4 kB / 1.026 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002878/1.127, allocations: 95.58 kB / 1.026 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/1.127, allocations: 4 kB / 1.026 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/1.127, allocations: 0 / 1.026 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/1.127, allocations: 4 kB / 1.026 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/1.127, allocations: 22.5 kB / 1.026 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/1.127, allocations: 0.6875 kB / 1.026 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/1.127, allocations: 11.91 kB / 1.026 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/1.127, allocations: 4.062 kB / 1.026 GB, free: 12.66 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 0.0001206/1.128, allocations: 108 kB / 1.026 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.911e-05/1.128, allocations: 7.984 kB / 1.026 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.486e-05/1.128, allocations: 7.562 kB / 1.026 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/1.128, allocations: 4 kB / 1.026 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/1.128, allocations: 7.953 kB / 1.026 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/1.128, allocations: 0 / 1.026 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006322/1.128, allocations: 373.7 kB / 1.027 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/1.128, allocations: 0 / 1.027 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.732e-05/1.128, allocations: 7.938 kB / 1.027 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-06/1.129, allocations: 4 kB / 1.027 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/1.129, allocations: 7.938 kB / 1.027 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/1.129, allocations: 0 / 1.027 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/1.129, allocations: 0 / 1.027 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003884/1.129, allocations: 189.8 kB / 1.027 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.8e-05/1.129, allocations: 92.2 kB / 1.027 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.923e-05/1.129, allocations: 4 kB / 1.027 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/1.129, allocations: 11.94 kB / 1.027 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.915e-05/1.129, allocations: 3.984 kB / 1.027 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.885e-05/1.129, allocations: 7.984 kB / 1.027 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.372e-05/1.129, allocations: 90.03 kB / 1.027 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/1.129, allocations: 0 / 1.027 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004627/1.13, allocations: 51.3 kB / 1.027 GB, free: 11.68 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.001186/1.131, allocations: 0.7999 MB / 1.028 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002739/1.131, allocations: 60.42 kB / 1.028 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/1.131, allocations: 4.125 kB / 1.028 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001051/1.132, allocations: 26.81 kB / 1.028 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/1.132, allocations: 18.06 kB / 1.028 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007688/1.133, allocations: 154 kB / 1.028 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004179/1.133, allocations: 0.6887 MB / 1.029 GB, free: 9.918 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.481e-05/1.133, allocations: 8.125 kB / 1.029 GB, free: 9.91 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.349e-05/1.133, allocations: 26.55 kB / 1.029 GB, free: 9.891 MB / 0.6511 GB Notification: Performance of SimCode: time 9.02e-07/1.133, allocations: 0 / 1.029 GB, free: 9.891 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02395/1.157, allocations: 2.5 MB / 1.031 GB, free: 7.535 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003529/1.158, allocations: 218.1 kB / 1.031 GB, free: 7.309 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.376/3.533, allocations: 0 / 1.031 GB, free: 7.309 MB / 0.6511 GB