Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",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: 248.5 MB / 261 MB, free: 6.105 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.001484/0.001484, allocations: 174.6 kB / 320.4 MB, free: 15.34 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.034/2.034, allocations: 205.2 MB / 0.571 GB, free: 11.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.001136/0.001136, allocations: 96.45 kB / 0.6754 GB, free: 0.9062 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.801e-05/3.804e-05, allocations: 4 kB / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2157, allocations: 106.2 MB / 0.8907 GB, free: 7.469 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8875/1.103, allocations: 133.5 MB / 1.021 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003162/1.104, allocations: 79.77 kB / 1.021 GB, free: 1.789 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.01461/1.118, allocations: 2.983 MB / 1.024 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.244e-06/1.118, allocations: 0 / 1.024 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.218e-05/1.118, allocations: 4 kB / 1.024 GB, free: 15.22 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006892/1.119, allocations: 414.4 kB / 1.024 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/1.119, allocations: 12.03 kB / 1.024 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.788e-05/1.119, allocations: 33.75 kB / 1.024 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.491e-05/1.119, allocations: 11.86 kB / 1.024 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/1.119, allocations: 178.9 kB / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.023e-05/1.119, allocations: 4 kB / 1.025 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/1.119, allocations: 5.875 kB / 1.025 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/1.12, allocations: 54.92 kB / 1.025 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/1.12, allocations: 0 / 1.025 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/1.12, allocations: 7.938 kB / 1.025 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/1.12, allocations: 4 kB / 1.025 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.576e-05/1.12, allocations: 22.06 kB / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000834/1.121, allocations: 321.9 kB / 1.025 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/1.121, allocations: 45.95 kB / 1.025 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.635e-05/1.121, allocations: 24.05 kB / 1.025 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/1.121, allocations: 0 / 1.025 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001665/1.121, allocations: 70.45 kB / 1.025 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 2.073e-06/1.121, allocations: 0 / 1.025 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0003363/1.121, allocations: 103.7 kB / 1.025 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/1.122, allocations: 51.41 kB / 1.025 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/1.122, allocations: 116.3 kB / 1.025 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/1.122, allocations: 25.7 kB / 1.025 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.812e-05/1.122, allocations: 95.56 kB / 1.026 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/1.122, allocations: 19.81 kB / 1.026 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.258e-05/1.122, allocations: 2.5 kB / 1.026 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001349/1.122, allocations: 317.6 kB / 1.026 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.333e-05/1.122, allocations: 21.81 kB / 1.026 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.249e-05/1.122, allocations: 40.88 kB / 1.026 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.987e-05/1.122, allocations: 26.55 kB / 1.026 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/1.122, allocations: 0 / 1.026 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002537/1.123, allocations: 98.77 kB / 1.026 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/1.123, allocations: 8 kB / 1.026 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/1.123, allocations: 0 / 1.026 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/1.123, allocations: 0 / 1.026 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/1.123, allocations: 19.88 kB / 1.026 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/1.123, allocations: 8.219 kB / 1.026 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/1.123, allocations: 7.906 kB / 1.026 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/1.123, allocations: 11.86 kB / 1.026 GB, free: 13 MB / 0.6511 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.0001024/1.123, allocations: 105 kB / 1.026 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/1.123, allocations: 7.984 kB / 1.026 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.183e-05/1.123, allocations: 7.688 kB / 1.026 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/1.123, allocations: 0 / 1.026 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.168e-06/1.123, allocations: 3.953 kB / 1.026 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/1.123, allocations: 4 kB / 1.026 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005802/1.124, allocations: 370.6 kB / 1.027 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/1.124, allocations: 0 / 1.027 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.637e-05/1.124, allocations: 4 kB / 1.027 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/1.124, allocations: 0 / 1.027 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.457e-05/1.124, allocations: 11.88 kB / 1.027 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/1.124, allocations: 0 / 1.027 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/1.124, allocations: 4 kB / 1.027 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003127/1.124, allocations: 193.4 kB / 1.027 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.686e-05/1.124, allocations: 89 kB / 1.027 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.854e-05/1.124, allocations: 3.984 kB / 1.027 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/1.125, allocations: 11.52 kB / 1.027 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.296e-05/1.125, allocations: 15.97 kB / 1.027 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/1.125, allocations: 0 / 1.027 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.848e-05/1.125, allocations: 99.25 kB / 1.027 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.41e-07/1.125, allocations: 4 kB / 1.027 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004475/1.125, allocations: 51.73 kB / 1.027 GB, free: 12 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.001009/1.126, allocations: 0.7871 MB / 1.028 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002458/1.127, allocations: 57.48 kB / 1.028 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.127, allocations: 0 / 1.028 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001034/1.127, allocations: 26.38 kB / 1.028 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/1.127, allocations: 12.69 kB / 1.028 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006561/1.128, allocations: 153.4 kB / 1.028 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/1.128, allocations: 0.6927 MB / 1.029 GB, free: 10.26 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.923e-05/1.128, allocations: 8.734 kB / 1.029 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.611e-05/1.128, allocations: 25.73 kB / 1.029 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of SimCode: time 1.272e-06/1.128, allocations: 0 / 1.029 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02707/1.155, allocations: 2.515 MB / 1.031 GB, free: 7.871 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003486/1.156, allocations: 212.2 kB / 1.031 GB, free: 7.648 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.429/3.585, allocations: 4 kB / 1.031 GB, free: 7.645 MB / 0.6511 GB