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.456/2.456, allocations: 248.5 MB / 261 MB, free: 6.027 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.002691/0.002691, allocations: 178.8 kB / 320.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.063/2.063, allocations: 205.2 MB / 0.571 GB, free: 11.82 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.001088/0.001087, allocations: 90.48 kB / 0.6754 GB, free: 0.9141 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.337e-05/3.355e-05, allocations: 4 kB / 0.7869 GB, free: 97.83 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2035, allocations: 106.2 MB / 0.8907 GB, free: 7.488 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8678/1.071, allocations: 133.8 MB / 1.021 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003223/1.072, allocations: 77.14 kB / 1.021 GB, free: 1.402 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.01614/1.088, allocations: 3.231 MB / 1.025 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.853e-06/1.088, allocations: 0 / 1.025 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.273e-06/1.088, allocations: 0 / 1.025 GB, free: 14.63 MB / 0.6511 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.0007572/1.089, allocations: 452.2 kB / 1.025 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/1.089, allocations: 12.03 kB / 1.025 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.232e-05/1.089, allocations: 34.55 kB / 1.025 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.877e-05/1.089, allocations: 11.86 kB / 1.025 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/1.089, allocations: 163.1 kB / 1.025 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.44e-05/1.089, allocations: 7.375 kB / 1.025 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.925e-05/1.089, allocations: 4 kB / 1.025 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002254/1.089, allocations: 87.39 kB / 1.025 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.619e-06/1.089, allocations: 0 / 1.025 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/1.089, allocations: 7.312 kB / 1.025 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.922e-06/1.089, allocations: 0 / 1.025 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/1.09, allocations: 26.12 kB / 1.025 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/1.091, allocations: 353.5 kB / 1.026 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/1.091, allocations: 53.34 kB / 1.026 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.884e-05/1.091, allocations: 31.92 kB / 1.026 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/1.091, allocations: 4 kB / 1.026 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002171/1.091, allocations: 85.59 kB / 1.026 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=8): time 2.775e-06/1.091, allocations: 0 / 1.026 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.0004399/1.092, allocations: 142.7 kB / 1.026 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/1.092, allocations: 55.39 kB / 1.026 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/1.092, allocations: 124.2 kB / 1.026 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/1.092, allocations: 33.45 kB / 1.026 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.021e-05/1.092, allocations: 87.56 kB / 1.026 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.056e-05/1.092, allocations: 19 kB / 1.026 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.959e-06/1.092, allocations: 0 / 1.026 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001361/1.092, allocations: 322.4 kB / 1.027 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/1.092, allocations: 26.12 kB / 1.027 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/1.093, allocations: 61.16 kB / 1.027 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/1.093, allocations: 26.73 kB / 1.027 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/1.093, allocations: 0 / 1.027 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003217/1.093, allocations: 117.2 kB / 1.027 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/1.093, allocations: 4 kB / 1.027 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/1.093, allocations: 0 / 1.027 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/1.093, allocations: 4 kB / 1.027 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002214/1.093, allocations: 27.81 kB / 1.027 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/1.093, allocations: 0 / 1.027 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/1.094, allocations: 19.64 kB / 1.027 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/1.094, allocations: 4 kB / 1.027 GB, free: 12.23 MB / 0.6511 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 () * 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.0001412/1.094, allocations: 115 kB / 1.027 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/1.094, allocations: 4 kB / 1.027 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.01e-05/1.094, allocations: 12.03 kB / 1.027 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/1.094, allocations: 3.984 kB / 1.027 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.086e-06/1.094, allocations: 3.953 kB / 1.027 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/1.094, allocations: 4 kB / 1.027 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007112/1.095, allocations: 407 kB / 1.027 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/1.095, allocations: 0 / 1.027 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.328e-05/1.095, allocations: 11.98 kB / 1.027 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.348e-06/1.095, allocations: 4 kB / 1.027 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.519e-05/1.095, allocations: 7.203 kB / 1.027 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/1.095, allocations: 0 / 1.027 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.095, allocations: 64 / 1.027 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004261/1.095, allocations: 233.2 kB / 1.028 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.681e-05/1.095, allocations: 81.02 kB / 1.028 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.809e-05/1.095, allocations: 8 kB / 1.028 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/1.096, allocations: 11.94 kB / 1.028 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.743e-05/1.096, allocations: 7.984 kB / 1.028 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/1.096, allocations: 3.938 kB / 1.028 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.223e-05/1.096, allocations: 95.02 kB / 1.028 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/1.096, allocations: 0 / 1.028 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004726/1.096, allocations: 51.12 kB / 1.028 GB, free: 11.19 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * 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.001109/1.097, allocations: 0.8178 MB / 1.029 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002812/1.098, allocations: 73.05 kB / 1.029 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/1.098, allocations: 192 / 1.029 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001246/1.098, allocations: 36.75 kB / 1.029 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/1.098, allocations: 28.11 kB / 1.029 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007423/1.099, allocations: 180.7 kB / 1.029 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004401/1.099, allocations: 0.6926 MB / 1.03 GB, free: 9.379 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.533e-05/1.099, allocations: 8 kB / 1.03 GB, free: 9.371 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.034e-05/1.099, allocations: 29.17 kB / 1.03 GB, free: 9.352 MB / 0.6511 GB Notification: Performance of SimCode: time 1.193e-06/1.099, allocations: 0 / 1.03 GB, free: 9.352 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02832/1.128, allocations: 2.846 MB / 1.032 GB, free: 6.652 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003714/1.128, allocations: 198.8 kB / 1.033 GB, free: 6.434 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.409/3.537, allocations: 0 / 1.033 GB, free: 6.434 MB / 0.6511 GB