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.296/1.296, allocations: 251.5 MB / 267.4 MB, free: 11.09 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.0009143/0.0009144, allocations: 169.1 kB / 326.5 MB, free: 2.723 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.457/1.457, allocations: 205 MB / 0.5766 GB, free: 21.04 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.0007916/0.0007918, allocations: 96.47 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002853/0.0002853, allocations: 12.56 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.158, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001145/0.1592, allocations: 0.9396 MB / 0.8976 GB, free: 67.27 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006645/0.1599, allocations: 396.3 kB / 0.898 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.854e-05/0.1599, allocations: 4 kB / 0.898 GB, free: 66.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.529e-05/0.1599, allocations: 0 / 0.898 GB, free: 66.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.257e-05/0.1599, allocations: 7.984 kB / 0.898 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003675/0.1603, allocations: 75.73 kB / 0.8981 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.029e-05/0.1604, allocations: 15.98 kB / 0.8981 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.316e-05/0.1604, allocations: 0 / 0.8981 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.654e-05/0.1604, allocations: 8 kB / 0.8981 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.257e-05/0.1605, allocations: 11.92 kB / 0.8981 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.1605, allocations: 0 / 0.8981 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.1606, allocations: 91.84 kB / 0.8982 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.16e-05/0.1606, allocations: 0 / 0.8982 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.637e-05/0.1607, allocations: 15.97 kB / 0.8982 GB, free: 66.65 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.1608, allocations: 80.11 kB / 0.8983 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1608, allocations: 0 / 0.8983 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1608, allocations: 0 / 0.8983 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.995e-06/0.1608, 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.0003296/0.1612, allocations: 373 kB / 0.8987 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.1612, allocations: 12.03 kB / 0.8987 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.04e-05/0.1612, allocations: 0.9375 kB / 0.8987 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.068e-05/0.1613, allocations: 160.4 kB / 0.8988 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.668e-05/0.1613, allocations: 4.375 kB / 0.8988 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.1614, allocations: 16.3 kB / 0.8989 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.449e-05/0.1615, allocations: 34.25 kB / 0.8989 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.1615, allocations: 192 / 0.8989 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.1615, allocations: 3.938 kB / 0.8989 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1615, allocations: 4 kB / 0.8989 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.324e-05/0.1615, allocations: 0 / 0.8989 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.85e-05/0.1616, allocations: 153.7 kB / 0.8991 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.08e-05/0.1617, allocations: 38.55 kB / 0.8991 GB, free: 65.63 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.302e-05/0.1617, allocations: 12.86 kB / 0.8991 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.075e-06/0.1617, allocations: 0 / 0.8991 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001119/0.1619, allocations: 55.48 kB / 0.8992 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1619, allocations: 0 / 0.8992 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0001543/0.162, allocations: 73.64 kB / 0.8992 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.798e-05/0.1621, allocations: 59.41 kB / 0.8993 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.081e-05/0.1621, allocations: 93.86 kB / 0.8994 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.935e-06/0.1621, allocations: 29.7 kB / 0.8994 GB, free: 65.26 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.409e-05/0.1621, allocations: 84.14 kB / 0.8995 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.481e-05/0.1622, allocations: 3.906 kB / 0.8995 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.138e-05/0.1622, allocations: 21.7 kB / 0.8995 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.731e-05/0.1622, allocations: 310.8 kB / 0.8998 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.476e-05/0.1622, allocations: 4 kB / 0.8998 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.523e-05/0.1623, allocations: 43.53 kB / 0.8998 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.417e-05/0.1623, allocations: 47.36 kB / 0.8999 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1623, allocations: 0 / 0.8999 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.558e-05/0.1624, allocations: 73.61 kB / 0.9 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.1624, allocations: 8.031 kB / 0.9 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.1624, allocations: 11.88 kB / 0.9 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.1625, allocations: 0 / 0.9 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.511e-05/0.1625, allocations: 12 kB / 0.9 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.1625, allocations: 0 / 0.9 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.409e-05/0.1626, allocations: 7.844 kB / 0.9 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.1626, 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.789e-05/0.1626, allocations: 113.8 kB / 0.9001 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.789e-06/0.1626, allocations: 3.984 kB / 0.9001 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.802e-05/0.1627, allocations: 11.44 kB / 0.9001 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1627, allocations: 3.938 kB / 0.9001 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1627, allocations: 0 / 0.9001 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.517e-05/0.1627, allocations: 81.11 kB / 0.9002 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.1627, allocations: 0 / 0.9002 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.101e-05/0.1627, allocations: 4 kB / 0.9002 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.209e-05/0.1628, allocations: 7.922 kB / 0.9002 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.436e-05/0.1629, allocations: 129 kB / 0.9003 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 9.109e-05/0.163, allocations: 238.8 kB / 0.9006 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.31e-05/0.163, allocations: 4 kB / 0.9006 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.44e-05/0.163, allocations: 91.2 kB / 0.9007 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of Backend: time 2.81e-07/0.163, allocations: 0 / 0.9007 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004424/0.1635, allocations: 161.4 kB / 0.9008 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0001934/0.1637, allocations: 0.5484 MB / 0.9013 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of Templates: time 0.002355/0.166, allocations: 0.9524 MB / 0.9023 GB, free: 62.18 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)