Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.conf.json 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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.932/4.932, allocations: 0.5623 GB / 0.5769 GB, free: 3.305 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003885/0.003885, allocations: 359.7 kB / 0.644 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.268/4.268, allocations: 410.7 MB / 1.112 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00169/0.001689, allocations: 185.2 kB / 1.225 GB, free: 35.89 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005005/0.0005007, allocations: 16 kB / 1.348 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1551, allocations: 115.3 MB / 1.461 GB, free: 6.574 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.0006961/0.1558, allocations: 392.8 kB / 1.461 GB, free: 6.184 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001249/0.1571, allocations: 1.132 MB / 1.462 GB, free: 5.039 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.178e-05/0.1571, allocations: 4 kB / 1.462 GB, free: 5.035 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.64e-05/0.1572, allocations: 0 / 1.462 GB, free: 5.035 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.633e-05/0.1572, allocations: 7.922 kB / 1.462 GB, free: 5.027 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006679/0.1579, allocations: 195.1 kB / 1.462 GB, free: 4.84 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.158, allocations: 135.7 kB / 1.463 GB, free: 4.707 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.651e-05/0.1581, allocations: 11.98 kB / 1.463 GB, free: 4.695 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.86e-05/0.1582, allocations: 59.89 kB / 1.463 GB, free: 4.637 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.365e-05/0.1583, allocations: 39.88 kB / 1.463 GB, free: 4.598 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.206e-05/0.1584, allocations: 8 kB / 1.463 GB, free: 4.59 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.619e-05/0.1584, allocations: 23.98 kB / 1.463 GB, free: 4.566 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.641e-05/0.1585, allocations: 7.984 kB / 1.463 GB, free: 4.559 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.915e-05/0.1585, allocations: 45.64 kB / 1.463 GB, free: 4.508 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.1587, allocations: 104 kB / 1.463 GB, free: 4.406 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.249e-06/0.1587, allocations: 0 / 1.463 GB, free: 4.406 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.968e-06/0.1587, allocations: 4 kB / 1.463 GB, free: 4.402 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.1587, allocations: 0 / 1.463 GB, free: 4.402 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003487/0.1591, allocations: 406.7 kB / 1.463 GB, free: 3.945 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.1591, allocations: 8.031 kB / 1.463 GB, free: 3.938 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.494e-05/0.1592, allocations: 11.91 kB / 1.463 GB, free: 3.926 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.496e-05/0.1593, allocations: 163 kB / 1.463 GB, free: 3.727 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.1593, allocations: 8 kB / 1.463 GB, free: 3.719 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.849e-05/0.1593, allocations: 11.94 kB / 1.463 GB, free: 3.707 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.1595, allocations: 53.61 kB / 1.463 GB, free: 3.648 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.883e-06/0.1595, allocations: 4 kB / 1.463 GB, free: 3.645 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.635e-06/0.1595, allocations: 0 / 1.463 GB, free: 3.645 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.709e-06/0.1595, allocations: 4 kB / 1.463 GB, free: 3.641 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.587e-05/0.1596, allocations: 11.98 kB / 1.464 GB, free: 3.629 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004353/0.16, allocations: 364.6 kB / 1.464 GB, free: 3.223 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.859e-05/0.1601, allocations: 34.52 kB / 1.464 GB, free: 3.18 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.808e-05/0.1602, allocations: 20.94 kB / 1.464 GB, free: 3.156 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.1602, allocations: 3.938 kB / 1.464 GB, free: 3.152 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000153/0.1604, allocations: 75.38 kB / 1.464 GB, free: 3.066 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.363e-06/0.1604, allocations: 0 / 1.464 GB, free: 3.066 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0002493/0.1606, allocations: 105.5 kB / 1.464 GB, free: 2.957 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.441e-05/0.1607, allocations: 51.41 kB / 1.464 GB, free: 2.895 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.211e-05/0.1608, allocations: 122 kB / 1.464 GB, free: 2.762 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.237e-05/0.1608, allocations: 37.7 kB / 1.464 GB, free: 2.719 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.304e-05/0.1609, allocations: 92.31 kB / 1.464 GB, free: 2.625 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.789e-05/0.1609, allocations: 11.81 kB / 1.464 GB, free: 2.613 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.388e-05/0.1609, allocations: 4 kB / 1.464 GB, free: 2.609 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.302e-05/0.161, allocations: 322.8 kB / 1.465 GB, free: 2.285 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/0.1612, allocations: 55.97 kB / 1.465 GB, free: 2.23 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001782/0.1613, allocations: 96.12 kB / 1.465 GB, free: 2.125 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/0.1615, allocations: 115.3 kB / 1.465 GB, free: 2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.072e-06/0.1616, allocations: 4 kB / 1.465 GB, free: 1.996 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004944/0.1621, allocations: 269.2 kB / 1.465 GB, free: 1.715 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.461e-05/0.1621, allocations: 67.39 kB / 1.465 GB, free: 1.637 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.093e-06/0.1621, allocations: 0 / 1.465 GB, free: 1.637 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.1622, allocations: 8.125 kB / 1.465 GB, free: 1.629 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.311e-05/0.1622, allocations: 4 kB / 1.465 GB, free: 1.625 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.597e-06/0.1622, allocations: 0 / 1.465 GB, free: 1.625 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004248/0.1626, allocations: 75.89 kB / 1.465 GB, free: 1.551 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.025e-05/0.1627, allocations: 15.98 kB / 1.465 GB, free: 1.535 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,nand1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 9.222e-05/0.1628, allocations: 125.7 kB / 1.465 GB, free: 1.402 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.991e-05/0.1628, allocations: 11.89 kB / 1.466 GB, free: 1.391 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.665e-05/0.1629, allocations: 8.375 kB / 1.466 GB, free: 1.387 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.1629, allocations: 0 / 1.466 GB, free: 1.387 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1629, allocations: 4 kB / 1.466 GB, free: 1.383 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1629, allocations: 4 kB / 1.466 GB, free: 1.379 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000182/0.1631, allocations: 173.6 kB / 1.466 GB, free: 1.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.261e-06/0.1631, allocations: 0 / 1.466 GB, free: 1.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.152e-05/0.1631, allocations: 4 kB / 1.466 GB, free: 1.156 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.594e-06/0.1631, allocations: 0 / 1.466 GB, free: 1.156 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.092e-06/0.1632, allocations: 0 / 1.466 GB, free: 1.156 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.708e-06/0.1632, allocations: 0 / 1.466 GB, free: 1.156 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.403e-06/0.1632, allocations: 7.938 kB / 1.466 GB, free: 1.148 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002102/0.1634, allocations: 117 kB / 1.466 GB, free: 1.016 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.165e-05/0.1635, allocations: 85.02 kB / 1.466 GB, free: 0.9141 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.1635, allocations: 3.938 kB / 1.466 GB, free: 0.9102 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.885e-05/0.1635, allocations: 0 / 1.466 GB, free: 0.9102 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/0.1636, allocations: 11.98 kB / 1.466 GB, free: 0.8984 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.1636, allocations: 4 kB / 1.466 GB, free: 0.8945 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.772e-05/0.1637, allocations: 91.27 kB / 1.466 GB, free: 0.8047 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.08e-07/0.1637, allocations: 0 / 1.466 GB, free: 0.8047 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003207/0.164, allocations: 24 kB / 1.466 GB, free: 0.7812 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nand1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.000181/0.1642, allocations: 115.8 kB / 1.466 GB, free: 0.6562 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004556/0.1647, allocations: 242.7 kB / 1.466 GB, free: 404 kB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.68e-06/0.1647, allocations: 4 kB / 1.466 GB, free: 400 kB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.434e-05/0.1648, allocations: 20.28 kB / 1.466 GB, free: 380 kB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.1651, allocations: 23.88 kB / 1.466 GB, free: 356 kB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003804/0.1655, allocations: 179.8 kB / 1.467 GB, free: 156 kB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/0.1659, allocations: 0.6887 MB / 1.467 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.851e-05/0.1659, allocations: 4 kB / 1.467 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.712e-05/0.166, allocations: 11.44 kB / 1.467 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of SimCode: time 1.506e-06/0.166, allocations: 0 / 1.467 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of Templates: time 0.005326/0.1713, allocations: 1.681 MB / 1.469 GB, free: 13.77 MB / 0.6198 GB