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.269/2.269, allocations: 248.7 MB / 256.2 MB, free: 7.051 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.001446/0.001446, allocations: 176.1 kB / 315.4 MB, free: 4.012 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.074/2.074, allocations: 205.3 MB / 0.5662 GB, free: 0.5391 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001083/0.001083, allocations: 90.22 kB / 0.6704 GB, free: 5.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.503e-05/2.514e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2075, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8968/1.104, allocations: 133.7 MB / 1.015 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003275/1.105, allocations: 83.56 kB / 1.015 GB, free: 5.336 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.0196/1.124, allocations: 2.969 MB / 1.018 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.654e-06/1.124, allocations: 1.031 kB / 1.018 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.424e-06/1.124, allocations: 0 / 1.018 GB, free: 2.82 MB / 0.6355 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.0007225/1.125, allocations: 418.9 kB / 1.018 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/1.125, allocations: 8.031 kB / 1.018 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.556e-05/1.125, allocations: 11.86 kB / 1.018 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/1.125, allocations: 170.9 kB / 1.018 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.666e-05/1.126, allocations: 4 kB / 1.018 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.842e-05/1.126, allocations: 4 kB / 1.018 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001159/1.126, allocations: 22.86 kB / 1.018 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/1.126, allocations: 55.3 kB / 1.018 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/1.126, allocations: 0 / 1.018 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/1.126, allocations: 7.938 kB / 1.018 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/1.126, allocations: 0 / 1.018 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008312/1.127, allocations: 292.3 kB / 1.019 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/1.127, allocations: 36.02 kB / 1.019 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/1.127, allocations: 27.42 kB / 1.019 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.067e-05/1.127, allocations: 4.062 kB / 1.019 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001633/1.127, allocations: 66.14 kB / 1.019 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.254e-06/1.127, allocations: 0 / 1.019 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003633/1.128, allocations: 92.39 kB / 1.019 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/1.128, allocations: 62.55 kB / 1.019 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/1.128, allocations: 113.2 kB / 1.019 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/1.128, allocations: 33.7 kB / 1.019 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.459e-05/1.128, allocations: 90.69 kB / 1.019 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/1.128, allocations: 15.75 kB / 1.019 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.817e-06/1.128, allocations: 0 / 1.019 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001441/1.128, allocations: 322.1 kB / 1.019 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.136e-05/1.128, allocations: 18.69 kB / 1.019 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.117e-05/1.128, allocations: 36.7 kB / 1.019 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.88e-05/1.128, allocations: 27.23 kB / 1.019 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/1.128, allocations: 0 / 1.019 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002569/1.129, allocations: 92.75 kB / 1.02 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/1.129, allocations: 8 kB / 1.02 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/1.129, allocations: 0 / 1.02 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/1.129, allocations: 0 / 1.02 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/1.129, allocations: 11.98 kB / 1.02 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/1.129, allocations: 4.156 kB / 1.02 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/1.129, allocations: 15.92 kB / 1.02 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.354e-05/1.129, allocations: 15.67 kB / 1.02 GB, free: 0.6953 MB / 0.6355 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.0001082/1.129, allocations: 105 kB / 1.02 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000246/1.13, allocations: 87.67 kB / 1.02 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/1.13, allocations: 15.89 kB / 1.02 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.387e-05/1.13, allocations: 8.625 kB / 1.02 GB, free: 496 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/1.13, allocations: 0 / 1.02 GB, free: 496 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/1.13, allocations: 7.953 kB / 1.02 GB, free: 488 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/1.13, allocations: 0 / 1.02 GB, free: 488 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005047/1.13, allocations: 331.9 kB / 1.02 GB, free: 140 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/1.13, allocations: 0 / 1.02 GB, free: 140 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.108e-05/1.13, allocations: 11.55 kB / 1.02 GB, free: 132 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.078e-06/1.13, allocations: 4 kB / 1.02 GB, free: 128 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/1.13, allocations: 0 / 1.02 GB, free: 128 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/1.13, allocations: 3.953 kB / 1.02 GB, free: 124 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/1.13, allocations: 0 / 1.02 GB, free: 124 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003228/1.131, allocations: 201.2 kB / 1.02 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.781e-05/1.131, allocations: 89 kB / 1.02 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/1.131, allocations: 0 / 1.02 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/1.131, allocations: 4 kB / 1.02 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.988e-05/1.131, allocations: 11.94 kB / 1.02 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/1.131, allocations: 3.688 kB / 1.02 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.362e-05/1.131, allocations: 94.77 kB / 1.021 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.81e-07/1.131, allocations: 4 kB / 1.021 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004846/1.132, allocations: 43.94 kB / 1.021 GB, free: 15.67 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.001031/1.133, allocations: 0.7982 MB / 1.021 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000222/1.133, allocations: 50.05 kB / 1.021 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/1.133, allocations: 4 kB / 1.021 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.707e-05/1.133, allocations: 23.78 kB / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/1.133, allocations: 7.953 kB / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006903/1.134, allocations: 147.7 kB / 1.022 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/1.134, allocations: 0.6925 MB / 1.022 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.842e-05/1.135, allocations: 8.328 kB / 1.022 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.775e-05/1.135, allocations: 18.62 kB / 1.022 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of SimCode: time 1.001e-06/1.135, allocations: 0 / 1.022 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04053/1.175, allocations: 2.197 MB / 1.024 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003426/1.176, allocations: 190.6 kB / 1.025 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.403/3.578, allocations: 0 / 1.025 GB, free: 11.53 MB / 0.6511 GB