Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.875/2.875, allocations: 285 MB / 292.5 MB, free: 10.49 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00137/0.00137, allocations: 192.8 kB / 360.7 MB, free: 7.25 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.988/1.988, allocations: 205.3 MB / 0.6192 GB, free: 12.12 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001127/0.001125, allocations: 91.89 kB / 0.7322 GB, free: 44.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.815e-05/2.811e-05, allocations: 8 kB / 0.8509 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8091/0.8091, allocations: 115.3 MB / 0.9635 GB, free: 78.66 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2537/1.063, allocations: 137.2 MB / 1.097 GB, free: 3.266 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003299/1.063, allocations: 69.69 kB / 1.097 GB, free: 3.199 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01633/1.08, allocations: 2.906 MB / 1.1 GB, free: 364 kB / 0.698 GB Notification: Performance of FrontEnd: time 1.432e-06/1.08, allocations: 0 / 1.1 GB, free: 364 kB / 0.698 GB Notification: Performance of Transformations before backend: time 7.945e-06/1.08, allocations: 0 / 1.1 GB, free: 364 kB / 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.0005386/1.08, allocations: 405 kB / 1.101 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/1.08, allocations: 8.031 kB / 1.101 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.088e-05/1.08, allocations: 14.52 kB / 1.101 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/1.081, allocations: 171 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/1.081, allocations: 0 / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.319e-05/1.081, allocations: 11.98 kB / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.909e-05/1.081, allocations: 12 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/1.081, allocations: 47.33 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/1.081, allocations: 0 / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/1.081, allocations: 0 / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/1.081, allocations: 4 kB / 1.101 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006296/1.082, allocations: 329.2 kB / 1.101 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/1.082, allocations: 32.2 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.233e-05/1.082, allocations: 16.86 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/1.082, allocations: 4 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001919/1.082, allocations: 79.45 kB / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.685e-06/1.082, allocations: 0 / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002924/1.082, allocations: 76.95 kB / 1.101 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/1.082, allocations: 63.34 kB / 1.102 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/1.083, allocations: 105.1 kB / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.238e-05/1.083, allocations: 37.45 kB / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.394e-05/1.083, allocations: 100.2 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.326e-05/1.083, allocations: 11.91 kB / 1.102 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/1.083, allocations: 4 kB / 1.102 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001429/1.083, allocations: 318.8 kB / 1.102 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/1.083, allocations: 51.98 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002144/1.083, allocations: 81.66 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005211/1.084, allocations: 67.94 kB / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/1.084, allocations: 0 / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008882/1.085, allocations: 201.4 kB / 1.102 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.557e-05/1.085, allocations: 76.45 kB / 1.103 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/1.085, allocations: 3.062 kB / 1.103 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/1.085, allocations: 4 kB / 1.103 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.966e-05/1.085, allocations: 0 / 1.103 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/1.085, allocations: 7.938 kB / 1.103 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006023/1.086, allocations: 75.92 kB / 1.103 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.284e-05/1.086, allocations: 8 kB / 1.103 GB, free: 13.75 MB / 0.7136 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 () * 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.0001513/1.086, allocations: 117.8 kB / 1.103 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.117e-05/1.086, allocations: 13.02 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.924e-05/1.086, allocations: 8.625 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/1.086, allocations: 4 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/1.086, allocations: 0 / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/1.086, allocations: 4 kB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/1.086, allocations: 154.2 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/1.086, allocations: 0 / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.588e-05/1.086, allocations: 0 / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/1.086, allocations: 0 / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/1.086, allocations: 7.984 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/1.086, allocations: 1.5 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/1.086, allocations: 3.938 kB / 1.103 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002374/1.087, allocations: 101 kB / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.963e-05/1.087, allocations: 89.05 kB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/1.087, allocations: 3.938 kB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.027e-05/1.087, allocations: 0 / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.559e-05/1.087, allocations: 7.984 kB / 1.103 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/1.087, allocations: 4 kB / 1.103 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.724e-05/1.087, allocations: 88.59 kB / 1.103 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.51e-07/1.087, allocations: 3.938 kB / 1.103 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000398/1.087, allocations: 39.98 kB / 1.103 GB, free: 13.04 MB / 0.7136 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 () * 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.0002124/1.088, allocations: 111.1 kB / 1.103 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004974/1.088, allocations: 238.5 kB / 1.104 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.088, allocations: 0 / 1.104 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.078e-05/1.088, allocations: 23.94 kB / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/1.089, allocations: 23.95 kB / 1.104 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003349/1.089, allocations: 86.95 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/1.089, allocations: 0.6913 MB / 1.104 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.796e-05/1.089, allocations: 7.984 kB / 1.104 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.506e-05/1.089, allocations: 11.44 kB / 1.104 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of SimCode: time 1.172e-06/1.089, allocations: 0 / 1.104 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of Templates: time 0.006163/1.095, allocations: 1.536 MB / 1.106 GB, free: 10.31 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1)