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.166/2.166, allocations: 248.5 MB / 261.1 MB, free: 6.074 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.001413/0.001413, allocations: 180.8 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.091/2.091, allocations: 205.1 MB / 0.571 GB, free: 11.79 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.001104/0.001104, allocations: 94.42 kB / 0.6754 GB, free: 0.875 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.488e-05/5.505e-05, allocations: 11.97 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2171, allocations: 106.2 MB / 0.8907 GB, free: 7.453 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8767/1.094, allocations: 133.5 MB / 1.021 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003241/1.094, allocations: 80.95 kB / 1.021 GB, free: 1.754 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.01447/1.109, allocations: 2.993 MB / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.724e-06/1.109, allocations: 0 / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.235e-06/1.109, allocations: 4 kB / 1.024 GB, free: 15.19 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.0007354/1.11, allocations: 411.5 kB / 1.024 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/1.11, allocations: 8.031 kB / 1.024 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.196e-05/1.11, allocations: 38.25 kB / 1.024 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.687e-05/1.11, allocations: 11.86 kB / 1.024 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/1.11, allocations: 170.9 kB / 1.025 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.552e-05/1.11, allocations: 11.98 kB / 1.025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/1.11, allocations: 7.5 kB / 1.025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/1.11, allocations: 56.86 kB / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/1.11, allocations: 0 / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.023e-05/1.11, allocations: 0 / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/1.11, allocations: 0 / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.76e-05/1.11, allocations: 21.94 kB / 1.025 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008581/1.111, allocations: 319.6 kB / 1.025 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/1.111, allocations: 44.75 kB / 1.025 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.959e-05/1.112, allocations: 23.3 kB / 1.025 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/1.112, allocations: 4.062 kB / 1.025 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001819/1.112, allocations: 73.77 kB / 1.025 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 2.445e-06/1.112, allocations: 0 / 1.025 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0003554/1.112, allocations: 103 kB / 1.025 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/1.112, allocations: 55.41 kB / 1.025 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/1.112, allocations: 111.9 kB / 1.025 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.179e-05/1.112, allocations: 25.7 kB / 1.025 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.138e-05/1.113, allocations: 91.52 kB / 1.026 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.672e-05/1.113, allocations: 23.72 kB / 1.026 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.765e-05/1.113, allocations: 3.062 kB / 1.026 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001375/1.113, allocations: 322.2 kB / 1.026 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.302e-05/1.113, allocations: 22.73 kB / 1.026 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/1.113, allocations: 40.05 kB / 1.026 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.729e-05/1.113, allocations: 22.61 kB / 1.026 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/1.113, allocations: 0 / 1.026 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002642/1.113, allocations: 105.5 kB / 1.026 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/1.113, allocations: 8 kB / 1.026 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/1.113, allocations: 0 / 1.026 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/1.113, allocations: 0 / 1.026 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/1.114, allocations: 15.95 kB / 1.026 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/1.114, allocations: 3.984 kB / 1.026 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/1.114, allocations: 11.66 kB / 1.026 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/1.114, allocations: 4 kB / 1.026 GB, free: 12.98 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.0001122/1.114, allocations: 112.2 kB / 1.026 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.317e-05/1.114, allocations: 4 kB / 1.026 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.503e-05/1.114, allocations: 12.36 kB / 1.026 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/1.114, allocations: 3.938 kB / 1.026 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/1.114, allocations: 3.953 kB / 1.026 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/1.114, allocations: 3.984 kB / 1.026 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000605/1.115, allocations: 367.7 kB / 1.027 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/1.115, allocations: 0.875 kB / 1.027 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.783e-05/1.115, allocations: 10.88 kB / 1.027 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/1.115, allocations: 0 / 1.027 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/1.115, allocations: 3.953 kB / 1.027 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/1.115, allocations: 4 kB / 1.027 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/1.115, allocations: 7.922 kB / 1.027 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003073/1.115, allocations: 192.9 kB / 1.027 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.837e-05/1.115, allocations: 85.02 kB / 1.027 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/1.115, allocations: 0 / 1.027 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/1.115, allocations: 15.94 kB / 1.027 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.817e-05/1.115, allocations: 7.938 kB / 1.027 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/1.115, allocations: 3.984 kB / 1.027 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.975e-05/1.116, allocations: 93.28 kB / 1.027 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.41e-07/1.116, allocations: 0 / 1.027 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004596/1.116, allocations: 50.92 kB / 1.027 GB, free: 11.99 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.001123/1.117, allocations: 0.7997 MB / 1.028 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002668/1.117, allocations: 57.67 kB / 1.028 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.117, allocations: 3.938 kB / 1.028 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/1.118, allocations: 26.88 kB / 1.028 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/1.118, allocations: 16.81 kB / 1.028 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007493/1.119, allocations: 151.9 kB / 1.028 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/1.119, allocations: 0.6965 MB / 1.029 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.406e-05/1.119, allocations: 4.188 kB / 1.029 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.865e-05/1.119, allocations: 16.67 kB / 1.029 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of SimCode: time 1.392e-06/1.119, allocations: 0 / 1.029 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02697/1.146, allocations: 2.517 MB / 1.031 GB, free: 7.855 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003816/1.147, allocations: 219.9 kB / 1.031 GB, free: 7.629 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.404/3.551, allocations: 0 / 1.031 GB, free: 7.629 MB / 0.6511 GB