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.694/1.694, allocations: 288.3 MB / 303.2 MB, free: 8.129 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.001036/0.001036, allocations: 173.8 kB / 371.8 MB, free: 10.29 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.769/1.769, allocations: 205.4 MB / 0.6306 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000868/0.0008677, allocations: 101.4 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004007/0.0004007, allocations: 11.72 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.232, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.709/0.941, allocations: 138.1 MB / 1.114 GB, free: 16.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002087/0.9413, allocations: 72.59 kB / 1.114 GB, free: 16.5 MB / 0.6823 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.005573/0.9469, allocations: 2.031 MB / 1.116 GB, free: 32.12 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.272e-06/0.9469, allocations: 4 kB / 1.116 GB, free: 32.11 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.9469, allocations: 0 / 1.116 GB, free: 32.11 MB / 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.0003675/0.9473, allocations: 370.5 kB / 1.117 GB, free: 31.71 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.9473, allocations: 11.31 kB / 1.117 GB, free: 31.71 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.981e-05/0.9474, allocations: 4.562 kB / 1.117 GB, free: 31.71 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.9475, allocations: 165.8 kB / 1.117 GB, free: 31.52 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/0.9475, allocations: 3.906 kB / 1.117 GB, free: 31.52 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.9476, allocations: 3.938 kB / 1.117 GB, free: 31.51 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001/0.9477, allocations: 38.69 kB / 1.117 GB, free: 31.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.9477, allocations: 7.859 kB / 1.117 GB, free: 31.47 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.9477, allocations: 0 / 1.117 GB, free: 31.47 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.9477, allocations: 0.875 kB / 1.117 GB, free: 31.47 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.052e-05/0.9477, allocations: 9.984 kB / 1.117 GB, free: 31.47 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001441/0.9479, allocations: 159.4 kB / 1.117 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.86e-05/0.948, allocations: 28.47 kB / 1.117 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.378e-06/0.948, allocations: 7.75 kB / 1.117 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000111/0.9481, allocations: 63.5 kB / 1.117 GB, free: 31.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.9481, allocations: 0 / 1.117 GB, free: 31.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001912/0.9483, allocations: 65.61 kB / 1.117 GB, free: 31.16 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.9484, allocations: 51.41 kB / 1.117 GB, free: 31.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.547e-05/0.9484, allocations: 88.84 kB / 1.117 GB, free: 31.01 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.9484, allocations: 29.58 kB / 1.117 GB, free: 30.98 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.448e-05/0.9485, allocations: 91.39 kB / 1.117 GB, free: 30.89 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.816e-05/0.9485, allocations: 3.906 kB / 1.117 GB, free: 30.89 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-06/0.9485, allocations: 0 / 1.117 GB, free: 30.89 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.9486, allocations: 318.8 kB / 1.118 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.705e-05/0.9487, allocations: 6.438 kB / 1.118 GB, free: 30.57 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.742e-05/0.9487, allocations: 37.88 kB / 1.118 GB, free: 30.54 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.736e-05/0.9487, allocations: 11.78 kB / 1.118 GB, free: 30.54 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.9487, allocations: 3.875 kB / 1.118 GB, free: 30.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.318e-05/0.9488, allocations: 67.41 kB / 1.118 GB, free: 30.49 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.9488, allocations: 10.73 kB / 1.118 GB, free: 30.49 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.9489, allocations: 0 / 1.118 GB, free: 30.49 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.9489, allocations: 3.938 kB / 1.118 GB, free: 30.49 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.635e-05/0.9489, allocations: 10.53 kB / 1.118 GB, free: 30.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.9489, allocations: 0 / 1.118 GB, free: 30.49 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.379e-05/0.949, allocations: 7.969 kB / 1.118 GB, free: 30.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.949, allocations: 3.812 kB / 1.118 GB, free: 30.48 MB / 0.698 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 8.69e-05/0.9491, allocations: 118.2 kB / 1.118 GB, free: 30.37 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.037e-06/0.9491, allocations: 7.828 kB / 1.118 GB, free: 30.36 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.633e-05/0.9491, allocations: 3.5 kB / 1.118 GB, free: 30.36 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.9491, allocations: 0 / 1.118 GB, free: 30.36 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.9491, allocations: 0 / 1.118 GB, free: 30.36 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.9492, allocations: 0 / 1.118 GB, free: 30.36 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.9493, allocations: 152.4 kB / 1.118 GB, free: 30.17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.9493, allocations: 7.094 kB / 1.118 GB, free: 30.17 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.349e-05/0.9493, allocations: 7.812 kB / 1.118 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.9493, allocations: 3.953 kB / 1.118 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.9493, allocations: 0 / 1.118 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.9493, allocations: 0 / 1.118 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.9493, allocations: 0 / 1.118 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001042/0.9495, allocations: 90.31 kB / 1.118 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.621e-05/0.9495, allocations: 84.11 kB / 1.118 GB, free: 29.99 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.9495, allocations: 11.89 kB / 1.118 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.023e-05/0.9496, allocations: 0 / 1.118 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.464e-05/0.9496, allocations: 3.812 kB / 1.118 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.9496, allocations: 3.625 kB / 1.118 GB, free: 29.98 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.609e-05/0.9496, allocations: 78.09 kB / 1.119 GB, free: 29.91 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9497, allocations: 3.875 kB / 1.119 GB, free: 29.91 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002417/0.9499, allocations: 35.06 kB / 1.119 GB, free: 29.9 MB / 0.698 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.0003538/0.9503, allocations: 165.5 kB / 1.119 GB, free: 29.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.932e-05/0.9504, allocations: 26.17 kB / 1.119 GB, free: 29.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.9504, allocations: 3.875 kB / 1.119 GB, free: 29.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.517e-05/0.9504, allocations: 13.42 kB / 1.119 GB, free: 29.79 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001023/0.9505, allocations: 3.875 kB / 1.119 GB, free: 29.79 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003132/0.9509, allocations: 117.7 kB / 1.119 GB, free: 29.68 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.9512, allocations: 0.6814 MB / 1.12 GB, free: 28.98 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.069e-05/0.9512, allocations: 0 / 1.12 GB, free: 28.98 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.605e-05/0.9512, allocations: 11.25 kB / 1.12 GB, free: 28.97 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/0.9512, allocations: 0 / 1.12 GB, free: 28.97 MB / 0.698 GB Notification: Performance of Templates: time 0.003472/0.9547, allocations: 1.119 MB / 1.121 GB, free: 28.86 MB / 0.698 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)