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.463/1.463, allocations: 252 MB / 268 MB, free: 10.88 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.0009848/0.0009847, allocations: 179.1 kB / 327.6 MB, free: 2.105 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.47/1.47, allocations: 205.4 MB / 0.5786 GB, free: 20.16 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.0007323/0.0007322, allocations: 95.55 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002777/0.0002778, allocations: 8.875 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1502, allocations: 106.3 MB / 0.9014 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001049/0.1513, allocations: 0.9388 MB / 0.9024 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005989/0.1519, allocations: 384.9 kB / 0.9027 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.659e-05/0.152, allocations: 4 kB / 0.9027 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.169e-05/0.152, allocations: 0 / 0.9027 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.867e-05/0.152, allocations: 3.938 kB / 0.9027 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003431/0.1524, allocations: 67.86 kB / 0.9028 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.195e-05/0.1524, allocations: 19.92 kB / 0.9028 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.028e-05/0.1525, allocations: 0 / 0.9028 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.851e-05/0.1525, allocations: 11.98 kB / 0.9028 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.345e-05/0.1525, allocations: 11.92 kB / 0.9028 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.768e-06/0.1525, allocations: 3.938 kB / 0.9028 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.1527, allocations: 87.91 kB / 0.9029 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.39e-05/0.1527, allocations: 4 kB / 0.9029 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.78e-05/0.1528, allocations: 37.64 kB / 0.903 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.68e-05/0.1529, allocations: 55.91 kB / 0.903 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1529, allocations: 0 / 0.903 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1529, allocations: 0 / 0.903 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.487e-06/0.1529, allocations: 0 / 0.903 GB, free: 61.88 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.0003242/0.1532, allocations: 369.2 kB / 0.9034 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.1532, allocations: 12.03 kB / 0.9034 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.648e-05/0.1533, allocations: 4.875 kB / 0.9034 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.89e-05/0.1533, allocations: 164.4 kB / 0.9035 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.1534, allocations: 4.375 kB / 0.9035 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.1534, allocations: 384 / 0.9035 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.401e-05/0.1535, allocations: 38.25 kB / 0.9036 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.1535, allocations: 4.172 kB / 0.9036 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.709e-06/0.1535, allocations: 11.92 kB / 0.9036 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1535, allocations: 0 / 0.9036 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.398e-05/0.1535, allocations: 0 / 0.9036 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.353e-05/0.1536, allocations: 153.7 kB / 0.9037 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.094e-05/0.1537, allocations: 38.55 kB / 0.9038 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.354e-05/0.1537, allocations: 12.8 kB / 0.9038 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.177e-06/0.1538, allocations: 4 kB / 0.9038 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001104/0.1539, allocations: 51.5 kB / 0.9038 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.1539, allocations: 0 / 0.9038 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0001596/0.1541, allocations: 77.45 kB / 0.9039 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.333e-05/0.1541, allocations: 55.41 kB / 0.904 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.487e-05/0.1541, allocations: 102.1 kB / 0.9041 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.915e-06/0.1542, allocations: 25.7 kB / 0.9041 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.554e-05/0.1542, allocations: 84.12 kB / 0.9042 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.1542, allocations: 11.84 kB / 0.9042 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/0.1542, allocations: 0 / 0.9042 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.76e-05/0.1542, allocations: 314.8 kB / 0.9045 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.607e-05/0.1543, allocations: 16.11 kB / 0.9045 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.354e-05/0.1543, allocations: 31.42 kB / 0.9045 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.381e-05/0.1543, allocations: 47.36 kB / 0.9046 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.1544, allocations: 0 / 0.9046 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.667e-05/0.1544, allocations: 73.62 kB / 0.9046 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.1545, allocations: 7.938 kB / 0.9047 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1545, allocations: 0 / 0.9047 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.1545, allocations: 7.938 kB / 0.9047 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.695e-05/0.1545, allocations: 4 kB / 0.9047 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.1546, allocations: 11.92 kB / 0.9047 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.38e-05/0.1546, allocations: 7.906 kB / 0.9047 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.1546, allocations: 4 kB / 0.9047 GB, free: 59.92 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 ($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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.663e-05/0.1546, allocations: 109.9 kB / 0.9048 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.687e-06/0.1547, allocations: 7.938 kB / 0.9048 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.82e-05/0.1547, allocations: 7.5 kB / 0.9048 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.1547, allocations: 0 / 0.9048 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1547, allocations: 0 / 0.9048 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.1547, allocations: 0 / 0.9048 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.45e-05/0.1548, allocations: 149.7 kB / 0.905 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.1548, allocations: 0 / 0.905 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.132e-05/0.1548, allocations: 7.938 kB / 0.905 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1548, allocations: 4.172 kB / 0.905 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.1548, allocations: 7.984 kB / 0.905 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1548, allocations: 3.938 kB / 0.905 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1548, allocations: 0 / 0.905 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.3e-05/0.1549, allocations: 81.11 kB / 0.9051 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.479e-05/0.155, allocations: 85.09 kB / 0.9051 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.155, allocations: 7.938 kB / 0.9051 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.924e-05/0.155, allocations: 0 / 0.9051 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.034e-05/0.155, allocations: 0 / 0.9051 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.229e-06/0.155, allocations: 8 kB / 0.9051 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.56e-05/0.1551, allocations: 79.27 kB / 0.9052 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.01e-07/0.1551, allocations: 0 / 0.9052 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002293/0.1553, allocations: 32 kB / 0.9053 GB, free: 59.24 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.0002581/0.1556, allocations: 157.4 kB / 0.9054 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.309e-05/0.1557, allocations: 36.02 kB / 0.9054 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1557, allocations: 0 / 0.9054 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.087e-05/0.1557, allocations: 15.94 kB / 0.9055 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001223/0.1558, allocations: 9.25 kB / 0.9055 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00018/0.156, allocations: 132.4 kB / 0.9056 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.482e-05/0.1561, allocations: 0.677 MB / 0.9063 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.276e-05/0.1561, allocations: 11.62 kB / 0.9063 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of SimCode: time 3.41e-07/0.1561, allocations: 4 kB / 0.9063 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of Templates: time 0.002037/0.1582, allocations: 1.132 MB / 0.9074 GB, free: 57.02 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)