Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",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.361/2.361, allocations: 248.7 MB / 256.2 MB, free: 7.105 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.001409/0.001408, allocations: 170 kB / 315.4 MB, free: 3.988 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.221/2.221, allocations: 205.3 MB / 0.5662 GB, free: 0.5352 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.001118/0.001118, allocations: 88.44 kB / 0.6704 GB, free: 5.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.816e-05/3.838e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2448, allocations: 106.2 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9288/1.174, allocations: 133.7 MB / 1.015 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003025/1.174, allocations: 85.23 kB / 1.015 GB, free: 5.098 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.01409/1.188, allocations: 2.966 MB / 1.018 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.403e-06/1.188, allocations: 0 / 1.018 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.067e-05/1.188, allocations: 4 kB / 1.018 GB, free: 2.582 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.0007349/1.189, allocations: 410.1 kB / 1.018 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/1.189, allocations: 12.03 kB / 1.018 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.398e-05/1.189, allocations: 11.86 kB / 1.018 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/1.189, allocations: 171 kB / 1.018 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.815e-05/1.189, allocations: 10.48 kB / 1.018 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/1.189, allocations: 4 kB / 1.018 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001169/1.189, allocations: 22.25 kB / 1.018 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/1.19, allocations: 54.61 kB / 1.018 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/1.19, allocations: 0 / 1.018 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/1.19, allocations: 4 kB / 1.018 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/1.19, allocations: 0 / 1.018 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008533/1.191, allocations: 290.3 kB / 1.019 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/1.191, allocations: 38.25 kB / 1.019 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.416e-05/1.191, allocations: 24.11 kB / 1.019 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.257e-05/1.191, allocations: 7.922 kB / 1.019 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001824/1.191, allocations: 74.72 kB / 1.019 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 3.316e-06/1.191, allocations: 0 / 1.019 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003858/1.191, allocations: 88.58 kB / 1.019 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.014e-05/1.192, allocations: 67.16 kB / 1.019 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/1.192, allocations: 107 kB / 1.019 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/1.192, allocations: 29.52 kB / 1.019 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.479e-05/1.192, allocations: 92.19 kB / 1.019 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/1.192, allocations: 16.59 kB / 1.019 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.127e-06/1.192, allocations: 0 / 1.019 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001418/1.192, allocations: 322.8 kB / 1.019 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.124e-05/1.192, allocations: 19.62 kB / 1.019 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.688e-05/1.192, allocations: 41.64 kB / 1.02 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/1.192, allocations: 19.67 kB / 1.02 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/1.192, allocations: 0 / 1.02 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002753/1.193, allocations: 104.6 kB / 1.02 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/1.193, allocations: 4 kB / 1.02 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/1.193, allocations: 0 / 1.02 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/1.193, allocations: 0 / 1.02 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/1.193, allocations: 19.92 kB / 1.02 GB, free: 496 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/1.193, allocations: 0 / 1.02 GB, free: 496 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/1.193, allocations: 11.86 kB / 1.02 GB, free: 484 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-05/1.193, allocations: 4 kB / 1.02 GB, free: 480 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.0001257/1.193, allocations: 117 kB / 1.02 GB, free: 356 kB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000277/1.193, allocations: 92.61 kB / 1.02 GB, free: 276 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.033e-05/1.194, allocations: 3.906 kB / 1.02 GB, free: 272 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.914e-05/1.194, allocations: 8.625 kB / 1.02 GB, free: 260 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/1.194, allocations: 0 / 1.02 GB, free: 260 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/1.194, allocations: 3.953 kB / 1.02 GB, free: 256 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/1.194, allocations: 0 / 1.02 GB, free: 256 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005535/1.194, allocations: 346.5 kB / 1.02 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/1.194, allocations: 0 / 1.02 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.288e-05/1.194, allocations: 8 kB / 1.02 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/1.194, allocations: 0 / 1.02 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/1.194, allocations: 0 / 1.02 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.494e-05/1.194, allocations: 7.938 kB / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/1.194, allocations: 0 / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003091/1.195, allocations: 190.8 kB / 1.02 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.112e-05/1.195, allocations: 81.02 kB / 1.02 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.794e-05/1.195, allocations: 4 kB / 1.02 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/1.195, allocations: 11.98 kB / 1.02 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.121e-05/1.195, allocations: 11.89 kB / 1.021 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/1.195, allocations: 3.984 kB / 1.021 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.078e-05/1.195, allocations: 95.81 kB / 1.021 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.31e-07/1.195, allocations: 0 / 1.021 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000481/1.196, allocations: 47.92 kB / 1.021 GB, free: 15.44 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.001073/1.197, allocations: 0.7994 MB / 1.021 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002457/1.197, allocations: 54.98 kB / 1.021 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.197, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.722e-05/1.197, allocations: 27.75 kB / 1.022 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/1.197, allocations: 6.703 kB / 1.022 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007181/1.198, allocations: 152.9 kB / 1.022 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/1.199, allocations: 0.6924 MB / 1.022 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.978e-05/1.199, allocations: 8.172 kB / 1.022 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.775e-05/1.199, allocations: 15 kB / 1.022 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of SimCode: time 1.042e-06/1.199, allocations: 4 kB / 1.022 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03803/1.237, allocations: 2.177 MB / 1.024 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003431/1.237, allocations: 194.1 kB / 1.025 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.29/3.527, allocations: 6.531 kB / 1.025 GB, free: 11.3 MB / 0.6511 GB