Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001017, allocations: 98.77 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009317/0.0009317, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.653/1.653, allocations: 205.4 MB / 222.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.668/1.668, allocations: 292.5 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006377/0.0006376, allocations: 18.09 kB / 0.6735 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2984, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001449/0.2999, allocations: 0.9297 MB / 0.788 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007176/0.3007, allocations: 358.8 kB / 0.7883 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.577e-05/0.3007, allocations: 0 / 0.7883 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.022e-05/0.3007, allocations: 7.938 kB / 0.7884 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.591e-05/0.3008, allocations: 0 / 0.7884 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004889/0.3013, allocations: 71.78 kB / 0.7884 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.445e-05/0.3013, allocations: 8 kB / 0.7884 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.243e-05/0.3014, allocations: 3.984 kB / 0.7884 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.515e-05/0.3014, allocations: 7.984 kB / 0.7884 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.456e-05/0.3015, allocations: 11.94 kB / 0.7885 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.3015, allocations: 0 / 0.7885 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001744/0.3017, allocations: 59.94 kB / 0.7885 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.955e-05/0.3017, allocations: 7.984 kB / 0.7885 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.814e-05/0.3017, allocations: 41.56 kB / 0.7886 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.3019, allocations: 55.92 kB / 0.7886 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.3019, allocations: 0 / 0.7886 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.958e-06/0.3019, allocations: 4 kB / 0.7886 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.3019, allocations: 0 / 0.7886 GB, free: 10.4 MB / 0.6075 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.0005041/0.3024, allocations: 364.1 kB / 0.789 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.3025, allocations: 12.03 kB / 0.789 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.367e-05/0.3025, allocations: 3.906 kB / 0.789 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.3026, allocations: 167 kB / 0.7891 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.904e-05/0.3027, allocations: 8 kB / 0.7891 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.3027, allocations: 0 / 0.7891 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.3028, allocations: 37.67 kB / 0.7892 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.3028, allocations: 0 / 0.7892 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.3028, allocations: 4 kB / 0.7892 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.3028, allocations: 3.984 kB / 0.7892 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.048e-05/0.3029, allocations: 11.94 kB / 0.7892 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001669/0.3031, allocations: 153.6 kB / 0.7893 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.883e-05/0.3031, allocations: 30.61 kB / 0.7894 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.787e-06/0.3032, allocations: 0 / 0.7894 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001411/0.3033, allocations: 51.5 kB / 0.7894 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.3033, allocations: 3.938 kB / 0.7894 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0002116/0.3035, allocations: 69.61 kB / 0.7895 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.3036, allocations: 55.34 kB / 0.7895 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.961e-05/0.3037, allocations: 101.9 kB / 0.7896 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.3037, allocations: 25.7 kB / 0.7897 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.468e-05/0.3037, allocations: 92.12 kB / 0.7898 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.3037, allocations: 3.906 kB / 0.7898 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-06/0.3038, allocations: 0 / 0.7898 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.3039, allocations: 314.8 kB / 0.7901 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.81e-05/0.3039, allocations: 4 kB / 0.7901 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.941e-05/0.3039, allocations: 39.55 kB / 0.7901 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.958e-05/0.304, allocations: 15.94 kB / 0.7901 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.304, allocations: 0 / 0.7901 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001028/0.3041, allocations: 73.48 kB / 0.7902 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.3041, allocations: 7.984 kB / 0.7902 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.3041, allocations: 0 / 0.7902 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.3042, allocations: 8.094 kB / 0.7902 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.407e-05/0.3042, allocations: 4 kB / 0.7902 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.3043, allocations: 4 kB / 0.7902 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.296e-05/0.3043, allocations: 0 / 0.7902 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.3043, allocations: 4 kB / 0.7902 GB, free: 8.527 MB / 0.6075 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 0.0001109/0.3044, allocations: 117.7 kB / 0.7903 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.285e-05/0.3044, allocations: 11.95 kB / 0.7903 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.99e-05/0.3045, allocations: 7.484 kB / 0.7903 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.3045, allocations: 0 / 0.7903 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3045, allocations: 4 kB / 0.7904 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.3045, allocations: 0 / 0.7904 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.3046, allocations: 157.7 kB / 0.7905 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3047, allocations: 0 / 0.7905 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.243e-05/0.3047, allocations: 4 kB / 0.7905 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.3047, allocations: 3.953 kB / 0.7905 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.026e-06/0.3047, allocations: 0 / 0.7905 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.3047, allocations: 0 / 0.7905 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3047, allocations: 0 / 0.7905 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001234/0.3048, allocations: 93.19 kB / 0.7906 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.905e-05/0.3049, allocations: 77.11 kB / 0.7907 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.3049, allocations: 8 kB / 0.7907 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.76e-05/0.3049, allocations: 7.922 kB / 0.7907 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.796e-05/0.305, allocations: 3.984 kB / 0.7907 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.413e-06/0.305, allocations: 4 kB / 0.7907 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.277e-05/0.305, allocations: 75.28 kB / 0.7908 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.305, allocations: 0 / 0.7908 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002392/0.3053, allocations: 35.92 kB / 0.7908 GB, free: 7.824 MB / 0.6075 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.0003882/0.3057, allocations: 161.2 kB / 0.791 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001104/0.3058, allocations: 27.92 kB / 0.791 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3058, allocations: 0 / 0.791 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.311e-05/0.3058, allocations: 11.98 kB / 0.791 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001043/0.3059, allocations: 8.188 kB / 0.791 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002542/0.3062, allocations: 108.7 kB / 0.7911 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.3064, allocations: 0.677 MB / 0.7918 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.916e-05/0.3065, allocations: 4 kB / 0.7918 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.375e-05/0.3065, allocations: 7.438 kB / 0.7918 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.3065, allocations: 0 / 0.7918 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of Templates: time 0.003066/0.3096, allocations: 0.9273 MB / 0.7927 GB, free: 5.855 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & ./Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1) Environment - environmentSimulation: