Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.997/2.997, allocations: 287.5 MB / 302.4 MB, free: 8.195 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00155/0.001549, allocations: 181 kB / 371 MB, free: 10.77 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.108/2.108, allocations: 205.4 MB / 0.6297 GB, free: 10.4 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001589/0.001589, allocations: 98.78 kB / 0.743 GB, free: 6.391 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004705/0.0004706, allocations: 15.77 kB / 0.8658 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2451, allocations: 115.3 MB / 0.9784 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9423/1.187, allocations: 137.9 MB / 1.113 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/1.188, allocations: 76.27 kB / 1.113 GB, free: 15.64 MB / 0.6823 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.008575/1.196, allocations: 2.025 MB / 1.115 GB, free: 31.26 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.815e-06/1.196, allocations: 0 / 1.115 GB, free: 31.26 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.164e-06/1.196, allocations: 0.5312 kB / 1.115 GB, free: 31.26 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.0004902/1.197, allocations: 381.4 kB / 1.115 GB, free: 30.86 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/1.197, allocations: 7.75 kB / 1.115 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.952e-05/1.197, allocations: 3.625 kB / 1.116 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/1.197, allocations: 169.7 kB / 1.116 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/1.197, allocations: 3.938 kB / 1.116 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/1.197, allocations: 0 / 1.116 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/1.197, allocations: 42.67 kB / 1.116 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/1.197, allocations: 0 / 1.116 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/1.197, allocations: 4 kB / 1.116 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/1.197, allocations: 0 / 1.116 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.81e-05/1.197, allocations: 3.906 kB / 1.116 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001633/1.198, allocations: 162.8 kB / 1.116 GB, free: 30.42 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.646e-05/1.198, allocations: 32.03 kB / 1.116 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/1.198, allocations: 0 / 1.116 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001358/1.198, allocations: 59.59 kB / 1.116 GB, free: 30.34 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.744e-06/1.198, allocations: 0 / 1.116 GB, free: 30.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0002397/1.198, allocations: 63.92 kB / 1.116 GB, free: 30.31 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/1.198, allocations: 58.25 kB / 1.116 GB, free: 30.25 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.214e-05/1.198, allocations: 92.81 kB / 1.116 GB, free: 30.15 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/1.198, allocations: 29.2 kB / 1.116 GB, free: 30.12 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.778e-05/1.198, allocations: 80.14 kB / 1.116 GB, free: 30.04 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/1.198, allocations: 14.2 kB / 1.116 GB, free: 30.04 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.982e-06/1.198, allocations: 6.625 kB / 1.116 GB, free: 30.03 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001298/1.199, allocations: 310.8 kB / 1.117 GB, free: 29.72 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.695e-05/1.199, allocations: 10.5 kB / 1.117 GB, free: 29.72 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.273e-05/1.199, allocations: 34.61 kB / 1.117 GB, free: 29.68 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.869e-05/1.199, allocations: 18.12 kB / 1.117 GB, free: 29.68 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/1.199, allocations: 4 kB / 1.117 GB, free: 29.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001261/1.199, allocations: 70.06 kB / 1.117 GB, free: 29.63 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/1.199, allocations: 6.656 kB / 1.117 GB, free: 29.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/1.199, allocations: 0 / 1.117 GB, free: 29.63 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/1.199, allocations: 3.875 kB / 1.117 GB, free: 29.63 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.19e-05/1.199, allocations: 3.781 kB / 1.117 GB, free: 29.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/1.199, allocations: 3.844 kB / 1.117 GB, free: 29.63 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.223e-05/1.199, allocations: 3.938 kB / 1.117 GB, free: 29.63 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/1.199, allocations: 3.906 kB / 1.117 GB, free: 29.63 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 0.0001008/1.199, allocations: 127.9 kB / 1.117 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.108e-05/1.199, allocations: 0 / 1.117 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.649e-05/1.199, allocations: 6.859 kB / 1.117 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.684e-05/1.199, allocations: 0.75 kB / 1.117 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/1.199, allocations: 3.984 kB / 1.117 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/1.199, allocations: 3.844 kB / 1.117 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/1.2, allocations: 147.2 kB / 1.117 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/1.2, allocations: 7.828 kB / 1.117 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.819e-05/1.2, allocations: 7.938 kB / 1.117 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/1.2, allocations: 4 kB / 1.117 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/1.2, allocations: 0 / 1.117 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/1.2, allocations: 3.844 kB / 1.117 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.2, allocations: 2.906 kB / 1.117 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001604/1.2, allocations: 79.47 kB / 1.117 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.505e-05/1.2, allocations: 84.97 kB / 1.117 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/1.2, allocations: 0 / 1.117 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.995e-05/1.2, allocations: 10.36 kB / 1.117 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.818e-05/1.2, allocations: 6.938 kB / 1.117 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/1.2, allocations: 0 / 1.117 GB, free: 29.12 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.918e-05/1.2, allocations: 79.25 kB / 1.117 GB, free: 29.05 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.31e-07/1.2, allocations: 0 / 1.117 GB, free: 29.05 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003603/1.2, allocations: 37.47 kB / 1.117 GB, free: 29.04 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.0004467/1.201, allocations: 168.8 kB / 1.117 GB, free: 28.93 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001315/1.201, allocations: 30.58 kB / 1.118 GB, free: 28.93 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/1.201, allocations: 0 / 1.118 GB, free: 28.93 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.825e-05/1.201, allocations: 13.08 kB / 1.118 GB, free: 28.93 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001086/1.201, allocations: 0 / 1.118 GB, free: 28.93 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003115/1.202, allocations: 118.1 kB / 1.118 GB, free: 28.82 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/1.202, allocations: 0.6875 MB / 1.118 GB, free: 28.11 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.303e-05/1.202, allocations: 0 / 1.118 GB, free: 28.11 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.863e-05/1.202, allocations: 11.28 kB / 1.118 GB, free: 28.11 MB / 0.698 GB Notification: Performance of SimCode: time 6.41e-07/1.202, allocations: 0 / 1.118 GB, free: 28.11 MB / 0.698 GB Notification: Performance of Templates: time 0.004178/1.206, allocations: 1.112 MB / 1.119 GB, free: 27.99 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & ./Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1)