Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Office.Windows.Validation.Herkel2008WindowsSmall,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",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.267/2.267, 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.001608/0.001607, allocations: 176.2 kB / 325.5 MB, free: 2.906 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.367/2.367, allocations: 205.4 MB / 0.5764 GB, free: 21.17 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.001243/0.001243, allocations: 93.39 kB / 0.6809 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006363/0.0006362, allocations: 9.75 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2413, allocations: 106.3 MB / 0.8988 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2269/0.4683, allocations: 133.5 MB / 1.029 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003446/0.4687, allocations: 91.92 kB / 1.029 GB, free: 12.16 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.01472/0.4834, allocations: 2.978 MB / 1.032 GB, free: 9.18 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.247e-06/0.4835, allocations: 4 kB / 1.032 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.184e-05/0.4835, 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.001134/0.4847, allocations: 420.7 kB / 1.033 GB, free: 8.711 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.711e-05/0.4848, allocations: 16.02 kB / 1.033 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.846e-05/0.4849, allocations: 38.56 kB / 1.033 GB, free: 8.648 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.623e-05/0.485, allocations: 11.86 kB / 1.033 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.4852, allocations: 163.1 kB / 1.033 GB, free: 8.438 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.856e-05/0.4853, allocations: 4 kB / 1.033 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.977e-05/0.4853, allocations: 11.98 kB / 1.033 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003969/0.4857, allocations: 81.52 kB / 1.033 GB, free: 8.336 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.4858, allocations: 0 / 1.033 GB, free: 8.336 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/0.4858, allocations: 3.938 kB / 1.033 GB, free: 8.332 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.4859, allocations: 0 / 1.033 GB, free: 8.332 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003695/0.4862, allocations: 47.97 kB / 1.033 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00153/0.4878, allocations: 320.6 kB / 1.033 GB, free: 7.922 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004272/0.4883, allocations: 54.5 kB / 1.033 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.475e-05/0.4884, allocations: 4 kB / 1.033 GB, free: 7.855 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000466/0.4889, allocations: 79.5 kB / 1.033 GB, free: 7.766 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 4.729e-06/0.4889, allocations: 0 / 1.033 GB, free: 7.766 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.00111/0.49, allocations: 161.5 kB / 1.034 GB, free: 7.602 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.43e-05/0.4902, allocations: 55.41 kB / 1.034 GB, free: 7.535 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/0.4904, allocations: 109 kB / 1.034 GB, free: 7.422 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.613e-05/0.4905, allocations: 29.7 kB / 1.034 GB, free: 7.387 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.4906, allocations: 88.33 kB / 1.034 GB, free: 7.293 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.23e-05/0.4907, allocations: 15.81 kB / 1.034 GB, free: 7.277 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.675e-05/0.4907, allocations: 0 / 1.034 GB, free: 7.277 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002782/0.491, allocations: 322.8 kB / 1.034 GB, free: 6.953 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000297/0.4913, allocations: 27.98 kB / 1.034 GB, free: 6.926 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003289/0.4917, allocations: 54.55 kB / 1.034 GB, free: 6.863 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003106/0.492, allocations: 35.98 kB / 1.034 GB, free: 6.828 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.974e-06/0.4921, allocations: 0 / 1.034 GB, free: 6.828 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00082/0.4929, allocations: 117.5 kB / 1.034 GB, free: 6.707 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.128e-05/0.493, allocations: 4 kB / 1.034 GB, free: 6.703 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.493, allocations: 3.984 kB / 1.034 GB, free: 6.699 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.032e-05/0.4931, allocations: 4 kB / 1.034 GB, free: 6.695 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002628/0.4933, allocations: 16 kB / 1.034 GB, free: 6.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.986e-05/0.4934, allocations: 3.953 kB / 1.034 GB, free: 6.676 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.4936, allocations: 11.98 kB / 1.034 GB, free: 6.664 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.855e-05/0.4937, allocations: 3.938 kB / 1.034 GB, free: 6.66 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.0002195/0.4939, allocations: 117.8 kB / 1.035 GB, free: 6.535 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.796e-05/0.494, allocations: 7.906 kB / 1.035 GB, free: 6.527 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.567e-05/0.4941, allocations: 12.36 kB / 1.035 GB, free: 6.516 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.4941, allocations: 4 kB / 1.035 GB, free: 6.512 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.4941, allocations: 0 / 1.035 GB, free: 6.512 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.4941, allocations: 3.953 kB / 1.035 GB, free: 6.508 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/0.4952, allocations: 382.5 kB / 1.035 GB, free: 6.078 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/0.4953, allocations: 0 / 1.035 GB, free: 6.078 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.4954, allocations: 4 kB / 1.035 GB, free: 6.074 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.4954, allocations: 4 kB / 1.035 GB, free: 6.07 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.434e-05/0.4955, allocations: 0 / 1.035 GB, free: 6.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.18e-05/0.4955, allocations: 7.938 kB / 1.035 GB, free: 6.062 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.4955, allocations: 7.938 kB / 1.035 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007101/0.4962, allocations: 215.3 kB / 1.035 GB, free: 5.828 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.923e-05/0.4964, allocations: 92.95 kB / 1.035 GB, free: 5.719 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.734e-05/0.4964, allocations: 0 / 1.035 GB, free: 5.719 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002461/0.4967, allocations: 11.98 kB / 1.035 GB, free: 5.707 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.404e-05/0.4968, allocations: 7.953 kB / 1.035 GB, free: 5.699 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/0.4968, allocations: 3.984 kB / 1.035 GB, free: 5.695 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001215/0.4969, allocations: 99.27 kB / 1.035 GB, free: 5.598 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.91e-07/0.497, allocations: 0 / 1.035 GB, free: 5.598 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007732/0.4978, allocations: 39.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.001759/0.4996, allocations: 0.8327 MB / 1.036 GB, free: 4.719 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005874/0.5002, allocations: 67.95 kB / 1.036 GB, free: 4.652 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.5002, allocations: 0 / 1.036 GB, free: 4.652 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002798/0.5005, allocations: 47.91 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.0003606/0.5009, allocations: 12.02 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.001549/0.5025, allocations: 0.7283 MB / 1.037 GB, free: 3.797 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004097/0.5029, allocations: 0.6887 MB / 1.038 GB, free: 3.082 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001021/0.5031, allocations: 4.188 kB / 1.038 GB, free: 3.078 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.5032, allocations: 23.42 kB / 1.038 GB, free: 3.059 MB / 0.6823 GB Notification: Performance of SimCode: time 1.633e-06/0.5032, allocations: 3.938 kB / 1.038 GB, free: 3.055 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02694/0.5302, allocations: 2.493 MB / 1.04 GB, free: 0.7305 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003165/0.5306, allocations: 241.4 kB / 1.04 GB, free: 500 kB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.561/3.091, allocations: 0 / 1.04 GB, free: 500 kB / 0.6823 GB