Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.7/1.7, allocations: 285.6 MB / 293.1 MB, free: 10.21 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009984/0.0009984, allocations: 172.9 kB / 361.4 MB, free: 6.824 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.783/1.783, allocations: 205.2 MB / 0.62 GB, free: 11.66 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009914/0.0009915, allocations: 95.97 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.8e-05/1.792e-05, allocations: 0 / 0.8518 GB, free: 2.664 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8606/0.8606, allocations: 115.3 MB / 0.9644 GB, free: 78.79 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1928/1.054, allocations: 137.6 MB / 1.099 GB, free: 2.246 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002253/1.054, allocations: 76.48 kB / 1.099 GB, free: 2.172 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.006701/1.061, allocations: 2.302 MB / 1.101 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.132e-06/1.061, allocations: 0.6875 kB / 1.101 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.382e-06/1.061, allocations: 0 / 1.101 GB, free: 15.91 MB / 0.7136 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.0003883/1.061, allocations: 386.9 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/1.061, allocations: 12.03 kB / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.583e-05/1.061, allocations: 4.938 kB / 1.102 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/1.061, allocations: 175 kB / 1.102 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/1.061, allocations: 0 / 1.102 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/1.061, allocations: 4.062 kB / 1.102 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.116e-05/1.061, allocations: 4 kB / 1.102 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.078e-05/1.061, allocations: 41.62 kB / 1.102 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-06/1.061, allocations: 0 / 1.102 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.477e-06/1.061, allocations: 0 / 1.102 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/1.061, allocations: 0 / 1.102 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001524/1.062, allocations: 142.4 kB / 1.102 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.666e-05/1.062, allocations: 30.56 kB / 1.102 GB, free: 15 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.241e-05/1.062, allocations: 13.7 kB / 1.102 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/1.062, allocations: 0.5312 kB / 1.102 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001108/1.062, allocations: 61.62 kB / 1.102 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.283e-06/1.062, allocations: 0 / 1.102 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.0001812/1.062, allocations: 61.47 kB / 1.102 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/1.062, allocations: 52 kB / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.696e-05/1.062, allocations: 101.6 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/1.062, allocations: 25.7 kB / 1.102 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.851e-05/1.062, allocations: 84.83 kB / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/1.062, allocations: 12.66 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-06/1.062, allocations: 0 / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001098/1.062, allocations: 323.4 kB / 1.103 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.777e-05/1.062, allocations: 5.531 kB / 1.103 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.414e-05/1.062, allocations: 41.47 kB / 1.103 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.454e-05/1.062, allocations: 17.45 kB / 1.103 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/1.063, allocations: 4 kB / 1.103 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001128/1.063, allocations: 66.89 kB / 1.103 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/1.063, allocations: 9.375 kB / 1.103 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/1.063, allocations: 0 / 1.103 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/1.063, allocations: 8.469 kB / 1.103 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.291e-05/1.063, allocations: 8 kB / 1.103 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/1.063, allocations: 8.453 kB / 1.103 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.959e-05/1.063, allocations: 0.5625 kB / 1.103 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/1.063, allocations: 4.859 kB / 1.103 GB, free: 14.05 MB / 0.7136 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 7.058e-05/1.063, allocations: 108.1 kB / 1.103 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.162e-05/1.063, allocations: 65.55 kB / 1.103 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.027e-05/1.063, allocations: 7.984 kB / 1.103 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.39e-05/1.063, allocations: 7.656 kB / 1.103 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/1.063, allocations: 0 / 1.103 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/1.063, allocations: 0 / 1.103 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/1.063, allocations: 3.984 kB / 1.103 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/1.063, allocations: 138.2 kB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/1.063, allocations: 4 kB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.983e-05/1.063, allocations: 3.938 kB / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/1.063, allocations: 0 / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/1.063, allocations: 4 kB / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/1.063, allocations: 2.812 kB / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.063, allocations: 0 / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/1.063, allocations: 85.83 kB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.817e-05/1.063, allocations: 84.97 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/1.063, allocations: 1.75 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.269e-05/1.063, allocations: 4 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.413e-05/1.064, allocations: 4 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.377e-06/1.064, allocations: 7.984 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.058e-05/1.064, allocations: 79.28 kB / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.61e-07/1.064, allocations: 0 / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002945/1.064, allocations: 47.88 kB / 1.103 GB, free: 13.32 MB / 0.7136 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.0007957/1.065, allocations: 0.7102 MB / 1.104 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.939e-05/1.065, allocations: 31.92 kB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/1.065, allocations: 0 / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.199e-05/1.065, allocations: 12.25 kB / 1.104 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001044/1.065, allocations: 9.094 kB / 1.104 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003814/1.065, allocations: 123.9 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/1.066, allocations: 0.6808 MB / 1.105 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.84e-05/1.066, allocations: 7.891 kB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.047e-05/1.066, allocations: 15.44 kB / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of SimCode: time 3.5e-07/1.066, allocations: 0 / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02081/1.087, allocations: 1.698 MB / 1.107 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002914/1.087, allocations: 181.3 kB / 1.107 GB, free: 9.812 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.583/2.67, allocations: 0 / 1.107 GB, free: 9.812 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Logit2D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Logit2D.fmu > Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1)