Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.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.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.423/1.423, allocations: 252 MB / 268 MB, free: 10.86 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.001699/0.0017, allocations: 182.4 kB / 327.6 MB, free: 2.086 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.824/1.824, allocations: 205.4 MB / 0.5786 GB, free: 20.18 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.0008272/0.0008273, allocations: 90.33 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003305/0.0003306, allocations: 11.94 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1601, allocations: 106.3 MB / 0.9015 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001273/0.1615, allocations: 1.099 MB / 0.9025 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003654/0.1618, allocations: 197.6 kB / 0.9027 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.754e-05/0.1619, allocations: 4 kB / 0.9027 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.727e-05/0.1619, allocations: 7.922 kB / 0.9027 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.291e-05/0.162, allocations: 11.92 kB / 0.9028 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000129/0.1621, allocations: 15.98 kB / 0.9028 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.339e-05/0.1622, allocations: 55.73 kB / 0.9028 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.478e-05/0.1623, allocations: 15.98 kB / 0.9028 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.411e-05/0.1624, allocations: 11.94 kB / 0.9028 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.655e-05/0.1624, allocations: 19.91 kB / 0.9029 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.1625, allocations: 4 kB / 0.9029 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.122e-05/0.1625, allocations: 0 / 0.9029 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.964e-05/0.1625, allocations: 8 kB / 0.9029 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.416e-05/0.1626, allocations: 53.53 kB / 0.9029 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.241e-05/0.1626, allocations: 39.92 kB / 0.903 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1626, allocations: 0 / 0.903 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1626, allocations: 0 / 0.903 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.1626, allocations: 0 / 0.903 GB, free: 61.92 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004333/0.1631, allocations: 367.6 kB / 0.9033 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.1631, allocations: 11.97 kB / 0.9033 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.437e-05/0.1632, allocations: 8.938 kB / 0.9033 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.586e-05/0.1633, allocations: 176.2 kB / 0.9035 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.1633, allocations: 8.359 kB / 0.9035 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.1633, allocations: 4.375 kB / 0.9035 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.283e-05/0.1634, allocations: 54.23 kB / 0.9036 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.1634, allocations: 192 / 0.9036 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.1634, allocations: 3.938 kB / 0.9036 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.1634, allocations: 3.938 kB / 0.9036 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.183e-05/0.1635, allocations: 19.98 kB / 0.9036 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003387/0.1639, allocations: 288.8 kB / 0.9039 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.442e-05/0.164, allocations: 50.5 kB / 0.9039 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.866e-05/0.164, allocations: 12.98 kB / 0.9039 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/0.164, allocations: 4 kB / 0.9039 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001381/0.1641, allocations: 71.3 kB / 0.904 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.1642, allocations: 0 / 0.904 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0001868/0.1643, allocations: 89.61 kB / 0.9041 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.1644, allocations: 55.48 kB / 0.9041 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.553e-05/0.1645, allocations: 121.7 kB / 0.9043 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.507e-06/0.1645, allocations: 25.7 kB / 0.9043 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.843e-05/0.1645, allocations: 84.14 kB / 0.9044 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.359e-05/0.1645, allocations: 11.89 kB / 0.9044 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-06/0.1645, allocations: 8 kB / 0.9044 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.015e-05/0.1646, allocations: 314.8 kB / 0.9047 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.876e-05/0.1646, allocations: 16 kB / 0.9047 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.462e-05/0.1647, allocations: 30.56 kB / 0.9047 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.997e-05/0.1647, allocations: 54.44 kB / 0.9048 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1647, allocations: 4 kB / 0.9048 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001/0.1648, allocations: 81.53 kB / 0.9049 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.1648, allocations: 6.656 kB / 0.9049 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1649, allocations: 0 / 0.9049 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.1649, allocations: 0 / 0.9049 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.891e-05/0.1649, allocations: 7.938 kB / 0.9049 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.1649, allocations: 4 kB / 0.9049 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.913e-05/0.165, allocations: 15.92 kB / 0.9049 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.1651, allocations: 8.062 kB / 0.9049 GB, free: 59.7 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,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): 9 * 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 5.588e-05/0.1651, allocations: 119.9 kB / 0.905 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.202e-05/0.1651, allocations: 7.906 kB / 0.905 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.618e-05/0.1652, allocations: 16.3 kB / 0.905 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1652, allocations: 0 / 0.905 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1652, allocations: 4 kB / 0.905 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1652, allocations: 0 / 0.905 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.396e-05/0.1653, allocations: 181.6 kB / 0.9052 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1653, allocations: 0 / 0.9052 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.596e-06/0.1653, allocations: 11.94 kB / 0.9052 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1653, allocations: 0 / 0.9052 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.1653, allocations: 0 / 0.9052 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.1653, allocations: 4.703 kB / 0.9052 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1653, allocations: 3.938 kB / 0.9052 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001027/0.1654, allocations: 105 kB / 0.9053 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.92e-05/0.1655, allocations: 81.09 kB / 0.9054 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.1655, allocations: 3.984 kB / 0.9054 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.249e-05/0.1656, allocations: 23.98 kB / 0.9054 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.202e-05/0.1656, allocations: 7.984 kB / 0.9054 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.1656, allocations: 0 / 0.9054 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.013e-05/0.1657, allocations: 91.27 kB / 0.9055 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.1e-07/0.1657, allocations: 0 / 0.9055 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001827/0.1659, allocations: 19.91 kB / 0.9056 GB, free: 58.94 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 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.628e-05/0.166, allocations: 99.25 kB / 0.9056 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001011/0.1661, allocations: 51.91 kB / 0.9057 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.1661, allocations: 0 / 0.9057 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.594e-05/0.1661, allocations: 27.92 kB / 0.9057 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.1664, allocations: 15.94 kB / 0.9057 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000285/0.1666, allocations: 200.2 kB / 0.9059 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.707e-05/0.1667, allocations: 0.6878 MB / 0.9066 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.749e-05/0.1668, allocations: 7.438 kB / 0.9066 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of SimCode: time 3.6e-07/0.1668, allocations: 4 kB / 0.9066 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of Templates: time 0.001894/0.1687, allocations: 0.9039 MB / 0.9075 GB, free: 56.89 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1)