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.902/2.902, allocations: 287.5 MB / 302.5 MB, free: 8.188 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.001441/0.00144, allocations: 181.1 kB / 371 MB, free: 10.8 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 2.083/2.083, allocations: 205.4 MB / 0.6297 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001247/0.001247, allocations: 88.75 kB / 0.743 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005331/0.000533, allocations: 14.48 kB / 0.8658 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2453, allocations: 115.3 MB / 0.9784 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9835/1.229, allocations: 137.9 MB / 1.113 GB, free: 15.72 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/1.229, allocations: 67.39 kB / 1.113 GB, free: 15.72 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0141/1.243, allocations: 2.923 MB / 1.116 GB, free: 31.28 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.445e-06/1.243, allocations: 3.969 kB / 1.116 GB, free: 31.28 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.985e-06/1.243, allocations: 0 / 1.116 GB, free: 31.28 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.0005315/1.244, allocations: 415.7 kB / 1.116 GB, free: 30.86 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/1.244, allocations: 19.58 kB / 1.116 GB, free: 30.85 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.451e-05/1.244, allocations: 7.812 kB / 1.116 GB, free: 30.85 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/1.244, allocations: 178 kB / 1.117 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/1.244, allocations: 3.875 kB / 1.117 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.822e-05/1.244, allocations: 11.66 kB / 1.117 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/1.244, allocations: 46.92 kB / 1.117 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/1.244, allocations: 0 / 1.117 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/1.244, allocations: 0 / 1.117 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/1.244, allocations: 0 / 1.117 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.356e-05/1.244, allocations: 14.28 kB / 1.117 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005613/1.245, allocations: 358.4 kB / 1.117 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.971e-05/1.245, allocations: 32.92 kB / 1.117 GB, free: 30.31 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.374e-06/1.245, allocations: 0 / 1.117 GB, free: 30.31 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001892/1.245, allocations: 81.97 kB / 1.117 GB, free: 30.26 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.894e-06/1.245, allocations: 4 kB / 1.117 GB, free: 30.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003008/1.246, allocations: 107.7 kB / 1.117 GB, free: 30.22 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.238e-05/1.246, allocations: 55.22 kB / 1.117 GB, free: 30.16 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/1.246, allocations: 110.1 kB / 1.117 GB, free: 30.05 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.181e-05/1.246, allocations: 32.73 kB / 1.117 GB, free: 30.02 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.443e-05/1.246, allocations: 94.19 kB / 1.118 GB, free: 29.94 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/1.246, allocations: 14.72 kB / 1.118 GB, free: 29.93 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/1.246, allocations: 3.875 kB / 1.118 GB, free: 29.93 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001613/1.246, allocations: 329.1 kB / 1.118 GB, free: 29.61 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/1.247, allocations: 59.95 kB / 1.118 GB, free: 29.61 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/1.247, allocations: 94.03 kB / 1.118 GB, free: 29.57 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002233/1.247, allocations: 111.6 kB / 1.118 GB, free: 29.51 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/1.247, allocations: 4 kB / 1.118 GB, free: 29.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006641/1.248, allocations: 250.3 kB / 1.118 GB, free: 29.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.864e-05/1.248, allocations: 68.62 kB / 1.118 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/1.248, allocations: 3.969 kB / 1.118 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/1.248, allocations: 0 / 1.118 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.721e-05/1.248, allocations: 3.875 kB / 1.118 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/1.248, allocations: 480 / 1.118 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005901/1.248, allocations: 81.27 kB / 1.118 GB, free: 29.33 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.274e-05/1.249, allocations: 14.34 kB / 1.119 GB, free: 29.33 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.0001471/1.249, allocations: 131.2 kB / 1.119 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.732e-05/1.249, allocations: 3.844 kB / 1.119 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.584e-05/1.249, allocations: 14.27 kB / 1.119 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/1.249, allocations: 0 / 1.119 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/1.249, allocations: 3.812 kB / 1.119 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/1.249, allocations: 0 / 1.119 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001696/1.249, allocations: 176.3 kB / 1.119 GB, free: 29.01 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/1.249, allocations: 0 / 1.119 GB, free: 29.01 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.238e-05/1.249, allocations: 0 / 1.119 GB, free: 29.01 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/1.249, allocations: 0 / 1.119 GB, free: 29.01 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/1.249, allocations: 6.953 kB / 1.119 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/1.249, allocations: 3.844 kB / 1.119 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/1.249, allocations: 0 / 1.119 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002046/1.249, allocations: 116.1 kB / 1.119 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.381e-05/1.249, allocations: 81.77 kB / 1.119 GB, free: 28.83 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/1.249, allocations: 5.422 kB / 1.119 GB, free: 28.83 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.537e-05/1.249, allocations: 2.875 kB / 1.119 GB, free: 28.83 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.688e-05/1.249, allocations: 10.22 kB / 1.119 GB, free: 28.83 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.878e-06/1.249, allocations: 6.484 kB / 1.119 GB, free: 28.82 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.857e-05/1.25, allocations: 90.38 kB / 1.119 GB, free: 28.75 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.11e-07/1.25, allocations: 0 / 1.119 GB, free: 28.75 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003389/1.25, allocations: 41.75 kB / 1.119 GB, free: 28.74 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.00019/1.25, allocations: 106.3 kB / 1.119 GB, free: 28.65 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004724/1.251, allocations: 243.9 kB / 1.12 GB, free: 28.52 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/1.251, allocations: 4.25 kB / 1.12 GB, free: 28.52 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.784e-05/1.251, allocations: 32.14 kB / 1.12 GB, free: 28.52 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/1.251, allocations: 13.8 kB / 1.12 GB, free: 28.51 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003959/1.251, allocations: 162.2 kB / 1.12 GB, free: 28.38 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/1.252, allocations: 0.6931 MB / 1.12 GB, free: 27.68 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.258e-05/1.252, allocations: 3.844 kB / 1.12 GB, free: 27.68 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.64e-05/1.252, allocations: 11.62 kB / 1.12 GB, free: 27.68 MB / 0.698 GB Notification: Performance of SimCode: time 6.21e-07/1.252, allocations: 0 / 1.12 GB, free: 27.68 MB / 0.698 GB Notification: Performance of Templates: time 0.005308/1.257, allocations: 1.679 MB / 1.122 GB, free: 27.52 MB / 0.698 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)