Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.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: translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.608/1.608, allocations: 285.6 MB / 293.1 MB, free: 10.19 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.002601/0.002601, allocations: 180.4 kB / 361.4 MB, free: 6.801 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.572/1.572, 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.0008708/0.0008708, allocations: 89.36 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.69e-05/1.693e-05, allocations: 4 kB / 0.8517 GB, free: 2.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6028/0.6028, allocations: 115.3 MB / 0.9643 GB, free: 79.09 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1808/0.7837, allocations: 137.4 MB / 1.098 GB, free: 2.477 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002149/0.784, allocations: 73.95 kB / 1.099 GB, free: 2.406 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.005503/0.7895, allocations: 2.014 MB / 1.101 GB, free: 436 kB / 0.698 GB Notification: Performance of FrontEnd: time 1.022e-06/0.7895, allocations: 0.5 kB / 1.101 GB, free: 436 kB / 0.698 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.7895, allocations: 0.625 kB / 1.101 GB, free: 436 kB / 0.698 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.0003596/0.7899, allocations: 373.3 kB / 1.101 GB, free: 12 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/0.7899, allocations: 16.83 kB / 1.101 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.155e-05/0.79, allocations: 1.031 kB / 1.101 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.7901, allocations: 167 kB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.7901, allocations: 0 / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.7901, allocations: 5.469 kB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.054e-05/0.7902, allocations: 4 kB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.953e-05/0.7903, allocations: 38.31 kB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.7903, allocations: 0 / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.7903, allocations: 0.5 kB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.7903, allocations: 0.5625 kB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001415/0.7904, allocations: 135.5 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.489e-05/0.7905, allocations: 34.5 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.166e-05/0.7905, allocations: 20.73 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.436e-06/0.7906, allocations: 0.5938 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000103/0.7907, allocations: 49.12 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.7907, allocations: 0.5312 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001536/0.7908, allocations: 53.69 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.7909, allocations: 58.55 kB / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.959e-05/0.791, allocations: 90.31 kB / 1.102 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.791, allocations: 29.64 kB / 1.102 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.075e-05/0.791, allocations: 80.67 kB / 1.102 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/0.791, allocations: 13.5 kB / 1.102 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-06/0.7911, allocations: 0 / 1.102 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.7912, allocations: 310.8 kB / 1.102 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.682e-05/0.7912, allocations: 8.594 kB / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.113e-05/0.7912, allocations: 32.55 kB / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.628e-05/0.7913, allocations: 11.48 kB / 1.102 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.7913, allocations: 1.625 kB / 1.102 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.627e-05/0.7914, allocations: 65.48 kB / 1.102 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.7914, allocations: 17.17 kB / 1.102 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.7914, allocations: 0.5625 kB / 1.102 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.7914, allocations: 1.5 kB / 1.102 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.822e-05/0.7915, allocations: 11.94 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.7915, allocations: 0 / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.393e-05/0.7915, allocations: 4 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.7915, allocations: 0.8125 kB / 1.102 GB, free: 14.64 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 7.306e-05/0.7916, allocations: 112.2 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.917e-06/0.7916, allocations: 3.953 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.316e-05/0.7917, allocations: 12.11 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.7917, allocations: 0 / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.7917, allocations: 3.406 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.7917, allocations: 4 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.775e-05/0.7918, allocations: 122.2 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.7918, allocations: 3.984 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.367e-05/0.7918, allocations: 6.938 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.7918, allocations: 0 / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.7918, allocations: 0 / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.7918, allocations: 3.953 kB / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.7918, allocations: 1.5 kB / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/0.792, allocations: 89.69 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.638e-05/0.792, allocations: 81.02 kB / 1.103 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.792, allocations: 4 kB / 1.103 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.023e-05/0.792, allocations: 0 / 1.103 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.928e-05/0.7921, allocations: 3.953 kB / 1.103 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.311e-06/0.7921, allocations: 8.219 kB / 1.103 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.721e-05/0.7921, allocations: 79.27 kB / 1.103 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7921, allocations: 0 / 1.103 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002291/0.7924, allocations: 39.94 kB / 1.103 GB, free: 14 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.0003261/0.7927, allocations: 161.1 kB / 1.103 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.806e-05/0.7928, allocations: 31.86 kB / 1.103 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.7928, allocations: 0 / 1.103 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.55e-05/0.7928, allocations: 12.23 kB / 1.103 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.001e-05/0.7929, allocations: 0 / 1.103 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001766/0.7931, allocations: 69.06 kB / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/0.7934, allocations: 0.6768 MB / 1.104 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.981e-05/0.7934, allocations: 4.188 kB / 1.104 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.401e-05/0.7934, allocations: 15.38 kB / 1.104 GB, free: 13 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.7934, allocations: 0 / 1.104 GB, free: 13 MB / 0.7136 GB Notification: Performance of Templates: time 0.002931/0.7964, allocations: 1.115 MB / 1.105 GB, free: 11.92 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1)