Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1D.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.Logit1D,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_BaseClasses_Validation_Logit1D",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.221/2.221, allocations: 248.5 MB / 261.1 MB, free: 6.02 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.001425/0.001425, allocations: 181 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.981/1.981, allocations: 205.2 MB / 0.571 GB, free: 11.73 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.001215/0.001215, allocations: 114 kB / 0.6754 GB, free: 0.8047 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.293e-05/3.31e-05, allocations: 0 / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2107, allocations: 106.2 MB / 0.8907 GB, free: 7.453 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8495/1.06, allocations: 131.7 MB / 1.019 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/1.061, allocations: 74.17 kB / 1.019 GB, free: 3.098 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.01031/1.071, allocations: 2.252 MB / 1.022 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.713e-06/1.071, allocations: 0 / 1.022 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.895e-06/1.071, allocations: 0 / 1.022 GB, free: 1.164 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.0004876/1.072, allocations: 380 kB / 1.022 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/1.072, allocations: 12.03 kB / 1.022 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.23e-05/1.072, allocations: 34.5 kB / 1.022 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.315e-05/1.072, allocations: 7.953 kB / 1.022 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/1.072, allocations: 170.9 kB / 1.022 GB, free: 492 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.954e-05/1.072, allocations: 4 kB / 1.022 GB, free: 488 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/1.072, allocations: 3.938 kB / 1.022 GB, free: 484 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/1.072, allocations: 45.61 kB / 1.022 GB, free: 436 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/1.072, allocations: 0 / 1.022 GB, free: 436 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/1.072, allocations: 0 / 1.022 GB, free: 436 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/1.072, allocations: 0 / 1.022 GB, free: 436 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.78e-05/1.072, allocations: 8 kB / 1.022 GB, free: 428 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003626/1.073, allocations: 251.6 kB / 1.022 GB, free: 132 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/1.073, allocations: 33.5 kB / 1.022 GB, free: 92 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.614e-05/1.073, allocations: 15.98 kB / 1.023 GB, free: 76 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/1.073, allocations: 0 / 1.023 GB, free: 76 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001422/1.073, allocations: 59.38 kB / 1.023 GB, free: 8 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.954e-06/1.073, allocations: 0 / 1.023 GB, free: 8 kB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.0002467/1.073, allocations: 75.73 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/1.073, allocations: 51.41 kB / 1.023 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.515e-05/1.073, allocations: 96.62 kB / 1.023 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/1.073, allocations: 25.7 kB / 1.023 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.909e-05/1.073, allocations: 92.14 kB / 1.023 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/1.073, allocations: 15.73 kB / 1.023 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-06/1.073, allocations: 0 / 1.023 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001223/1.074, allocations: 318.6 kB / 1.023 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.003e-05/1.074, allocations: 4 kB / 1.023 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.78e-05/1.074, allocations: 31 kB / 1.023 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.077e-05/1.074, allocations: 18.98 kB / 1.023 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/1.074, allocations: 0 / 1.023 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001533/1.074, allocations: 68.19 kB / 1.023 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/1.074, allocations: 11.98 kB / 1.023 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/1.074, allocations: 3.828 kB / 1.023 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/1.074, allocations: 4 kB / 1.023 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.052e-05/1.074, allocations: 4 kB / 1.023 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/1.074, allocations: 7.953 kB / 1.023 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.799e-05/1.074, allocations: 3.906 kB / 1.023 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/1.074, allocations: 11.16 kB / 1.023 GB, free: 15.16 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 8.585e-05/1.074, allocations: 104.9 kB / 1.023 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.262e-05/1.074, allocations: 4 kB / 1.023 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.009e-05/1.074, allocations: 18.34 kB / 1.023 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/1.074, allocations: 0 / 1.023 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.074, allocations: 0 / 1.023 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/1.074, allocations: 7.953 kB / 1.023 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003235/1.075, allocations: 293.4 kB / 1.024 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/1.075, allocations: 4 kB / 1.024 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.152e-05/1.075, allocations: 7.984 kB / 1.024 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/1.075, allocations: 0 / 1.024 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/1.075, allocations: 4 kB / 1.024 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/1.075, allocations: 3.938 kB / 1.024 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.075, allocations: 3.953 kB / 1.024 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000189/1.075, allocations: 161.1 kB / 1.024 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.237e-05/1.075, allocations: 81.05 kB / 1.024 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/1.075, allocations: 7.062 kB / 1.024 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.383e-05/1.075, allocations: 4 kB / 1.024 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.487e-05/1.075, allocations: 3.953 kB / 1.024 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/1.075, allocations: 0 / 1.024 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.022e-05/1.075, allocations: 83.27 kB / 1.024 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.91e-07/1.075, allocations: 0 / 1.024 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004202/1.076, allocations: 45.06 kB / 1.024 GB, free: 14.27 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.0008948/1.077, allocations: 0.7741 MB / 1.025 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001419/1.077, allocations: 33.42 kB / 1.025 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/1.077, allocations: 0 / 1.025 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.377e-05/1.077, allocations: 15.12 kB / 1.025 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001538/1.077, allocations: 9.594 kB / 1.025 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005093/1.078, allocations: 144.5 kB / 1.025 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/1.078, allocations: 0.6809 MB / 1.026 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.916e-05/1.078, allocations: 3.984 kB / 1.026 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.467e-05/1.078, allocations: 11.44 kB / 1.026 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of SimCode: time 7.91e-07/1.078, allocations: 0 / 1.026 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01944/1.098, allocations: 1.954 MB / 1.028 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002939/1.098, allocations: 197.9 kB / 1.028 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.393/3.491, allocations: 0 / 1.028 GB, free: 10.5 MB / 0.6511 GB