Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.776/1.776, allocations: 297.8 MB / 313.7 MB, free: 156 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009355/0.0009356, allocations: 183.2 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 223.2 MB / 0.6626 GB, free: 4.371 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008067/0.0008067, allocations: 90.84 kB / 0.7808 GB, free: 43.86 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004033/0.0004037, allocations: 12 kB / 0.9088 GB, free: 0.6953 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6788/0.6792, allocations: 120.3 MB / 1.026 GB, free: 57.19 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2003/0.8795, allocations: 141.4 MB / 1.164 GB, free: 0.8281 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/0.8798, allocations: 76.58 kB / 1.164 GB, free: 0.7539 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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.005493/0.8853, allocations: 2.051 MB / 1.166 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.194e-06/0.8853, allocations: 0 / 1.166 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.8853, allocations: 1 kB / 1.166 GB, free: 14.73 MB / 0.7448 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.0003603/0.8857, allocations: 373.7 kB / 1.167 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.8858, allocations: 8.656 kB / 1.167 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.967e-05/0.8858, allocations: 4.938 kB / 1.167 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.8859, allocations: 177.7 kB / 1.167 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.8859, allocations: 1.688 kB / 1.167 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.8859, allocations: 384 / 1.167 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.929e-05/0.886, allocations: 39.34 kB / 1.167 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.8861, allocations: 192 / 1.167 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.8861, allocations: 4.812 kB / 1.167 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.8861, allocations: 0 / 1.167 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.388e-05/0.8861, allocations: 15.92 kB / 1.167 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000148/0.8863, allocations: 154.9 kB / 1.167 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.927e-05/0.8864, allocations: 19.72 kB / 1.167 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.139e-05/0.8864, allocations: 21.75 kB / 1.167 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.8864, allocations: 0.5938 kB / 1.167 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001263/0.8866, allocations: 59.66 kB / 1.167 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.8866, allocations: 0 / 1.167 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.000189/0.8868, allocations: 73.55 kB / 1.167 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.8868, allocations: 52.34 kB / 1.167 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.862e-05/0.8869, allocations: 98.92 kB / 1.167 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.8869, allocations: 25.7 kB / 1.168 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.606e-05/0.8869, allocations: 85.44 kB / 1.168 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.686e-05/0.887, allocations: 3.906 kB / 1.168 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.467e-06/0.887, allocations: 8 kB / 1.168 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.644e-05/0.8871, allocations: 312.1 kB / 1.168 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.669e-05/0.8871, allocations: 4 kB / 1.168 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.376e-05/0.8871, allocations: 36.64 kB / 1.168 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.582e-05/0.8872, allocations: 45.06 kB / 1.168 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.8872, allocations: 2.438 kB / 1.168 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.437e-05/0.8873, allocations: 77.48 kB / 1.168 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.8873, allocations: 11.94 kB / 1.168 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.8873, allocations: 0 / 1.168 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.8874, allocations: 0 / 1.168 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.982e-05/0.8874, allocations: 12.22 kB / 1.168 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.8874, allocations: 0 / 1.168 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.52e-05/0.8875, allocations: 7.906 kB / 1.168 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.8875, allocations: 0 / 1.168 GB, free: 12.8 MB / 0.7448 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 () * Number of clocked 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.593e-05/0.8876, allocations: 122.3 kB / 1.168 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.387e-06/0.8876, allocations: 11.81 kB / 1.168 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.225e-05/0.8876, allocations: 7.5 kB / 1.168 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.8876, allocations: 0 / 1.168 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.8876, allocations: 0 / 1.168 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.8876, allocations: 4 kB / 1.168 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/0.8877, allocations: 153.7 kB / 1.168 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.8877, allocations: 1.594 kB / 1.168 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.164e-05/0.8878, allocations: 4 kB / 1.168 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.8878, allocations: 3.938 kB / 1.168 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.8878, allocations: 0 / 1.168 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.8878, allocations: 0 / 1.168 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.8878, allocations: 0 / 1.168 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.8879, allocations: 81.11 kB / 1.168 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.664e-05/0.8879, allocations: 85.02 kB / 1.169 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.888, allocations: 11.92 kB / 1.169 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.044e-05/0.888, allocations: 4 kB / 1.169 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.153e-05/0.888, allocations: 0 / 1.169 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.888, allocations: 4 kB / 1.169 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.646e-05/0.8881, allocations: 79.22 kB / 1.169 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8881, allocations: 0 / 1.169 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002439/0.8883, allocations: 39.92 kB / 1.169 GB, free: 12.1 MB / 0.7448 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 () * Number of clocked 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.0003612/0.8887, allocations: 175.8 kB / 1.169 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.545e-05/0.8888, allocations: 27.92 kB / 1.169 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8888, allocations: 3.938 kB / 1.169 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.151e-05/0.8888, allocations: 12 kB / 1.169 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001278/0.889, allocations: 0.5625 kB / 1.169 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002584/0.8892, allocations: 120.1 kB / 1.169 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002007/0.8895, allocations: 0.6781 MB / 1.17 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.961e-05/0.8895, allocations: 4 kB / 1.17 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.485e-05/0.8895, allocations: 7.438 kB / 1.17 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of SimCode: time 2.21e-07/0.8895, allocations: 0 / 1.17 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of Templates: time 0.002907/0.8924, allocations: 1.093 MB / 1.171 GB, free: 9.98 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1)