Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",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.337/2.337, allocations: 248.7 MB / 256.2 MB, free: 7.102 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.001394/0.001394, allocations: 174.3 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.31/2.31, 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.001704/0.001705, allocations: 88.36 kB / 0.6704 GB, free: 5.734 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.01e-05/3.023e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.207, allocations: 106.3 MB / 0.8841 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9206/1.128, allocations: 133.7 MB / 1.015 GB, free: 5.043 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000442/1.128, allocations: 78.58 kB / 1.015 GB, free: 5 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.01945/1.148, allocations: 2.966 MB / 1.018 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.623e-06/1.148, allocations: 5.031 kB / 1.018 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.096e-06/1.148, allocations: 4 kB / 1.018 GB, free: 2.484 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.0007028/1.148, allocations: 414.6 kB / 1.018 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.701e-05/1.148, allocations: 8.031 kB / 1.018 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.494e-05/1.149, allocations: 15.84 kB / 1.018 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/1.149, allocations: 167 kB / 1.018 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.099e-05/1.149, allocations: 0 / 1.018 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/1.149, allocations: 7.375 kB / 1.018 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001167/1.149, allocations: 26.44 kB / 1.018 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/1.149, allocations: 56.42 kB / 1.018 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/1.149, allocations: 3.984 kB / 1.018 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/1.149, allocations: 3.938 kB / 1.018 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/1.149, allocations: 0 / 1.018 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008433/1.15, allocations: 294.2 kB / 1.019 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/1.15, allocations: 44.75 kB / 1.019 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.794e-05/1.15, allocations: 21.61 kB / 1.019 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/1.15, allocations: 4 kB / 1.019 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001652/1.15, allocations: 66.52 kB / 1.019 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.695e-06/1.15, allocations: 0 / 1.019 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0004026/1.151, allocations: 99.02 kB / 1.019 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/1.151, allocations: 55.36 kB / 1.019 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/1.151, allocations: 112 kB / 1.019 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/1.151, allocations: 25.7 kB / 1.019 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.398e-05/1.151, allocations: 91.95 kB / 1.019 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.327e-05/1.151, allocations: 19.73 kB / 1.019 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.115e-06/1.151, allocations: 0 / 1.019 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001496/1.151, allocations: 313.9 kB / 1.019 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.531e-05/1.151, allocations: 26.31 kB / 1.019 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.775e-05/1.152, allocations: 43.25 kB / 1.02 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/1.152, allocations: 26.36 kB / 1.02 GB, free: 500 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/1.152, allocations: 0 / 1.02 GB, free: 500 kB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002644/1.152, allocations: 91.34 kB / 1.02 GB, free: 420 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/1.152, allocations: 4 kB / 1.02 GB, free: 416 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/1.152, allocations: 224 / 1.02 GB, free: 416 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/1.152, allocations: 8 kB / 1.02 GB, free: 408 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001836/1.152, allocations: 11.98 kB / 1.02 GB, free: 396 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/1.152, allocations: 3.984 kB / 1.02 GB, free: 392 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/1.152, allocations: 19.84 kB / 1.02 GB, free: 372 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/1.152, allocations: 0 / 1.02 GB, free: 372 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.0001183/1.153, allocations: 108.5 kB / 1.02 GB, free: 260 kB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002614/1.153, allocations: 94.42 kB / 1.02 GB, free: 176 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/1.153, allocations: 11.91 kB / 1.02 GB, free: 164 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.525e-05/1.153, allocations: 4.625 kB / 1.02 GB, free: 156 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/1.153, allocations: 0 / 1.02 GB, free: 156 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/1.153, allocations: 3.953 kB / 1.02 GB, free: 152 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/1.153, allocations: 7.984 kB / 1.02 GB, free: 144 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005837/1.154, allocations: 334.6 kB / 1.02 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/1.154, allocations: 0 / 1.02 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.599e-05/1.154, allocations: 7.984 kB / 1.02 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/1.154, allocations: 0 / 1.02 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/1.154, allocations: 4 kB / 1.02 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.785e-06/1.154, allocations: 7.953 kB / 1.02 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/1.154, allocations: 0 / 1.02 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003249/1.154, allocations: 195.7 kB / 1.02 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.404e-05/1.154, allocations: 81.02 kB / 1.02 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.988e-05/1.154, allocations: 4.859 kB / 1.02 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/1.154, allocations: 4 kB / 1.02 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.534e-05/1.154, allocations: 15.94 kB / 1.021 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/1.155, allocations: 4 kB / 1.021 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.245e-05/1.155, allocations: 95.52 kB / 1.021 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/1.155, allocations: 0 / 1.021 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004977/1.155, allocations: 47.92 kB / 1.021 GB, free: 15.34 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.001116/1.156, allocations: 0.7939 MB / 1.021 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002413/1.157, allocations: 56.55 kB / 1.021 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.157, allocations: 0 / 1.021 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.872e-05/1.157, allocations: 22.75 kB / 1.021 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/1.157, allocations: 16.38 kB / 1.022 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007155/1.158, allocations: 151 kB / 1.022 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/1.158, allocations: 0.6885 MB / 1.022 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.222e-05/1.158, allocations: 8.172 kB / 1.022 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.512e-05/1.158, allocations: 21.8 kB / 1.022 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of SimCode: time 9.62e-07/1.158, allocations: 0 / 1.022 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04009/1.198, allocations: 2.179 MB / 1.024 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000365/1.199, allocations: 198.5 kB / 1.025 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.368/3.567, allocations: 4 kB / 1.025 GB, free: 11.2 MB / 0.6511 GB