Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.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.Logit1D,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Logit1D",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.705/1.705, 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.001057/0.001057, allocations: 188.9 kB / 361.4 MB, free: 6.852 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.741/1.741, allocations: 205.2 MB / 0.62 GB, free: 11.62 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.0007746/0.0007747, allocations: 88.94 kB / 0.733 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.799e-05/1.793e-05, allocations: 4 kB / 0.8518 GB, free: 2.629 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6974/0.6975, allocations: 115.3 MB / 0.9644 GB, free: 78.69 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2051/0.9027, allocations: 137.5 MB / 1.099 GB, free: 2.195 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/0.903, allocations: 74.3 kB / 1.099 GB, free: 2.125 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.006575/0.9096, allocations: 2.241 MB / 1.101 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.874e-06/0.9096, allocations: 3 kB / 1.101 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.832e-06/0.9096, allocations: 0 / 1.101 GB, free: 15.92 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000388/0.91, allocations: 384.1 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.9101, allocations: 9.438 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.637e-05/0.9101, allocations: 8.938 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.9102, allocations: 163 kB / 1.102 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.9103, allocations: 0 / 1.102 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.9103, allocations: 5.719 kB / 1.102 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.395e-05/0.9103, allocations: 7.984 kB / 1.102 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.49e-05/0.9104, allocations: 37.69 kB / 1.102 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.9104, allocations: 0 / 1.102 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.9104, allocations: 0.625 kB / 1.102 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.9105, allocations: 0 / 1.102 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001369/0.9106, allocations: 142 kB / 1.102 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.247e-05/0.9107, allocations: 32.11 kB / 1.102 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.103e-05/0.9107, allocations: 8.859 kB / 1.102 GB, free: 15 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.929e-06/0.9107, allocations: 0 / 1.102 GB, free: 15 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001178/0.9108, allocations: 57.42 kB / 1.102 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.9109, allocations: 0.9375 kB / 1.102 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001686/0.911, allocations: 50.5 kB / 1.102 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.9111, allocations: 56.03 kB / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.986e-05/0.9112, allocations: 96.94 kB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.9112, allocations: 26.58 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.601e-05/0.9112, allocations: 84.75 kB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.9113, allocations: 15.75 kB / 1.102 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/0.9113, allocations: 8.531 kB / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.9114, allocations: 311.7 kB / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.56e-05/0.9114, allocations: 4 kB / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.409e-05/0.9115, allocations: 34.39 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.592e-05/0.9115, allocations: 17.25 kB / 1.103 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.9115, allocations: 0 / 1.103 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.677e-05/0.9116, allocations: 62.83 kB / 1.103 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.9116, allocations: 9.844 kB / 1.103 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.9116, allocations: 0 / 1.103 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.9116, allocations: 0.875 kB / 1.103 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.002e-05/0.9117, allocations: 17.48 kB / 1.103 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.9117, allocations: 0 / 1.103 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.441e-05/0.9118, allocations: 5.562 kB / 1.103 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/0.9118, allocations: 0 / 1.103 GB, free: 14.11 MB / 0.7136 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.y,y,$PRE.curSeed,curSeed,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.147e-05/0.9119, allocations: 105 kB / 1.103 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.857e-05/0.912, allocations: 58.55 kB / 1.103 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.015e-05/0.912, allocations: 7.984 kB / 1.103 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.606e-05/0.912, allocations: 14.47 kB / 1.103 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.912, allocations: 0 / 1.103 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.912, allocations: 0 / 1.103 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.912, allocations: 3.938 kB / 1.103 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/0.9121, allocations: 130.2 kB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.9122, allocations: 7.328 kB / 1.103 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.246e-05/0.9122, allocations: 4 kB / 1.103 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.9122, allocations: 0 / 1.103 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.9122, allocations: 0 / 1.103 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.9122, allocations: 2.219 kB / 1.103 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.9122, allocations: 0 / 1.103 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001022/0.9123, allocations: 81.11 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.68e-05/0.9124, allocations: 88.97 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.9124, allocations: 4.094 kB / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.117e-05/0.9124, allocations: 0 / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.65e-05/0.9125, allocations: 3.984 kB / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.9125, allocations: 4 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.149e-05/0.9125, allocations: 75.28 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.516e-06/0.9125, allocations: 4 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002681/0.9128, allocations: 47.86 kB / 1.103 GB, free: 13.4 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 (4): * Single equations (assignments): 2 * 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.0006518/0.9134, allocations: 0.7049 MB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.073e-05/0.9135, allocations: 23.94 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.9135, allocations: 0 / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.654e-05/0.9136, allocations: 16.19 kB / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.395e-05/0.9137, allocations: 3.984 kB / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003337/0.914, allocations: 121.3 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.9143, allocations: 0.6806 MB / 1.105 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.992e-05/0.9143, allocations: 7.938 kB / 1.105 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.505e-05/0.9143, allocations: 11.44 kB / 1.105 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.9143, allocations: 0 / 1.105 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02036/0.9347, allocations: 1.615 MB / 1.106 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002284/0.935, allocations: 186.1 kB / 1.106 GB, free: 9.98 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.579/2.514, allocations: 1.547 kB / 1.107 GB, free: 9.98 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Logit1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Logit1D.fmu > Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1)