Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.245/1.245, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000882/0.0008821, allocations: 179.2 kB / 327.6 MB, free: 2.16 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.375/1.375, allocations: 205.4 MB / 0.5785 GB, free: 20.19 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007957/0.0007957, allocations: 110.1 kB / 0.6831 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003618/0.0003619, allocations: 16.62 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1573, allocations: 106.3 MB / 0.9012 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1384/0.2957, allocations: 131.8 MB / 1.03 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001979/0.296, allocations: 75.95 kB / 1.03 GB, free: 11.64 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.005446/0.3014, allocations: 2.044 MB / 1.032 GB, free: 9.594 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.216e-06/0.3015, allocations: 7.984 kB / 1.032 GB, free: 9.586 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.3015, allocations: 4 kB / 1.032 GB, free: 9.582 MB / 0.6823 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.0003593/0.3018, allocations: 369.1 kB / 1.032 GB, free: 9.164 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.3019, allocations: 8.031 kB / 1.032 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.071e-05/0.3019, allocations: 4.938 kB / 1.032 GB, free: 9.152 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.302, allocations: 164.4 kB / 1.033 GB, free: 8.953 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.3021, allocations: 384 / 1.033 GB, free: 8.953 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.3021, allocations: 8.359 kB / 1.033 GB, free: 8.945 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.174e-05/0.3022, allocations: 42.19 kB / 1.033 GB, free: 8.898 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.3022, allocations: 192 / 1.033 GB, free: 8.898 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.3022, allocations: 3.938 kB / 1.033 GB, free: 8.895 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.3022, allocations: 0 / 1.033 GB, free: 8.895 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.72e-05/0.3023, allocations: 8 kB / 1.033 GB, free: 8.887 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001461/0.3024, allocations: 153.7 kB / 1.033 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.775e-05/0.3025, allocations: 26.61 kB / 1.033 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.869e-05/0.3025, allocations: 12.86 kB / 1.033 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.3025, allocations: 7.938 kB / 1.033 GB, free: 8.629 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001147/0.3027, allocations: 55.48 kB / 1.033 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.3027, allocations: 0 / 1.033 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0001846/0.3029, allocations: 73.69 kB / 1.033 GB, free: 8.484 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.3029, allocations: 51.41 kB / 1.033 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.977e-05/0.303, allocations: 97.77 kB / 1.033 GB, free: 8.316 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.303, allocations: 33.83 kB / 1.033 GB, free: 8.277 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.843e-05/0.303, allocations: 88.02 kB / 1.033 GB, free: 8.188 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.3031, allocations: 7.906 kB / 1.033 GB, free: 8.18 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.3031, allocations: 4 kB / 1.033 GB, free: 8.176 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.3032, allocations: 314.8 kB / 1.034 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.711e-05/0.3032, allocations: 4 kB / 1.034 GB, free: 7.855 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.74e-05/0.3033, allocations: 39.45 kB / 1.034 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.594e-05/0.3033, allocations: 51.36 kB / 1.034 GB, free: 7.742 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3033, allocations: 0 / 1.034 GB, free: 7.742 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.346e-05/0.3034, allocations: 65.62 kB / 1.034 GB, free: 7.672 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.3035, allocations: 7.938 kB / 1.034 GB, free: 7.664 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.3035, allocations: 0 / 1.034 GB, free: 7.664 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.3035, allocations: 8.094 kB / 1.034 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.397e-05/0.3036, allocations: 7.984 kB / 1.034 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/0.3036, allocations: 7.938 kB / 1.034 GB, free: 7.641 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.34e-05/0.3036, allocations: 3.938 kB / 1.034 GB, free: 7.637 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.3036, allocations: 8 kB / 1.034 GB, free: 7.629 MB / 0.6823 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 6.902e-05/0.3037, allocations: 113.8 kB / 1.034 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.072e-05/0.3037, allocations: 7.844 kB / 1.034 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.141e-05/0.3037, allocations: 3.5 kB / 1.034 GB, free: 7.492 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.3037, allocations: 3.984 kB / 1.034 GB, free: 7.488 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.3038, allocations: 4 kB / 1.034 GB, free: 7.484 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.3038, allocations: 0 / 1.034 GB, free: 7.484 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.3039, allocations: 153.7 kB / 1.034 GB, free: 7.285 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.3039, allocations: 0 / 1.034 GB, free: 7.285 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.234e-05/0.3039, allocations: 4 kB / 1.034 GB, free: 7.281 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.3039, allocations: 3.938 kB / 1.034 GB, free: 7.277 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.3039, allocations: 0 / 1.034 GB, free: 7.277 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3039, allocations: 0 / 1.034 GB, free: 7.277 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3039, allocations: 0 / 1.034 GB, free: 7.277 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.3041, allocations: 89.05 kB / 1.034 GB, free: 7.172 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.087e-05/0.3041, allocations: 81.11 kB / 1.034 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.3041, allocations: 3.938 kB / 1.034 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.816e-05/0.3041, allocations: 0 / 1.034 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.503e-05/0.3042, allocations: 11.98 kB / 1.034 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.3042, allocations: 0 / 1.034 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.851e-05/0.3042, allocations: 79.22 kB / 1.034 GB, free: 6.98 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3042, allocations: 0 / 1.034 GB, free: 6.98 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002454/0.3045, allocations: 44.09 kB / 1.034 GB, free: 6.938 MB / 0.6823 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.0002977/0.3048, allocations: 171.6 kB / 1.034 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.177e-05/0.3049, allocations: 27.94 kB / 1.034 GB, free: 6.746 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3049, allocations: 0 / 1.034 GB, free: 6.746 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.23e-05/0.3049, allocations: 15.98 kB / 1.034 GB, free: 6.73 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001202/0.3051, allocations: 8.125 kB / 1.034 GB, free: 6.723 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002209/0.3053, allocations: 108.6 kB / 1.035 GB, free: 6.59 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001947/0.3055, allocations: 0.6809 MB / 1.035 GB, free: 5.883 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.627e-05/0.3055, allocations: 4 kB / 1.035 GB, free: 5.879 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.501e-05/0.3055, allocations: 7.438 kB / 1.035 GB, free: 5.871 MB / 0.6823 GB Notification: Performance of SimCode: time 2.2e-07/0.3055, allocations: 7.938 kB / 1.035 GB, free: 5.863 MB / 0.6823 GB Notification: Performance of Templates: time 0.002982/0.3085, allocations: 1.093 MB / 1.036 GB, free: 4.777 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1)