Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",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.212/2.212, 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.001552/0.001552, allocations: 181.6 kB / 325.5 MB, free: 2.918 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.477/2.477, allocations: 205.4 MB / 0.5764 GB, free: 21.2 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.00118/0.001179, allocations: 99.05 kB / 0.6809 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007622/0.0007624, allocations: 11.59 kB / 0.795 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2368, allocations: 106.3 MB / 0.8988 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2533/0.4901, allocations: 133.6 MB / 1.029 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000434/0.4906, allocations: 83.95 kB / 1.029 GB, free: 12.15 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.01873/0.5094, allocations: 2.994 MB / 1.032 GB, free: 9.148 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.545e-06/0.5094, allocations: 0 / 1.032 GB, free: 9.148 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.258e-06/0.5094, allocations: 0 / 1.032 GB, free: 9.148 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.000987/0.5104, allocations: 424.7 kB / 1.033 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.669e-05/0.5105, allocations: 12.03 kB / 1.033 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.603e-05/0.5106, allocations: 34.56 kB / 1.033 GB, free: 8.625 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.312e-05/0.5107, allocations: 15.84 kB / 1.033 GB, free: 8.609 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.5109, allocations: 171 kB / 1.033 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.849e-05/0.511, allocations: 4 kB / 1.033 GB, free: 8.398 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.65e-05/0.511, allocations: 8 kB / 1.033 GB, free: 8.391 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003491/0.5114, allocations: 73.59 kB / 1.033 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.5114, allocations: 0 / 1.033 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/0.5115, allocations: 3.938 kB / 1.033 GB, free: 8.309 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.5115, allocations: 4 kB / 1.033 GB, free: 8.305 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003111/0.5118, allocations: 43.97 kB / 1.033 GB, free: 8.262 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/0.513, allocations: 320.6 kB / 1.033 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002632/0.5133, allocations: 58.48 kB / 1.033 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.351e-05/0.5133, allocations: 0 / 1.033 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003186/0.5137, allocations: 83.56 kB / 1.033 GB, free: 7.738 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.805e-06/0.5137, allocations: 4 kB / 1.033 GB, free: 7.734 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0008463/0.5146, allocations: 157.4 kB / 1.034 GB, free: 7.574 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.514e-05/0.5146, allocations: 55.41 kB / 1.034 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.5148, allocations: 105 kB / 1.034 GB, free: 7.398 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.429e-05/0.5149, allocations: 33.7 kB / 1.034 GB, free: 7.359 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.32e-05/0.515, allocations: 92.31 kB / 1.034 GB, free: 7.262 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.751e-05/0.515, allocations: 19.8 kB / 1.034 GB, free: 7.242 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.32e-05/0.5151, allocations: 0 / 1.034 GB, free: 7.242 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001872/0.5153, allocations: 322.8 kB / 1.034 GB, free: 6.918 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/0.5155, allocations: 27.98 kB / 1.034 GB, free: 6.891 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.5157, allocations: 59.41 kB / 1.034 GB, free: 6.82 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002594/0.516, allocations: 31.98 kB / 1.034 GB, free: 6.789 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.516, allocations: 0 / 1.034 GB, free: 6.789 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006056/0.5166, allocations: 129.5 kB / 1.034 GB, free: 6.656 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.5167, allocations: 5.719 kB / 1.034 GB, free: 6.652 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.5167, allocations: 4 kB / 1.034 GB, free: 6.648 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.5167, allocations: 0 / 1.034 GB, free: 6.648 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002015/0.517, allocations: 15.98 kB / 1.034 GB, free: 6.633 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.517, allocations: 3.953 kB / 1.034 GB, free: 6.629 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/0.5172, allocations: 4 kB / 1.034 GB, free: 6.625 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.807e-05/0.5172, allocations: 11.94 kB / 1.034 GB, free: 6.613 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$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.0001947/0.5174, allocations: 121.8 kB / 1.035 GB, free: 6.484 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.021e-05/0.5175, allocations: 11.89 kB / 1.035 GB, free: 6.473 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.243e-05/0.5175, allocations: 12.38 kB / 1.035 GB, free: 6.461 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.5175, allocations: 0 / 1.035 GB, free: 6.461 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.5176, allocations: 0 / 1.035 GB, free: 6.461 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/0.5176, allocations: 3.953 kB / 1.035 GB, free: 6.457 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000993/0.5186, allocations: 374.5 kB / 1.035 GB, free: 6.035 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.5186, allocations: 0 / 1.035 GB, free: 6.035 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.881e-05/0.5187, allocations: 11.94 kB / 1.035 GB, free: 6.023 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.5187, allocations: 0 / 1.035 GB, free: 6.023 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/0.5188, allocations: 3.984 kB / 1.035 GB, free: 6.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/0.5188, allocations: 3.953 kB / 1.035 GB, free: 6.016 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.5188, allocations: 0 / 1.035 GB, free: 6.016 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006504/0.5195, allocations: 219.4 kB / 1.035 GB, free: 5.785 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.36e-05/0.5196, allocations: 92.94 kB / 1.035 GB, free: 5.676 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/0.5196, allocations: 4.062 kB / 1.035 GB, free: 5.672 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.5198, allocations: 5.688 kB / 1.035 GB, free: 5.668 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.075e-05/0.5199, allocations: 15.94 kB / 1.035 GB, free: 5.652 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.52, allocations: 0 / 1.035 GB, free: 5.652 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001106/0.5201, allocations: 95.27 kB / 1.035 GB, free: 5.559 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.01e-07/0.5201, allocations: 0 / 1.035 GB, free: 5.559 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000743/0.5209, allocations: 47.94 kB / 1.035 GB, free: 5.512 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.001639/0.5225, allocations: 0.8167 MB / 1.036 GB, free: 4.684 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005381/0.5231, allocations: 80.44 kB / 1.036 GB, free: 4.605 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.5231, allocations: 4.125 kB / 1.036 GB, free: 4.602 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002304/0.5234, allocations: 39.97 kB / 1.036 GB, free: 4.562 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.5238, allocations: 3.953 kB / 1.036 GB, free: 4.559 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.5254, allocations: 0.8879 MB / 1.037 GB, free: 3.598 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000419/0.5259, allocations: 0.6945 MB / 1.038 GB, free: 2.879 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001012/0.526, allocations: 8.328 kB / 1.038 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.81e-05/0.5261, allocations: 19.44 kB / 1.038 GB, free: 2.855 MB / 0.6823 GB Notification: Performance of SimCode: time 1.122e-06/0.5261, allocations: 0 / 1.038 GB, free: 2.855 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0291/0.5552, allocations: 2.512 MB / 1.04 GB, free: 0.5117 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003408/0.5556, allocations: 232.7 kB / 1.041 GB, free: 280 kB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.453/3.009, allocations: 0 / 1.041 GB, free: 280 kB / 0.6823 GB