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.138/2.138, 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.001512/0.001512, allocations: 171.8 kB / 325.5 MB, free: 2.914 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.383/2.383, 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.001134/0.001134, allocations: 91.73 kB / 0.6809 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000463/0.000463, allocations: 15.16 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2433, allocations: 106.3 MB / 0.8988 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2267/0.4701, allocations: 131.6 MB / 1.027 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002901/0.4704, allocations: 71.95 kB / 1.027 GB, free: 14.11 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.009277/0.4797, allocations: 2.037 MB / 1.029 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4798, allocations: 0 / 1.029 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.4798, allocations: 0 / 1.029 GB, free: 12.07 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005391/0.4803, allocations: 376.9 kB / 1.03 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.4804, allocations: 12.03 kB / 1.03 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.142e-05/0.4805, allocations: 42.55 kB / 1.03 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.972e-05/0.4805, allocations: 7.953 kB / 1.03 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.4807, allocations: 163 kB / 1.03 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.788e-05/0.4807, allocations: 4 kB / 1.03 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.4807, allocations: 0 / 1.03 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.4809, allocations: 41.69 kB / 1.03 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.4809, allocations: 0 / 1.03 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.4809, allocations: 0 / 1.03 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.4809, allocations: 0 / 1.03 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.564e-05/0.481, allocations: 11.98 kB / 1.03 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000402/0.4814, allocations: 248.9 kB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.4816, allocations: 31.66 kB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.4816, allocations: 7.984 kB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001742/0.4818, allocations: 63.3 kB / 1.03 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 1.904e-06/0.4818, allocations: 0 / 1.03 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5): time 0.0002815/0.4821, allocations: 73.61 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.183e-05/0.4821, allocations: 59.36 kB / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.817e-05/0.4822, allocations: 85 kB / 1.031 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.4823, allocations: 29.7 kB / 1.031 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.545e-05/0.4823, allocations: 84.14 kB / 1.031 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.482e-05/0.4824, allocations: 15.92 kB / 1.031 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/0.4824, allocations: 0 / 1.031 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.4825, allocations: 318.8 kB / 1.031 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.33e-05/0.4826, allocations: 4 kB / 1.031 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.154e-05/0.4826, allocations: 47.33 kB / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.814e-05/0.4827, allocations: 12 kB / 1.031 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4827, allocations: 4 kB / 1.031 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001644/0.4829, allocations: 73.55 kB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.4829, allocations: 4 kB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.4829, allocations: 4 kB / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.483, allocations: 0 / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.905e-05/0.4831, allocations: 12 kB / 1.031 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.4831, allocations: 0 / 1.031 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.188e-05/0.4831, allocations: 11.89 kB / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.4832, allocations: 0 / 1.031 GB, free: 10.02 MB / 0.6823 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 () * Number of clocked 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.0001113/0.4833, allocations: 129.8 kB / 1.031 GB, free: 9.883 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.656e-05/0.4833, allocations: 3.906 kB / 1.031 GB, free: 9.879 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.392e-05/0.4834, allocations: 7.562 kB / 1.031 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.4834, allocations: 0 / 1.031 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4834, allocations: 0 / 1.031 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.4834, allocations: 0 / 1.031 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004319/0.4838, allocations: 294.6 kB / 1.032 GB, free: 9.527 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.4839, allocations: 320 / 1.032 GB, free: 9.527 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.43e-05/0.4839, allocations: 4 kB / 1.032 GB, free: 9.523 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.4839, allocations: 8 kB / 1.032 GB, free: 9.516 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.4839, allocations: 4 kB / 1.032 GB, free: 9.512 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.484, allocations: 0 / 1.032 GB, free: 9.512 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.484, allocations: 3.938 kB / 1.032 GB, free: 9.508 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002217/0.4842, allocations: 159.5 kB / 1.032 GB, free: 9.336 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.5e-05/0.4843, allocations: 81.11 kB / 1.032 GB, free: 9.238 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.4843, allocations: 0 / 1.032 GB, free: 9.238 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.179e-05/0.4844, allocations: 0 / 1.032 GB, free: 9.238 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.009e-05/0.4844, allocations: 15.98 kB / 1.032 GB, free: 9.223 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.4844, allocations: 0 / 1.032 GB, free: 9.223 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.954e-05/0.4845, allocations: 79.23 kB / 1.032 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.51e-07/0.4845, allocations: 4 kB / 1.032 GB, free: 9.141 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004138/0.4849, allocations: 39.94 kB / 1.032 GB, free: 9.102 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: 3 ($whenCondition1,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Number of clocked 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.0009919/0.4859, allocations: 0.7844 MB / 1.033 GB, free: 8.309 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001652/0.4861, allocations: 31.94 kB / 1.033 GB, free: 8.277 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4861, allocations: 0 / 1.033 GB, free: 8.277 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.627e-05/0.4862, allocations: 11.98 kB / 1.033 GB, free: 8.266 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001611/0.4864, allocations: 4 kB / 1.033 GB, free: 8.262 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009332/0.4873, allocations: 0.8032 MB / 1.034 GB, free: 7.398 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/0.4877, allocations: 0.6848 MB / 1.034 GB, free: 6.688 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.305e-05/0.4877, allocations: 0 / 1.034 GB, free: 6.688 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.893e-05/0.4878, allocations: 15.44 kB / 1.034 GB, free: 6.672 MB / 0.6823 GB Notification: Performance of SimCode: time 1.112e-06/0.4878, allocations: 0 / 1.034 GB, free: 6.672 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02101/0.5088, allocations: 1.828 MB / 1.036 GB, free: 5.012 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003068/0.5092, allocations: 234.9 kB / 1.036 GB, free: 4.773 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.406/2.915, allocations: 7.688 kB / 1.036 GB, free: 4.77 MB / 0.6823 GB