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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001085/0.001085, allocations: 168.7 kB / 15.95 MB, free: 204 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.576/1.576, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.551/1.551, allocations: 252 MB / 0.5102 GB, free: 4.852 MB / 414.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.0007704/0.0007704, allocations: 19.94 kB / 0.6243 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6146/0.6153, allocations: 106.3 MB / 0.7281 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001411/0.6168, allocations: 0.9293 MB / 0.729 GB, free: 10.51 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007516/0.6176, allocations: 366.8 kB / 0.7294 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.035e-05/0.6176, allocations: 0 / 0.7294 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.845e-05/0.6177, allocations: 0 / 0.7294 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.691e-05/0.6177, allocations: 0 / 0.7294 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000472/0.6182, allocations: 75.78 kB / 0.7294 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.71e-05/0.6183, allocations: 12 kB / 0.7295 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.489e-05/0.6183, allocations: 3.984 kB / 0.7295 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.75e-05/0.6184, allocations: 7.938 kB / 0.7295 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.006e-05/0.6184, allocations: 8 kB / 0.7295 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.6184, allocations: 0 / 0.7295 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001776/0.6186, allocations: 91.84 kB / 0.7296 GB, free: 9.953 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.062e-05/0.6186, allocations: 7.922 kB / 0.7296 GB, free: 9.945 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.945e-05/0.6187, allocations: 29.7 kB / 0.7296 GB, free: 9.91 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.6188, allocations: 55.86 kB / 0.7297 GB, free: 9.855 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.6188, allocations: 0 / 0.7297 GB, free: 9.855 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.994e-06/0.6188, allocations: 0 / 0.7297 GB, free: 9.855 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.6188, allocations: 0 / 0.7297 GB, free: 9.855 MB / 0.545 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.0004415/0.6193, allocations: 371 kB / 0.73 GB, free: 9.441 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.6193, allocations: 8.031 kB / 0.73 GB, free: 9.434 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.158e-05/0.6194, allocations: 8 kB / 0.73 GB, free: 9.426 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.6195, allocations: 163 kB / 0.7302 GB, free: 9.227 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.6195, allocations: 0 / 0.7302 GB, free: 9.227 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.6195, allocations: 11.94 kB / 0.7302 GB, free: 9.215 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.876e-05/0.6196, allocations: 37.67 kB / 0.7302 GB, free: 9.172 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.6196, allocations: 0 / 0.7302 GB, free: 9.172 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.6197, allocations: 4 kB / 0.7302 GB, free: 9.168 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.6197, allocations: 0 / 0.7302 GB, free: 9.168 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.597e-05/0.6197, allocations: 4 kB / 0.7302 GB, free: 9.164 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001685/0.6199, allocations: 165.6 kB / 0.7304 GB, free: 8.953 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.245e-05/0.6199, allocations: 30.61 kB / 0.7304 GB, free: 8.914 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.044e-05/0.62, allocations: 16.8 kB / 0.7304 GB, free: 8.895 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.177e-06/0.62, allocations: 0 / 0.7304 GB, free: 8.895 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001513/0.6202, allocations: 55.48 kB / 0.7305 GB, free: 8.828 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.6202, allocations: 7.938 kB / 0.7305 GB, free: 8.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.000194/0.6204, allocations: 65.59 kB / 0.7306 GB, free: 8.75 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.6204, allocations: 51.41 kB / 0.7306 GB, free: 8.688 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.3e-05/0.6205, allocations: 101.8 kB / 0.7307 GB, free: 8.578 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.6205, allocations: 25.7 kB / 0.7307 GB, free: 8.547 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.357e-05/0.6205, allocations: 84.14 kB / 0.7308 GB, free: 8.461 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.6206, allocations: 11.84 kB / 0.7308 GB, free: 8.449 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/0.6206, allocations: 0 / 0.7308 GB, free: 8.449 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.6207, allocations: 326.9 kB / 0.7311 GB, free: 8.121 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.586e-05/0.6207, allocations: 4 kB / 0.7311 GB, free: 8.117 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.582e-05/0.6208, allocations: 35.42 kB / 0.7312 GB, free: 8.07 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.895e-05/0.6208, allocations: 15.98 kB / 0.7312 GB, free: 8.055 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.6208, allocations: 0 / 0.7312 GB, free: 8.055 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.568e-05/0.6209, allocations: 69.56 kB / 0.7313 GB, free: 7.98 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.6209, allocations: 9.562 kB / 0.7313 GB, free: 7.973 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.6209, allocations: 240 / 0.7313 GB, free: 7.973 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.6209, allocations: 0 / 0.7313 GB, free: 7.973 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.573e-05/0.621, allocations: 8 kB / 0.7313 GB, free: 7.965 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.621, allocations: 0 / 0.7313 GB, free: 7.965 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.574e-05/0.6211, allocations: 7.984 kB / 0.7313 GB, free: 7.957 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.6211, allocations: 3.984 kB / 0.7313 GB, free: 7.953 MB / 0.545 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.271e-05/0.6211, allocations: 117.8 kB / 0.7314 GB, free: 7.828 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.777e-06/0.6212, allocations: 11.94 kB / 0.7314 GB, free: 7.816 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.624e-05/0.6212, allocations: 7.5 kB / 0.7314 GB, free: 7.805 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.6212, allocations: 0 / 0.7314 GB, free: 7.805 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.6212, allocations: 0 / 0.7314 GB, free: 7.805 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.6212, allocations: 0 / 0.7314 GB, free: 7.805 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001051/0.6213, allocations: 157.6 kB / 0.7316 GB, free: 7.602 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.6213, allocations: 0 / 0.7316 GB, free: 7.602 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.022e-05/0.6214, allocations: 3.938 kB / 0.7316 GB, free: 7.598 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.6214, allocations: 4 kB / 0.7316 GB, free: 7.594 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.6214, allocations: 3.984 kB / 0.7316 GB, free: 7.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.6214, allocations: 0 / 0.7316 GB, free: 7.59 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.6214, allocations: 4 kB / 0.7316 GB, free: 7.586 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.6215, allocations: 77.12 kB / 0.7317 GB, free: 7.492 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.611e-05/0.6216, allocations: 88.98 kB / 0.7317 GB, free: 7.387 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.6216, allocations: 4 kB / 0.7317 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.852e-05/0.6216, allocations: 0 / 0.7317 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.234e-05/0.6216, allocations: 0 / 0.7317 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.6216, allocations: 0 / 0.7317 GB, free: 7.383 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.098e-05/0.6217, allocations: 87.28 kB / 0.7318 GB, free: 7.297 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6217, allocations: 0 / 0.7318 GB, free: 7.297 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002362/0.6219, allocations: 27.98 kB / 0.7319 GB, free: 7.27 MB / 0.545 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.0003347/0.6223, allocations: 161.1 kB / 0.732 GB, free: 7.113 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001161/0.6224, allocations: 36.17 kB / 0.732 GB, free: 7.078 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.6224, allocations: 0 / 0.732 GB, free: 7.078 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.356e-05/0.6224, allocations: 11.94 kB / 0.7321 GB, free: 7.066 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001368/0.6226, allocations: 7.234 kB / 0.7321 GB, free: 7.062 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002686/0.6229, allocations: 116.6 kB / 0.7322 GB, free: 6.926 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.6231, allocations: 0.677 MB / 0.7328 GB, free: 6.223 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.036e-05/0.6231, allocations: 0 / 0.7328 GB, free: 6.223 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.582e-05/0.6232, allocations: 15.5 kB / 0.7328 GB, free: 6.207 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.6232, allocations: 3.938 kB / 0.7328 GB, free: 6.203 MB / 0.545 GB Notification: Performance of Templates: time 0.002924/0.6261, allocations: 0.9235 MB / 0.7338 GB, free: 5.285 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: