Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.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.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan",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.223/2.223, allocations: 248.7 MB / 256.2 MB, free: 7.031 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.001466/0.001466, allocations: 175.6 kB / 315.4 MB, free: 4.043 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.093/2.093, allocations: 205.3 MB / 0.5662 GB, free: 0.5781 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.001172/0.001172, allocations: 82.53 kB / 0.6704 GB, free: 5.793 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.938e-05/1.936e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2037, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8731/1.077, allocations: 133.7 MB / 1.015 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003148/1.077, allocations: 82.52 kB / 1.015 GB, free: 5.039 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.01418/1.091, allocations: 2.969 MB / 1.018 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.078e-06/1.092, allocations: 0 / 1.018 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.625e-06/1.092, allocations: 5.062 kB / 1.018 GB, free: 2.527 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.0006946/1.092, allocations: 411.7 kB / 1.018 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.285e-05/1.092, allocations: 12.03 kB / 1.018 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.624e-05/1.092, allocations: 11.86 kB / 1.018 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/1.093, allocations: 163 kB / 1.018 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.345e-05/1.093, allocations: 7.984 kB / 1.018 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.854e-05/1.093, allocations: 8 kB / 1.018 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000109/1.093, allocations: 23.8 kB / 1.018 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/1.093, allocations: 57.92 kB / 1.018 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/1.093, allocations: 0 / 1.018 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/1.093, allocations: 0 / 1.018 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/1.093, allocations: 4 kB / 1.018 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007987/1.094, allocations: 296.4 kB / 1.019 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/1.094, allocations: 34.27 kB / 1.019 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.659e-05/1.094, allocations: 22.73 kB / 1.019 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/1.094, allocations: 3.984 kB / 1.019 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001636/1.094, allocations: 71.78 kB / 1.019 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.114e-06/1.094, allocations: 4 kB / 1.019 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003542/1.095, allocations: 100.2 kB / 1.019 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/1.095, allocations: 63.34 kB / 1.019 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/1.095, allocations: 107.6 kB / 1.019 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/1.095, allocations: 25.7 kB / 1.019 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.771e-05/1.095, allocations: 95.94 kB / 1.019 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/1.095, allocations: 11.75 kB / 1.019 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.506e-06/1.095, allocations: 0 / 1.019 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001282/1.095, allocations: 321.9 kB / 1.019 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.984e-05/1.095, allocations: 22.12 kB / 1.019 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.432e-05/1.095, allocations: 34.95 kB / 1.019 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.881e-05/1.095, allocations: 26.36 kB / 1.02 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/1.095, allocations: 0 / 1.02 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00025/1.096, allocations: 86.52 kB / 1.02 GB, free: 472 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/1.096, allocations: 11.94 kB / 1.02 GB, free: 460 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/1.096, allocations: 4.062 kB / 1.02 GB, free: 456 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/1.096, allocations: 0 / 1.02 GB, free: 456 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/1.096, allocations: 18.42 kB / 1.02 GB, free: 440 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/1.096, allocations: 0 / 1.02 GB, free: 440 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/1.096, allocations: 11.86 kB / 1.02 GB, free: 428 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/1.096, allocations: 4 kB / 1.02 GB, free: 424 kB / 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 9.61e-05/1.096, allocations: 112.2 kB / 1.02 GB, free: 308 kB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002686/1.096, allocations: 99.59 kB / 1.02 GB, free: 216 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/1.097, allocations: 3.906 kB / 1.02 GB, free: 212 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.296e-05/1.097, allocations: 12.25 kB / 1.02 GB, free: 200 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/1.097, allocations: 0 / 1.02 GB, free: 200 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/1.097, allocations: 3.953 kB / 1.02 GB, free: 196 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/1.097, allocations: 0 / 1.02 GB, free: 196 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005168/1.097, allocations: 333.8 kB / 1.02 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/1.097, allocations: 4 kB / 1.02 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.437e-05/1.097, allocations: 7.938 kB / 1.02 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/1.097, allocations: 4 kB / 1.02 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/1.097, allocations: 0 / 1.02 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.346e-06/1.097, allocations: 8.812 kB / 1.02 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/1.097, allocations: 0 / 1.02 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002971/1.098, allocations: 190.2 kB / 1.02 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.288e-05/1.098, allocations: 85.02 kB / 1.02 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/1.098, allocations: 3.938 kB / 1.02 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/1.098, allocations: 11.98 kB / 1.02 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.54e-05/1.098, allocations: 11.89 kB / 1.021 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/1.098, allocations: 7.984 kB / 1.021 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.748e-05/1.098, allocations: 91.16 kB / 1.021 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.21e-07/1.098, allocations: 0 / 1.021 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004671/1.099, allocations: 47.94 kB / 1.021 GB, free: 15.38 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.0009928/1.1, allocations: 0.7956 MB / 1.021 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002272/1.1, allocations: 56.66 kB / 1.021 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.1, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.551e-05/1.1, allocations: 25.5 kB / 1.022 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/1.1, allocations: 8.078 kB / 1.022 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006661/1.101, allocations: 151.4 kB / 1.022 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/1.101, allocations: 0.6924 MB / 1.022 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.134e-05/1.101, allocations: 8.172 kB / 1.022 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.137e-05/1.101, allocations: 14.25 kB / 1.022 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of SimCode: time 1.162e-06/1.101, allocations: 0 / 1.022 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03876/1.14, allocations: 2.193 MB / 1.024 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003897/1.141, allocations: 205.9 kB / 1.025 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.431/3.571, allocations: 0 / 1.025 GB, free: 11.17 MB / 0.6511 GB