Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.691/1.691, allocations: 288.3 MB / 303.2 MB, free: 8.105 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001173/0.001173, allocations: 175.6 kB / 371.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.852/1.852, allocations: 205.4 MB / 0.6306 GB, free: 9.996 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009337/0.0009339, allocations: 94.88 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005167/0.0005167, allocations: 12.19 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2559, allocations: 115.3 MB / 0.9794 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8535/1.109, allocations: 138.1 MB / 1.114 GB, free: 16.42 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/1.11, allocations: 72.52 kB / 1.114 GB, free: 16.42 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008965/1.119, allocations: 2.921 MB / 1.117 GB, free: 31.98 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.863e-06/1.119, allocations: 0 / 1.117 GB, free: 31.98 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.338e-06/1.119, allocations: 0 / 1.117 GB, free: 31.98 MB / 0.698 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.0005669/1.119, allocations: 418.8 kB / 1.118 GB, free: 31.56 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/1.119, allocations: 11.67 kB / 1.118 GB, free: 31.55 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.052e-05/1.12, allocations: 11.62 kB / 1.118 GB, free: 31.55 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/1.12, allocations: 181.4 kB / 1.118 GB, free: 31.34 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/1.12, allocations: 3.844 kB / 1.118 GB, free: 31.34 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.525e-05/1.12, allocations: 7.75 kB / 1.118 GB, free: 31.34 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/1.12, allocations: 51.94 kB / 1.118 GB, free: 31.31 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/1.12, allocations: 0 / 1.118 GB, free: 31.31 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/1.12, allocations: 0 / 1.118 GB, free: 31.31 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/1.12, allocations: 3.938 kB / 1.118 GB, free: 31.31 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.472e-05/1.12, allocations: 18.16 kB / 1.118 GB, free: 31.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005568/1.121, allocations: 356.7 kB / 1.118 GB, free: 31.03 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.935e-05/1.121, allocations: 31.66 kB / 1.118 GB, free: 31.01 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-06/1.121, allocations: 3.844 kB / 1.118 GB, free: 31.01 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001824/1.121, allocations: 81.38 kB / 1.118 GB, free: 30.96 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/1.121, allocations: 0 / 1.118 GB, free: 30.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.000262/1.121, allocations: 99.25 kB / 1.118 GB, free: 30.92 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/1.121, allocations: 61 kB / 1.118 GB, free: 30.86 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.234e-05/1.121, allocations: 119.5 kB / 1.119 GB, free: 30.75 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/1.121, allocations: 29.52 kB / 1.119 GB, free: 30.72 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.174e-05/1.121, allocations: 91.83 kB / 1.119 GB, free: 30.64 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.429e-05/1.122, allocations: 14.64 kB / 1.119 GB, free: 30.63 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.759e-05/1.122, allocations: 3.969 kB / 1.119 GB, free: 30.63 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001229/1.122, allocations: 324.8 kB / 1.119 GB, free: 30.31 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/1.122, allocations: 60.7 kB / 1.119 GB, free: 30.31 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/1.122, allocations: 92.86 kB / 1.119 GB, free: 30.27 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/1.122, allocations: 112.2 kB / 1.119 GB, free: 30.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/1.122, allocations: 0 / 1.119 GB, free: 30.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003773/1.122, allocations: 260.1 kB / 1.12 GB, free: 30.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.015e-05/1.123, allocations: 66.97 kB / 1.12 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.423e-06/1.123, allocations: 0 / 1.12 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/1.123, allocations: 3.781 kB / 1.12 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.36e-05/1.123, allocations: 7.188 kB / 1.12 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/1.123, allocations: 0 / 1.12 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003287/1.123, allocations: 75.27 kB / 1.12 GB, free: 30.03 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.237e-05/1.123, allocations: 14.52 kB / 1.12 GB, free: 30.03 MB / 0.698 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 0.0001287/1.123, allocations: 129 kB / 1.12 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.288e-05/1.123, allocations: 6.719 kB / 1.12 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.181e-05/1.123, allocations: 11.75 kB / 1.12 GB, free: 29.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/1.123, allocations: 480 / 1.12 GB, free: 29.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/1.123, allocations: 0 / 1.12 GB, free: 29.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/1.123, allocations: 0 / 1.12 GB, free: 29.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/1.123, allocations: 176.2 kB / 1.12 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/1.123, allocations: 2.906 kB / 1.12 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.877e-06/1.123, allocations: 7.844 kB / 1.12 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/1.123, allocations: 0 / 1.12 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.108e-06/1.123, allocations: 0 / 1.12 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/1.123, allocations: 0 / 1.12 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/1.123, allocations: 4 kB / 1.12 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/1.124, allocations: 117.2 kB / 1.12 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.866e-05/1.124, allocations: 84.83 kB / 1.12 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/1.124, allocations: 3.875 kB / 1.12 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.074e-05/1.124, allocations: 0 / 1.12 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/1.124, allocations: 10.73 kB / 1.12 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/1.124, allocations: 10.89 kB / 1.12 GB, free: 29.52 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.97e-05/1.124, allocations: 92.38 kB / 1.12 GB, free: 29.45 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/1.124, allocations: 4 kB / 1.12 GB, free: 29.44 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002342/1.124, allocations: 35 kB / 1.12 GB, free: 29.43 MB / 0.698 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.0001931/1.124, allocations: 112.7 kB / 1.12 GB, free: 29.34 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002984/1.125, allocations: 240.5 kB / 1.121 GB, free: 29.21 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.125, allocations: 0 / 1.121 GB, free: 29.21 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.373e-05/1.125, allocations: 32.47 kB / 1.121 GB, free: 29.21 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/1.125, allocations: 22.16 kB / 1.121 GB, free: 29.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003355/1.125, allocations: 164.4 kB / 1.121 GB, free: 29.07 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/1.125, allocations: 0.6864 MB / 1.122 GB, free: 28.38 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.153e-05/1.126, allocations: 10.8 kB / 1.122 GB, free: 28.38 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.362e-05/1.126, allocations: 11.25 kB / 1.122 GB, free: 28.37 MB / 0.698 GB Notification: Performance of SimCode: time 1.163e-06/1.126, allocations: 0 / 1.122 GB, free: 28.37 MB / 0.698 GB Notification: Performance of Templates: time 0.004043/1.13, allocations: 1.668 MB / 1.123 GB, free: 28.22 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1)