Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D.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.Logit2D,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_BaseClasses_Validation_Logit2D",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.513/2.513, allocations: 248.7 MB / 256.2 MB, free: 7.008 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.001496/0.001496, allocations: 194 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.137/2.137, allocations: 205.3 MB / 0.5662 GB, free: 0.6172 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.001119/0.001118, allocations: 97.72 kB / 0.6704 GB, free: 5.824 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.069e-05/2.078e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2535, allocations: 106.2 MB / 0.8841 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9877/1.241, allocations: 132 MB / 1.013 GB, free: 7.078 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/1.242, allocations: 72.14 kB / 1.013 GB, free: 7.039 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.01035/1.252, allocations: 2.314 MB / 1.015 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.493e-06/1.252, allocations: 0 / 1.015 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.194e-06/1.252, allocations: 4.75 kB / 1.015 GB, free: 5.074 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005132/1.253, allocations: 387.4 kB / 1.016 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/1.253, allocations: 8.031 kB / 1.016 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.503e-05/1.253, allocations: 7.953 kB / 1.016 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/1.253, allocations: 159.1 kB / 1.016 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.921e-05/1.253, allocations: 0 / 1.016 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/1.253, allocations: 4 kB / 1.016 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.32e-05/1.253, allocations: 7.25 kB / 1.016 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.82e-05/1.253, allocations: 45.61 kB / 1.016 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/1.253, allocations: 0 / 1.016 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/1.253, allocations: 4 kB / 1.016 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/1.253, allocations: 0 / 1.016 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001805/1.253, allocations: 148 kB / 1.016 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.063e-05/1.253, allocations: 21.23 kB / 1.016 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.611e-05/1.253, allocations: 15.98 kB / 1.016 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.111e-05/1.253, allocations: 0 / 1.016 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001511/1.254, allocations: 62.03 kB / 1.016 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.713e-06/1.254, allocations: 0 / 1.016 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.0002309/1.254, allocations: 59.69 kB / 1.016 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/1.254, allocations: 55.41 kB / 1.016 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.02e-05/1.254, allocations: 92.44 kB / 1.016 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/1.254, allocations: 25.7 kB / 1.016 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.495e-05/1.254, allocations: 84.14 kB / 1.016 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.59e-05/1.254, allocations: 22.92 kB / 1.017 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-06/1.254, allocations: 0 / 1.017 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001555/1.254, allocations: 318 kB / 1.017 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.787e-05/1.254, allocations: 8 kB / 1.017 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.092e-05/1.254, allocations: 39.64 kB / 1.017 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.309e-05/1.255, allocations: 15.5 kB / 1.017 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/1.255, allocations: 0 / 1.017 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001914/1.255, allocations: 64.88 kB / 1.017 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/1.255, allocations: 7.938 kB / 1.017 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/1.255, allocations: 4 kB / 1.017 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/1.255, allocations: 3.984 kB / 1.017 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/1.255, allocations: 8.875 kB / 1.017 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/1.255, allocations: 4.125 kB / 1.017 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.879e-05/1.255, allocations: 7.906 kB / 1.017 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/1.255, allocations: 4 kB / 1.017 GB, free: 3.242 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (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.0001039/1.255, allocations: 112.1 kB / 1.017 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001441/1.255, allocations: 63.62 kB / 1.017 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.631e-05/1.255, allocations: 7.891 kB / 1.017 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.947e-05/1.255, allocations: 8.219 kB / 1.017 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/1.255, allocations: 4 kB / 1.017 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.255, allocations: 0 / 1.017 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/1.255, allocations: 4 kB / 1.017 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/1.256, allocations: 137.1 kB / 1.017 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/1.256, allocations: 0 / 1.017 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.451e-05/1.256, allocations: 4 kB / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/1.256, allocations: 0 / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/1.256, allocations: 0 / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/1.256, allocations: 7.922 kB / 1.017 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.256, allocations: 0 / 1.017 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001646/1.256, allocations: 91.52 kB / 1.017 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.248e-05/1.256, allocations: 85.11 kB / 1.017 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/1.256, allocations: 0 / 1.017 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.24e-05/1.256, allocations: 0 / 1.017 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.163e-05/1.256, allocations: 3.984 kB / 1.017 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/1.256, allocations: 4.438 kB / 1.017 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.597e-05/1.256, allocations: 86.84 kB / 1.018 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/1.256, allocations: 0 / 1.018 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004114/1.257, allocations: 51.86 kB / 1.018 GB, free: 2.52 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 (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.001058/1.258, allocations: 0.711 MB / 1.018 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000144/1.258, allocations: 26.75 kB / 1.018 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.258, allocations: 4.062 kB / 1.018 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.729e-05/1.258, allocations: 15.06 kB / 1.018 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001329/1.258, allocations: 0.6875 kB / 1.018 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004844/1.259, allocations: 132.3 kB / 1.018 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/1.259, allocations: 0.6807 MB / 1.019 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.383e-05/1.259, allocations: 4 kB / 1.019 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.141e-05/1.259, allocations: 7.438 kB / 1.019 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of SimCode: time 8.82e-07/1.259, allocations: 4 kB / 1.019 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03894/1.298, allocations: 1.708 MB / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004579/1.298, allocations: 170.9 kB / 1.021 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.199/3.497, allocations: 0 / 1.021 GB, free: 15.01 MB / 0.6511 GB