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.25/2.25, allocations: 248.5 MB / 261.1 MB, free: 5.938 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.001515/0.001515, allocations: 168.9 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.083/2.083, allocations: 205.2 MB / 0.571 GB, free: 11.75 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.001035/0.001035, allocations: 98.48 kB / 0.6754 GB, free: 0.832 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.163e-05/4.182e-05, allocations: 0 / 0.7869 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.209, allocations: 106.3 MB / 0.8907 GB, free: 7.453 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8532/1.062, allocations: 131.6 MB / 1.019 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002752/1.063, allocations: 70.2 kB / 1.019 GB, free: 3.641 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.008699/1.071, allocations: 2.017 MB / 1.021 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.653e-06/1.071, allocations: 0 / 1.021 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.168e-05/1.071, allocations: 4 kB / 1.021 GB, free: 1.891 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.0004712/1.072, allocations: 367.2 kB / 1.022 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/1.072, allocations: 8.031 kB / 1.022 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.891e-05/1.072, allocations: 37.81 kB / 1.022 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.014e-05/1.072, allocations: 10.83 kB / 1.022 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/1.072, allocations: 163 kB / 1.022 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/1.072, allocations: 8 kB / 1.022 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/1.072, allocations: 0 / 1.022 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/1.072, allocations: 51.52 kB / 1.022 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/1.072, allocations: 0 / 1.022 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/1.072, allocations: 0 / 1.022 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/1.072, allocations: 0 / 1.022 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.618e-05/1.072, allocations: 7.062 kB / 1.022 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003719/1.073, allocations: 252 kB / 1.022 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.962e-05/1.073, allocations: 32.83 kB / 1.022 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.461e-05/1.073, allocations: 16.64 kB / 1.022 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/1.073, allocations: 3.984 kB / 1.022 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001465/1.073, allocations: 58.25 kB / 1.022 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.944e-06/1.073, allocations: 0 / 1.022 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.0002077/1.073, allocations: 64.38 kB / 1.022 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/1.074, allocations: 59.3 kB / 1.022 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.938e-05/1.074, allocations: 92.19 kB / 1.022 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/1.074, allocations: 29.69 kB / 1.022 GB, free: 500 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.88e-05/1.074, allocations: 87.56 kB / 1.022 GB, free: 412 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/1.074, allocations: 11.81 kB / 1.022 GB, free: 400 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-06/1.074, allocations: 3.938 kB / 1.022 GB, free: 400 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001458/1.074, allocations: 315 kB / 1.023 GB, free: 76 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.679e-05/1.074, allocations: 8 kB / 1.023 GB, free: 68 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.492e-05/1.074, allocations: 38.97 kB / 1.023 GB, free: 24 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.373e-05/1.074, allocations: 8 kB / 1.023 GB, free: 16 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.074, allocations: 0 / 1.023 GB, free: 16 kB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000189/1.074, allocations: 72.3 kB / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/1.074, allocations: 12 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/1.074, allocations: 0 / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/1.074, allocations: 0 / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/1.075, allocations: 8 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/1.075, allocations: 4 kB / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.189e-05/1.075, allocations: 11.64 kB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/1.075, allocations: 4 kB / 1.023 GB, free: 15.91 MB / 0.6511 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.curSeed,curSeed,$whenCondition1,$PRE.$outputAlias_y,$outputAlias_y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001007/1.075, allocations: 112.8 kB / 1.023 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.983e-05/1.075, allocations: 7.906 kB / 1.023 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.63e-05/1.075, allocations: 11.53 kB / 1.023 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/1.075, allocations: 3.984 kB / 1.023 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/1.075, allocations: 0.875 kB / 1.023 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/1.075, allocations: 0 / 1.023 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000381/1.075, allocations: 296.5 kB / 1.023 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/1.075, allocations: 3.75 kB / 1.023 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.14e-05/1.075, allocations: 4 kB / 1.023 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/1.075, allocations: 0 / 1.023 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/1.075, allocations: 0 / 1.023 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/1.075, allocations: 7.938 kB / 1.023 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/1.075, allocations: 4.109 kB / 1.023 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001896/1.076, allocations: 157.7 kB / 1.024 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.822e-05/1.076, allocations: 77.11 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/1.076, allocations: 4 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.106e-05/1.076, allocations: 3.812 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.315e-05/1.076, allocations: 0 / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/1.076, allocations: 11.94 kB / 1.024 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.876e-05/1.076, allocations: 83.22 kB / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.1e-07/1.076, allocations: 0 / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004179/1.076, allocations: 43.12 kB / 1.024 GB, free: 15.03 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: 3 ($whenCondition1,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009951/1.077, allocations: 0.7809 MB / 1.025 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001521/1.077, allocations: 30.56 kB / 1.025 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/1.077, allocations: 0 / 1.025 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.205e-05/1.078, allocations: 19.92 kB / 1.025 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001595/1.078, allocations: 0 / 1.025 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006313/1.078, allocations: 126.3 kB / 1.025 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/1.079, allocations: 0.6811 MB / 1.025 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.116e-05/1.079, allocations: 4 kB / 1.025 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.418e-05/1.079, allocations: 11.44 kB / 1.025 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of SimCode: time 1.523e-06/1.079, allocations: 0 / 1.025 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02454/1.103, allocations: 1.846 MB / 1.027 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00036/1.104, allocations: 207.1 kB / 1.027 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.259/3.363, allocations: 8 kB / 1.027 GB, free: 11.42 MB / 0.6511 GB