Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",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.564/2.564, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00154/0.00154, allocations: 179.3 kB / 325.5 MB, free: 2.891 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.475/2.475, allocations: 205.4 MB / 0.5764 GB, free: 20.79 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.002547/0.002546, allocations: 102.4 kB / 0.6809 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004881/0.0004881, allocations: 12.94 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.213, allocations: 106.3 MB / 0.8988 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2467/0.4598, allocations: 133.9 MB / 1.03 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003432/0.4602, allocations: 83.95 kB / 1.03 GB, free: 11.34 MB / 0.6823 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.01631/0.4765, allocations: 3.232 MB / 1.033 GB, free: 8.102 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.194e-06/0.4766, allocations: 0 / 1.033 GB, free: 8.102 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.4766, allocations: 4 kB / 1.033 GB, free: 8.098 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008517/0.4775, allocations: 470.2 kB / 1.033 GB, free: 7.578 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.4775, allocations: 12.03 kB / 1.033 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.614e-05/0.4776, allocations: 34.55 kB / 1.033 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.97e-05/0.4777, allocations: 7.953 kB / 1.033 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.4778, allocations: 171.7 kB / 1.033 GB, free: 7.309 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.576e-05/0.4779, allocations: 11.94 kB / 1.033 GB, free: 7.297 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.38e-05/0.4779, allocations: 8 kB / 1.033 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003982/0.4783, allocations: 93.56 kB / 1.034 GB, free: 7.191 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.4784, allocations: 3.938 kB / 1.034 GB, free: 7.188 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.496e-05/0.4784, allocations: 7.969 kB / 1.034 GB, free: 7.18 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.4784, allocations: 0 / 1.034 GB, free: 7.18 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003226/0.4788, allocations: 55.97 kB / 1.034 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001217/0.48, allocations: 336.8 kB / 1.034 GB, free: 6.746 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003065/0.4803, allocations: 70.58 kB / 1.034 GB, free: 6.668 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.12e-05/0.4804, allocations: 160 / 1.034 GB, free: 6.668 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003665/0.4808, allocations: 107.3 kB / 1.034 GB, free: 6.551 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 2.635e-06/0.4808, allocations: 0 / 1.034 GB, free: 6.551 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.001005/0.4818, allocations: 201.4 kB / 1.034 GB, free: 6.348 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.495e-05/0.4819, allocations: 55.39 kB / 1.034 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.482, allocations: 118.8 kB / 1.034 GB, free: 6.16 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.171e-05/0.4821, allocations: 29.7 kB / 1.034 GB, free: 6.125 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.258e-05/0.4822, allocations: 96 kB / 1.035 GB, free: 6.027 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.663e-05/0.4822, allocations: 23.78 kB / 1.035 GB, free: 6.004 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.382e-05/0.4823, allocations: 4 kB / 1.035 GB, free: 6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.4824, allocations: 322.8 kB / 1.035 GB, free: 5.676 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.4826, allocations: 23.98 kB / 1.035 GB, free: 5.652 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001888/0.4828, allocations: 74.08 kB / 1.035 GB, free: 5.566 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.483, allocations: 32 kB / 1.035 GB, free: 5.535 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/0.483, allocations: 4 kB / 1.035 GB, free: 5.531 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005115/0.4835, allocations: 141.4 kB / 1.035 GB, free: 5.387 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.4835, allocations: 5.875 kB / 1.035 GB, free: 5.383 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.4836, allocations: 0 / 1.035 GB, free: 5.383 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.4836, allocations: 4 kB / 1.035 GB, free: 5.379 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/0.4838, allocations: 19.92 kB / 1.035 GB, free: 5.359 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.51e-05/0.4838, allocations: 3.953 kB / 1.035 GB, free: 5.355 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.484, allocations: 19.91 kB / 1.035 GB, free: 5.336 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.42e-05/0.484, allocations: 12.08 kB / 1.035 GB, free: 5.324 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked 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.0001526/0.4842, allocations: 117.8 kB / 1.035 GB, free: 5.199 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.862e-05/0.4842, allocations: 4 kB / 1.035 GB, free: 5.195 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.104e-05/0.4842, allocations: 8.375 kB / 1.035 GB, free: 5.188 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.4843, allocations: 4 kB / 1.035 GB, free: 5.184 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.4843, allocations: 3.938 kB / 1.035 GB, free: 5.18 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.667e-06/0.4843, allocations: 7.938 kB / 1.035 GB, free: 5.172 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.4853, allocations: 434.3 kB / 1.036 GB, free: 4.691 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.4854, allocations: 3.938 kB / 1.036 GB, free: 4.688 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.268e-05/0.4854, allocations: 11.98 kB / 1.036 GB, free: 4.676 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.4855, allocations: 0 / 1.036 GB, free: 4.676 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.4855, allocations: 0 / 1.036 GB, free: 4.676 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.702e-06/0.4855, allocations: 3.953 kB / 1.036 GB, free: 4.672 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4855, allocations: 4 kB / 1.036 GB, free: 4.668 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007445/0.4863, allocations: 255.3 kB / 1.036 GB, free: 4.402 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.948e-05/0.4863, allocations: 77.11 kB / 1.036 GB, free: 4.309 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.765e-05/0.4864, allocations: 4 kB / 1.036 GB, free: 4.305 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/0.4866, allocations: 15.98 kB / 1.036 GB, free: 4.289 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.801e-05/0.4867, allocations: 7.953 kB / 1.036 GB, free: 4.281 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.061e-05/0.4867, allocations: 3.984 kB / 1.036 GB, free: 4.277 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.161e-05/0.4868, allocations: 96.39 kB / 1.036 GB, free: 4.184 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.8e-07/0.4868, allocations: 0 / 1.036 GB, free: 4.184 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005017/0.4873, allocations: 51.91 kB / 1.036 GB, free: 4.133 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001582/0.4889, allocations: 0.8569 MB / 1.037 GB, free: 3.266 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005613/0.4895, allocations: 107.8 kB / 1.037 GB, free: 3.16 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.4896, allocations: 0 / 1.037 GB, free: 3.16 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002679/0.4898, allocations: 47.97 kB / 1.037 GB, free: 3.113 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.4901, allocations: 20.12 kB / 1.037 GB, free: 3.094 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.4916, allocations: 1.063 MB / 1.038 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.492, allocations: 0.6926 MB / 1.039 GB, free: 1.238 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 7.71e-05/0.4921, allocations: 4 kB / 1.039 GB, free: 1.234 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.792e-05/0.4921, allocations: 27.42 kB / 1.039 GB, free: 1.211 MB / 0.6823 GB Notification: Performance of SimCode: time 1.292e-06/0.4921, allocations: 0 / 1.039 GB, free: 1.211 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02393/0.5161, allocations: 2.827 MB / 1.042 GB, free: 14.55 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003235/0.5165, allocations: 242.3 kB / 1.042 GB, free: 14.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.458/2.975, allocations: 0 / 1.042 GB, free: 14.3 MB / 0.698 GB