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.324/2.324, allocations: 248.7 MB / 256.2 MB, free: 7.055 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.002136/0.002136, allocations: 183.4 kB / 315.4 MB, free: 4.004 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.249/2.249, 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.001289/0.001288, allocations: 89.67 kB / 0.6704 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.135e-05/3.149e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.2287, allocations: 106.3 MB / 0.8841 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8695/1.098, allocations: 133.7 MB / 1.015 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003235/1.099, allocations: 78.33 kB / 1.015 GB, free: 5.066 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.01427/1.113, allocations: 2.969 MB / 1.018 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.553e-06/1.113, allocations: 0 / 1.018 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.404e-06/1.113, allocations: 0 / 1.018 GB, free: 2.555 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.0006932/1.114, allocations: 411.7 kB / 1.018 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/1.114, allocations: 8.031 kB / 1.018 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.854e-05/1.114, allocations: 11.86 kB / 1.018 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/1.114, allocations: 171 kB / 1.018 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.345e-05/1.114, allocations: 11.98 kB / 1.018 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/1.114, allocations: 0 / 1.018 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001065/1.114, allocations: 23.12 kB / 1.018 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/1.114, allocations: 58.52 kB / 1.018 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/1.114, allocations: 0 / 1.018 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/1.114, allocations: 3.5 kB / 1.018 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/1.114, allocations: 0 / 1.018 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007981/1.115, allocations: 292.4 kB / 1.019 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/1.115, allocations: 37.94 kB / 1.019 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.787e-05/1.115, allocations: 32.47 kB / 1.019 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/1.115, allocations: 0 / 1.019 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000151/1.116, allocations: 67.02 kB / 1.019 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.803e-06/1.116, allocations: 4 kB / 1.019 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003479/1.116, allocations: 97.02 kB / 1.019 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/1.116, allocations: 59.3 kB / 1.019 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/1.116, allocations: 108.7 kB / 1.019 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/1.116, allocations: 29.69 kB / 1.019 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.444e-05/1.116, allocations: 88.27 kB / 1.019 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/1.116, allocations: 19.56 kB / 1.019 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.536e-06/1.116, allocations: 0 / 1.019 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000139/1.116, allocations: 322.8 kB / 1.019 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.616e-05/1.117, allocations: 23.38 kB / 1.019 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.371e-05/1.117, allocations: 42.31 kB / 1.02 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.842e-05/1.117, allocations: 19.06 kB / 1.02 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/1.117, allocations: 0 / 1.02 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002562/1.117, allocations: 93 kB / 1.02 GB, free: 492 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/1.117, allocations: 8.062 kB / 1.02 GB, free: 484 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/1.117, allocations: 4 kB / 1.02 GB, free: 480 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/1.117, allocations: 3.938 kB / 1.02 GB, free: 480 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/1.117, allocations: 11.98 kB / 1.02 GB, free: 468 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/1.117, allocations: 4 kB / 1.02 GB, free: 464 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/1.117, allocations: 11.86 kB / 1.02 GB, free: 452 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/1.117, allocations: 7.875 kB / 1.02 GB, free: 448 kB / 0.6355 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.000108/1.118, allocations: 112.9 kB / 1.02 GB, free: 328 kB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002482/1.118, allocations: 89.05 kB / 1.02 GB, free: 248 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.072e-05/1.118, allocations: 7.906 kB / 1.02 GB, free: 240 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.939e-05/1.118, allocations: 8.062 kB / 1.02 GB, free: 232 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/1.118, allocations: 4 kB / 1.02 GB, free: 228 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/1.118, allocations: 3.953 kB / 1.02 GB, free: 224 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-06/1.118, allocations: 0 / 1.02 GB, free: 224 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005371/1.119, allocations: 335.3 kB / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/1.119, allocations: 0 / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.369e-05/1.119, allocations: 11.98 kB / 1.02 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/1.119, allocations: 0 / 1.02 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/1.119, allocations: 4 kB / 1.02 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/1.119, allocations: 3.953 kB / 1.02 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.119, allocations: 320 / 1.02 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000323/1.119, allocations: 190.4 kB / 1.02 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.705e-05/1.119, allocations: 85 kB / 1.02 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/1.119, allocations: 4 kB / 1.02 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/1.119, allocations: 8 kB / 1.02 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.484e-05/1.119, allocations: 11.88 kB / 1.021 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/1.119, allocations: 4 kB / 1.021 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.724e-05/1.12, allocations: 96.22 kB / 1.021 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.31e-07/1.12, allocations: 3.938 kB / 1.021 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004532/1.12, allocations: 47.81 kB / 1.021 GB, free: 15.41 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.001054/1.121, allocations: 0.7959 MB / 1.021 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002214/1.121, allocations: 51.19 kB / 1.021 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.121, allocations: 3.938 kB / 1.021 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.736e-05/1.121, allocations: 27.55 kB / 1.022 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/1.122, allocations: 15.83 kB / 1.022 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006867/1.122, allocations: 149.5 kB / 1.022 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/1.123, allocations: 0.6885 MB / 1.022 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.409e-05/1.123, allocations: 4.188 kB / 1.022 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.703e-05/1.123, allocations: 23.05 kB / 1.022 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of SimCode: time 1.002e-06/1.123, allocations: 4 kB / 1.022 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04111/1.164, allocations: 2.169 MB / 1.024 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002875/1.164, allocations: 199.2 kB / 1.025 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.405/3.569, allocations: 4.188 kB / 1.025 GB, free: 11.28 MB / 0.6511 GB