Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.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.BaseClasses.Validation.BinaryVariableGeneration,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration",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.382/2.382, allocations: 248.7 MB / 256.2 MB, free: 7.152 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.001535/0.001535, allocations: 185.5 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.164/2.164, allocations: 205.3 MB / 0.5662 GB, free: 0.5547 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.001085/0.001085, allocations: 86.53 kB / 0.6704 GB, free: 5.762 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.602e-05/3.63e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2322, allocations: 106.3 MB / 0.8841 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8843/1.117, allocations: 131.8 MB / 1.013 GB, free: 7.043 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002989/1.117, allocations: 77.83 kB / 1.013 GB, free: 7 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.01011/1.127, allocations: 2.024 MB / 1.015 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.753e-06/1.127, allocations: 0 / 1.015 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.154e-06/1.127, allocations: 4 kB / 1.015 GB, free: 5.266 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005431/1.128, allocations: 371.5 kB / 1.015 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/1.128, allocations: 8.031 kB / 1.015 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.202e-05/1.128, allocations: 0 / 1.015 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/1.128, allocations: 171 kB / 1.015 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/1.128, allocations: 0 / 1.015 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/1.128, allocations: 0 / 1.015 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.154e-05/1.128, allocations: 4 kB / 1.015 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.327e-05/1.128, allocations: 48.92 kB / 1.015 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/1.128, allocations: 3.984 kB / 1.015 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/1.128, allocations: 0 / 1.015 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/1.128, allocations: 0 / 1.015 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001916/1.128, allocations: 134.2 kB / 1.016 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.133e-05/1.128, allocations: 25.7 kB / 1.016 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.172e-05/1.129, allocations: 11.48 kB / 1.016 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/1.129, allocations: 4 kB / 1.016 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001468/1.129, allocations: 54.34 kB / 1.016 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.883e-06/1.129, allocations: 0 / 1.016 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002593/1.129, allocations: 61.45 kB / 1.016 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/1.129, allocations: 59.34 kB / 1.016 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.819e-05/1.129, allocations: 85 kB / 1.016 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/1.129, allocations: 29.83 kB / 1.016 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.935e-05/1.129, allocations: 84.14 kB / 1.016 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/1.129, allocations: 7.406 kB / 1.016 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-06/1.129, allocations: 0 / 1.016 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001597/1.129, allocations: 315.9 kB / 1.016 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.214e-05/1.129, allocations: 7.375 kB / 1.016 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.725e-05/1.13, allocations: 30.75 kB / 1.016 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.033e-05/1.13, allocations: 15.94 kB / 1.016 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/1.13, allocations: 4 kB / 1.016 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001373/1.13, allocations: 56.75 kB / 1.016 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/1.13, allocations: 4 kB / 1.016 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/1.13, allocations: 3.938 kB / 1.016 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/1.13, allocations: 4 kB / 1.016 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.366e-05/1.13, allocations: 6.875 kB / 1.016 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/1.13, allocations: 4.094 kB / 1.016 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.392e-05/1.13, allocations: 7.938 kB / 1.016 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/1.13, allocations: 4 kB / 1.016 GB, free: 3.496 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.y,y,$PRE.curSeed,curSeed,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.000104/1.13, allocations: 120.7 kB / 1.017 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001247/1.13, allocations: 63.22 kB / 1.017 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.688e-06/1.13, allocations: 0 / 1.017 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.306e-05/1.13, allocations: 4.125 kB / 1.017 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/1.13, allocations: 0 / 1.017 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/1.13, allocations: 0 / 1.017 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/1.13, allocations: 0 / 1.017 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/1.131, allocations: 141.3 kB / 1.017 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/1.131, allocations: 0 / 1.017 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.988e-05/1.131, allocations: 4 kB / 1.017 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/1.131, allocations: 0 / 1.017 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/1.131, allocations: 3.984 kB / 1.017 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/1.131, allocations: 0 / 1.017 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/1.131, allocations: 0 / 1.017 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001492/1.131, allocations: 82.95 kB / 1.017 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.427e-05/1.131, allocations: 89 kB / 1.017 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/1.131, allocations: 4 kB / 1.017 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.944e-05/1.131, allocations: 0 / 1.017 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.987e-05/1.131, allocations: 3.938 kB / 1.017 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/1.131, allocations: 0 / 1.017 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.487e-05/1.131, allocations: 82.53 kB / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.41e-07/1.131, allocations: 0 / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003934/1.131, allocations: 39.92 kB / 1.017 GB, free: 2.797 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009066/1.132, allocations: 0.6838 MB / 1.018 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001293/1.133, allocations: 23.69 kB / 1.018 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/1.133, allocations: 4.188 kB / 1.018 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.363e-05/1.133, allocations: 11.81 kB / 1.018 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001305/1.133, allocations: 11.36 kB / 1.018 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004848/1.133, allocations: 125.2 kB / 1.018 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/1.134, allocations: 0.6768 MB / 1.019 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.17e-05/1.134, allocations: 7.984 kB / 1.019 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.737e-05/1.134, allocations: 7.438 kB / 1.019 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of SimCode: time 8.62e-07/1.134, allocations: 0 / 1.019 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04006/1.174, allocations: 1.519 MB / 1.02 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002817/1.174, allocations: 192.1 kB / 1.02 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.328/3.502, allocations: 0 / 1.02 GB, free: 15.5 MB / 0.6511 GB