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.182/2.182, allocations: 251 MB / 265.9 MB, free: 11.7 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001612/0.001612, allocations: 179.8 kB / 325.5 MB, free: 2.902 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.372/2.372, allocations: 205.4 MB / 0.5764 GB, free: 21.18 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.001207/0.001207, allocations: 107.8 kB / 0.6809 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006646/0.0006648, allocations: 12.66 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2499, allocations: 106.3 MB / 0.8988 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2579/0.5078, allocations: 133.5 MB / 1.029 GB, free: 12.26 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003484/0.5082, allocations: 91.92 kB / 1.029 GB, free: 12.17 MB / 0.6823 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.01449/0.5227, allocations: 2.99 MB / 1.032 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.214e-06/0.5228, allocations: 0 / 1.032 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.5228, allocations: 0 / 1.032 GB, free: 9.176 MB / 0.6823 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.0007932/0.5236, allocations: 428.7 kB / 1.033 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.5237, allocations: 12.03 kB / 1.033 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.077e-05/0.5237, allocations: 34.56 kB / 1.033 GB, free: 8.648 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.597e-05/0.5238, allocations: 11.86 kB / 1.033 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.5239, allocations: 167.1 kB / 1.033 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.956e-05/0.524, allocations: 4 kB / 1.033 GB, free: 8.43 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.225e-05/0.524, allocations: 11.97 kB / 1.033 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000275/0.5243, allocations: 77.53 kB / 1.033 GB, free: 8.336 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.5243, allocations: 0 / 1.033 GB, free: 8.336 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.5244, allocations: 4 kB / 1.033 GB, free: 8.332 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.5244, allocations: 0 / 1.033 GB, free: 8.332 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002347/0.5246, allocations: 43.97 kB / 1.033 GB, free: 8.289 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009047/0.5255, allocations: 324.6 kB / 1.033 GB, free: 7.922 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001957/0.5258, allocations: 54.5 kB / 1.033 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.5258, allocations: 0 / 1.033 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002975/0.5261, allocations: 87.56 kB / 1.033 GB, free: 7.762 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.715e-06/0.5261, allocations: 0 / 1.033 GB, free: 7.762 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0006575/0.5268, allocations: 149.5 kB / 1.034 GB, free: 7.609 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.368e-05/0.5269, allocations: 55.34 kB / 1.034 GB, free: 7.543 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.527, allocations: 113 kB / 1.034 GB, free: 7.426 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.191e-05/0.5271, allocations: 37.7 kB / 1.034 GB, free: 7.383 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.442e-05/0.5271, allocations: 84.33 kB / 1.034 GB, free: 7.293 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.5272, allocations: 15.81 kB / 1.034 GB, free: 7.277 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.005e-05/0.5272, allocations: 3.938 kB / 1.034 GB, free: 7.273 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.5274, allocations: 322.8 kB / 1.034 GB, free: 6.949 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.5275, allocations: 23.98 kB / 1.034 GB, free: 6.926 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001609/0.5277, allocations: 54.55 kB / 1.034 GB, free: 6.863 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.5279, allocations: 39.97 kB / 1.034 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.5279, allocations: 0 / 1.034 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004072/0.5283, allocations: 113.5 kB / 1.034 GB, free: 6.707 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.5283, allocations: 7.984 kB / 1.034 GB, free: 6.699 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.729e-06/0.5283, allocations: 4 kB / 1.034 GB, free: 6.695 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.5284, allocations: 0 / 1.034 GB, free: 6.695 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.5285, allocations: 15.94 kB / 1.034 GB, free: 6.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.5286, allocations: 11.89 kB / 1.034 GB, free: 6.668 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.5287, allocations: 7.984 kB / 1.034 GB, free: 6.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.5287, allocations: 4 kB / 1.034 GB, free: 6.656 MB / 0.6823 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 () * Number of clocked 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.0001478/0.5289, allocations: 117.9 kB / 1.035 GB, free: 6.531 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.899e-05/0.5289, allocations: 7.906 kB / 1.035 GB, free: 6.523 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.95e-05/0.529, allocations: 12.36 kB / 1.035 GB, free: 6.512 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.529, allocations: 0 / 1.035 GB, free: 6.512 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.529, allocations: 0 / 1.035 GB, free: 6.512 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.986e-06/0.529, allocations: 7.953 kB / 1.035 GB, free: 6.504 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00072/0.5297, allocations: 386.5 kB / 1.035 GB, free: 6.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.5298, allocations: 0 / 1.035 GB, free: 6.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.403e-05/0.5298, allocations: 4 kB / 1.035 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.5299, allocations: 0 / 1.035 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/0.5299, allocations: 7.984 kB / 1.035 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.5299, allocations: 3.953 kB / 1.035 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5299, allocations: 0 / 1.035 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004634/0.5304, allocations: 219.4 kB / 1.035 GB, free: 5.824 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.514e-05/0.5304, allocations: 84.95 kB / 1.035 GB, free: 5.723 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.664e-05/0.5305, allocations: 0 / 1.035 GB, free: 5.723 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.5306, allocations: 7.984 kB / 1.035 GB, free: 5.715 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.535e-05/0.5307, allocations: 7.953 kB / 1.035 GB, free: 5.707 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.5307, allocations: 7.984 kB / 1.035 GB, free: 5.699 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.477e-05/0.5308, allocations: 95.27 kB / 1.035 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.41e-07/0.5308, allocations: 0 / 1.035 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004707/0.5313, allocations: 47.94 kB / 1.035 GB, free: 5.559 MB / 0.6823 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 () * Number of clocked 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.001235/0.5326, allocations: 0.8382 MB / 1.036 GB, free: 4.715 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004345/0.533, allocations: 71.95 kB / 1.036 GB, free: 4.645 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.533, allocations: 4.125 kB / 1.036 GB, free: 4.641 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001679/0.5332, allocations: 35.92 kB / 1.036 GB, free: 4.605 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.5335, allocations: 11.95 kB / 1.036 GB, free: 4.594 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.5346, allocations: 0.7341 MB / 1.037 GB, free: 3.793 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.5349, allocations: 0.6887 MB / 1.038 GB, free: 3.078 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.892e-05/0.535, allocations: 8.188 kB / 1.038 GB, free: 3.07 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.402e-05/0.5351, allocations: 29.86 kB / 1.038 GB, free: 3.047 MB / 0.6823 GB Notification: Performance of SimCode: time 1.463e-06/0.5351, allocations: 0 / 1.038 GB, free: 3.047 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02188/0.557, allocations: 2.502 MB / 1.04 GB, free: 0.7227 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003493/0.5574, allocations: 244.2 kB / 1.04 GB, free: 408 kB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.597/3.155, allocations: 0.625 kB / 1.04 GB, free: 408 kB / 0.6823 GB