Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.Zhang2012WindowsSouth,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",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.277/2.277, 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.00181/0.00181, allocations: 171.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.469/2.469, allocations: 205.4 MB / 0.5764 GB, free: 20.81 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.001172/0.001172, allocations: 96.03 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000683/0.0006832, allocations: 17 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2312, allocations: 106.3 MB / 0.8988 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.238/0.4692, allocations: 133.5 MB / 1.029 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003427/0.4696, allocations: 87.94 kB / 1.029 GB, free: 11.62 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.02145/0.4911, allocations: 2.99 MB / 1.032 GB, free: 8.625 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.566e-06/0.4911, allocations: 0 / 1.032 GB, free: 8.625 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.553e-05/0.4912, allocations: 4 kB / 1.032 GB, free: 8.621 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001036/0.4922, allocations: 424.7 kB / 1.033 GB, free: 8.152 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.558e-05/0.4923, allocations: 8.031 kB / 1.033 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.861e-05/0.4924, allocations: 42.55 kB / 1.033 GB, free: 8.094 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.848e-05/0.4925, allocations: 11.86 kB / 1.033 GB, free: 8.082 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.4928, allocations: 174.9 kB / 1.033 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.957e-05/0.4928, allocations: 4 kB / 1.033 GB, free: 7.867 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.25e-05/0.4929, allocations: 8 kB / 1.033 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003912/0.4933, allocations: 73.64 kB / 1.033 GB, free: 7.781 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.4933, allocations: 0 / 1.033 GB, free: 7.781 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.4934, allocations: 0 / 1.033 GB, free: 7.781 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.4934, allocations: 4 kB / 1.033 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003648/0.4938, allocations: 39.97 kB / 1.033 GB, free: 7.738 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001274/0.4951, allocations: 328.6 kB / 1.033 GB, free: 7.367 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002985/0.4954, allocations: 46.56 kB / 1.033 GB, free: 7.312 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.337e-05/0.4954, allocations: 0 / 1.033 GB, free: 7.312 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003646/0.4958, allocations: 83.5 kB / 1.033 GB, free: 7.219 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 3.016e-06/0.4959, allocations: 0 / 1.033 GB, free: 7.219 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0009786/0.4968, allocations: 153.5 kB / 1.034 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.492e-05/0.497, allocations: 55.41 kB / 1.034 GB, free: 6.996 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.4972, allocations: 117 kB / 1.034 GB, free: 6.875 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.369e-05/0.4972, allocations: 29.7 kB / 1.034 GB, free: 6.84 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.4973, allocations: 88.33 kB / 1.034 GB, free: 6.746 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.148e-05/0.4974, allocations: 11.81 kB / 1.034 GB, free: 6.734 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.442e-05/0.4974, allocations: 0 / 1.034 GB, free: 6.734 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002023/0.4977, allocations: 322.8 kB / 1.034 GB, free: 6.41 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002188/0.4979, allocations: 23.98 kB / 1.034 GB, free: 6.387 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002742/0.4982, allocations: 58.98 kB / 1.034 GB, free: 6.32 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002783/0.4985, allocations: 31.98 kB / 1.034 GB, free: 6.289 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.4985, allocations: 0 / 1.034 GB, free: 6.289 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006823/0.4992, allocations: 121.5 kB / 1.034 GB, free: 6.164 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.241e-05/0.4993, allocations: 17.59 kB / 1.034 GB, free: 6.148 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.4993, allocations: 0 / 1.034 GB, free: 6.148 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/0.4994, allocations: 3.984 kB / 1.034 GB, free: 6.145 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002303/0.4996, allocations: 12 kB / 1.034 GB, free: 6.133 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/0.4996, allocations: 3.953 kB / 1.034 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001704/0.4998, allocations: 7.984 kB / 1.034 GB, free: 6.121 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.982e-05/0.4999, allocations: 8.062 kB / 1.034 GB, free: 6.113 MB / 0.6823 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 () * Number of clocked 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.0001954/0.5001, allocations: 117.5 kB / 1.035 GB, free: 5.992 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.596e-05/0.5002, allocations: 11.91 kB / 1.035 GB, free: 5.98 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.157e-05/0.5002, allocations: 8.312 kB / 1.035 GB, free: 5.973 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.805e-05/0.5003, allocations: 7.984 kB / 1.035 GB, free: 5.965 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.5003, allocations: 3.938 kB / 1.035 GB, free: 5.961 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.5003, allocations: 3.953 kB / 1.035 GB, free: 5.957 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.5015, allocations: 386.5 kB / 1.035 GB, free: 5.523 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.5015, allocations: 0 / 1.035 GB, free: 5.523 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.5016, allocations: 4 kB / 1.035 GB, free: 5.52 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.354e-05/0.5016, allocations: 4 kB / 1.035 GB, free: 5.516 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.5017, allocations: 0 / 1.035 GB, free: 5.516 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.049e-05/0.5017, allocations: 3.953 kB / 1.035 GB, free: 5.512 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.746e-06/0.5017, allocations: 3.984 kB / 1.035 GB, free: 5.508 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007351/0.5025, allocations: 223.8 kB / 1.035 GB, free: 5.273 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.432e-05/0.5026, allocations: 81.02 kB / 1.035 GB, free: 5.176 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.644e-05/0.5027, allocations: 4 kB / 1.035 GB, free: 5.172 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/0.5029, allocations: 11.98 kB / 1.035 GB, free: 5.16 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.573e-05/0.503, allocations: 11.94 kB / 1.035 GB, free: 5.148 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.948e-05/0.5031, allocations: 7.984 kB / 1.035 GB, free: 5.141 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001223/0.5032, allocations: 99.42 kB / 1.035 GB, free: 5.043 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.51e-07/0.5032, allocations: 0 / 1.035 GB, free: 5.043 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007323/0.504, allocations: 43.94 kB / 1.035 GB, free: 5 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: 6 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked 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.001854/0.5058, allocations: 0.818 MB / 1.036 GB, free: 4.172 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006402/0.5065, allocations: 75.97 kB / 1.036 GB, free: 4.098 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.5066, allocations: 0 / 1.036 GB, free: 4.098 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002796/0.5069, allocations: 43.97 kB / 1.036 GB, free: 4.055 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.5072, allocations: 3.953 kB / 1.036 GB, free: 4.051 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.5089, allocations: 0.7283 MB / 1.037 GB, free: 3.254 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004306/0.5094, allocations: 0.6965 MB / 1.038 GB, free: 2.531 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001012/0.5095, allocations: 4.188 kB / 1.038 GB, free: 2.527 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.301e-05/0.5096, allocations: 19.42 kB / 1.038 GB, free: 2.512 MB / 0.6823 GB Notification: Performance of SimCode: time 1.463e-06/0.5096, allocations: 0 / 1.038 GB, free: 2.512 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02865/0.5383, allocations: 2.491 MB / 1.04 GB, free: 188 kB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003992/0.5388, allocations: 245.6 kB / 1.04 GB, free: 15.94 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.437/2.976, allocations: 0 / 1.04 GB, free: 15.94 MB / 0.698 GB