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.441/1.441, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.001056/0.001056, allocations: 182.1 kB / 326.5 MB, free: 2.672 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.524/1.524, allocations: 205 MB / 0.5766 GB, free: 21 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.0007172/0.0007172, allocations: 92.8 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002912/0.0002912, allocations: 11.98 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1642, allocations: 105.4 MB / 0.8967 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001043/0.1652, allocations: 0.9435 MB / 0.8976 GB, free: 67.24 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000654/0.1659, allocations: 400.3 kB / 0.898 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.896e-05/0.166, allocations: 0 / 0.898 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.385e-05/0.166, allocations: 0 / 0.898 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.122e-05/0.166, allocations: 4 kB / 0.898 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000381/0.1664, allocations: 75.8 kB / 0.8981 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.361e-05/0.1665, allocations: 15.98 kB / 0.8981 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.423e-05/0.1665, allocations: 0 / 0.8981 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.773e-05/0.1665, allocations: 7.938 kB / 0.8981 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.473e-05/0.1666, allocations: 15.91 kB / 0.8981 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.1666, allocations: 4 kB / 0.8981 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001487/0.1667, allocations: 87.84 kB / 0.8982 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.378e-05/0.1668, allocations: 4 kB / 0.8982 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.744e-05/0.1668, allocations: 4 kB / 0.8982 GB, free: 66.63 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.1669, allocations: 64.12 kB / 0.8983 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1669, allocations: 4 kB / 0.8983 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1669, allocations: 0 / 0.8983 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.467e-06/0.1669, allocations: 0 / 0.8983 GB, free: 66.57 MB / 0.6042 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.0003258/0.1673, allocations: 370.9 kB / 0.8987 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.1673, allocations: 8.031 kB / 0.8987 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.116e-05/0.1673, allocations: 4.938 kB / 0.8987 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.45e-05/0.1674, allocations: 164.4 kB / 0.8988 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.1674, allocations: 384 / 0.8988 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.1675, allocations: 8.375 kB / 0.8988 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.193e-05/0.1675, allocations: 38.19 kB / 0.8989 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.1676, allocations: 192 / 0.8989 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.1676, allocations: 3.938 kB / 0.8989 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.1676, allocations: 3.984 kB / 0.8989 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.629e-05/0.1676, allocations: 8 kB / 0.8989 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.859e-05/0.1677, allocations: 153.7 kB / 0.899 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.16e-05/0.1678, allocations: 22.58 kB / 0.8991 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.544e-05/0.1678, allocations: 20.98 kB / 0.8991 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.698e-06/0.1678, allocations: 3.938 kB / 0.8991 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001116/0.168, allocations: 55.39 kB / 0.8991 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.168, allocations: 0 / 0.8991 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.00016/0.1681, allocations: 73.52 kB / 0.8992 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.1682, allocations: 51.41 kB / 0.8992 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.411e-05/0.1682, allocations: 101.8 kB / 0.8993 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.135e-06/0.1682, allocations: 33.64 kB / 0.8994 GB, free: 65.26 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.268e-05/0.1682, allocations: 88.08 kB / 0.8995 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.689e-05/0.1683, allocations: 7.891 kB / 0.8995 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.107e-05/0.1683, allocations: 17.72 kB / 0.8995 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.552e-05/0.1683, allocations: 314.8 kB / 0.8998 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.557e-05/0.1684, allocations: 8 kB / 0.8998 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.622e-05/0.1684, allocations: 39.55 kB / 0.8998 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.386e-05/0.1684, allocations: 39.38 kB / 0.8999 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1684, allocations: 0 / 0.8999 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.003e-05/0.1685, allocations: 65.62 kB / 0.8999 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.1685, allocations: 12.03 kB / 0.8999 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1686, allocations: 0 / 0.8999 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.1686, allocations: 11.94 kB / 0.9 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.97e-05/0.1686, allocations: 7.984 kB / 0.9 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1686, allocations: 7.938 kB / 0.9 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.437e-05/0.1687, allocations: 11.84 kB / 0.9 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.1687, allocations: 4 kB / 0.9 GB, free: 64.59 MB / 0.6042 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 (y,$PRE.y,curSeed,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.493e-05/0.1687, allocations: 105.8 kB / 0.9001 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.103e-05/0.1688, allocations: 7.938 kB / 0.9001 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.797e-05/0.1688, allocations: 11.5 kB / 0.9001 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1688, allocations: 0 / 0.9001 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1688, allocations: 0 / 0.9001 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1688, allocations: 3.984 kB / 0.9001 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.647e-05/0.1689, allocations: 145.7 kB / 0.9002 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.1689, allocations: 3.984 kB / 0.9003 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.157e-05/0.1689, allocations: 4 kB / 0.9003 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1689, allocations: 3.938 kB / 0.9003 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.1689, allocations: 0 / 0.9003 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1689, allocations: 0 / 0.9003 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1689, allocations: 0 / 0.9003 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.417e-05/0.169, allocations: 97.05 kB / 0.9004 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.394e-05/0.169, allocations: 77.11 kB / 0.9004 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.1691, allocations: 3.938 kB / 0.9004 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.921e-05/0.1691, allocations: 0 / 0.9004 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.118e-05/0.1691, allocations: 4 kB / 0.9004 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.1691, allocations: 7.922 kB / 0.9004 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.637e-05/0.1691, allocations: 79.28 kB / 0.9005 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1692, allocations: 0 / 0.9005 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002256/0.1694, allocations: 32 kB / 0.9005 GB, free: 63.91 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002714/0.1697, allocations: 162.1 kB / 0.9007 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.725e-05/0.1698, allocations: 31.92 kB / 0.9007 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1698, allocations: 4.281 kB / 0.9007 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.297e-05/0.1698, allocations: 15.98 kB / 0.9008 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001259/0.1699, allocations: 0 / 0.9008 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001878/0.1701, allocations: 136.4 kB / 0.9009 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.707e-05/0.1702, allocations: 0.677 MB / 0.9015 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.284e-05/0.1702, allocations: 11.38 kB / 0.9016 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of SimCode: time 3e-07/0.1702, allocations: 4 kB / 0.9016 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of Templates: time 0.002197/0.1725, allocations: 1.135 MB / 0.9027 GB, free: 61.69 MB / 0.6042 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)