Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.955/1.955, allocations: 292.6 MB / 307.5 MB, free: 5.09 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.001505/0.001505, allocations: 173.1 kB / 377.1 MB, free: 1.449 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.878/1.878, allocations: 205.4 MB / 0.6367 GB, free: 8.668 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008964/0.0008963, allocations: 83.77 kB / 0.751 GB, free: 63.07 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005569/0.0005573, allocations: 12 kB / 0.8748 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3084, allocations: 116.3 MB / 0.9884 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.803/1.112, allocations: 139.1 MB / 1.124 GB, free: 35.67 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/1.112, allocations: 70.36 kB / 1.124 GB, free: 35.61 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.007944/1.12, allocations: 2.924 MB / 1.127 GB, free: 33.52 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.295e-06/1.12, allocations: 0 / 1.127 GB, free: 33.52 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.195e-06/1.12, allocations: 0.5625 kB / 1.127 GB, free: 33.52 MB / 0.7292 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.0004351/1.12, allocations: 415 kB / 1.128 GB, free: 33.06 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/1.12, allocations: 16.02 kB / 1.128 GB, free: 33.04 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.126e-05/1.12, allocations: 13.97 kB / 1.128 GB, free: 33.03 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.701e-05/1.121, allocations: 171.2 kB / 1.128 GB, free: 32.83 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/1.121, allocations: 12.56 kB / 1.128 GB, free: 32.82 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.456e-05/1.121, allocations: 8.562 kB / 1.128 GB, free: 32.81 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/1.121, allocations: 47.94 kB / 1.128 GB, free: 32.77 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/1.121, allocations: 3.938 kB / 1.128 GB, free: 32.76 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/1.121, allocations: 2.25 kB / 1.128 GB, free: 32.76 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/1.121, allocations: 5 kB / 1.128 GB, free: 32.76 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.804e-05/1.121, allocations: 15.38 kB / 1.128 GB, free: 32.75 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000416/1.121, allocations: 349.4 kB / 1.128 GB, free: 32.41 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.808e-05/1.121, allocations: 32.98 kB / 1.128 GB, free: 32.37 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/1.121, allocations: 7.469 kB / 1.128 GB, free: 32.37 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001868/1.122, allocations: 77.53 kB / 1.128 GB, free: 32.29 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/1.122, allocations: 4 kB / 1.128 GB, free: 32.29 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0002234/1.122, allocations: 101.1 kB / 1.128 GB, free: 32.19 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/1.122, allocations: 63.33 kB / 1.128 GB, free: 32.12 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.869e-05/1.122, allocations: 109.5 kB / 1.128 GB, free: 32 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/1.122, allocations: 33.7 kB / 1.129 GB, free: 31.96 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.214e-05/1.122, allocations: 95.84 kB / 1.129 GB, free: 31.87 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.462e-05/1.122, allocations: 7.812 kB / 1.129 GB, free: 31.86 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.855e-05/1.122, allocations: 8.656 kB / 1.129 GB, free: 31.86 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.2e-05/1.122, allocations: 322.3 kB / 1.129 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/1.122, allocations: 59.12 kB / 1.129 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/1.122, allocations: 95.59 kB / 1.129 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/1.122, allocations: 107 kB / 1.129 GB, free: 31.28 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.122, allocations: 0.9375 kB / 1.129 GB, free: 31.28 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003416/1.123, allocations: 262.1 kB / 1.129 GB, free: 31.02 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.083e-05/1.123, allocations: 66.88 kB / 1.13 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/1.123, allocations: 0.5625 kB / 1.13 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/1.123, allocations: 8.5 kB / 1.13 GB, free: 30.94 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.939e-05/1.123, allocations: 1.125 kB / 1.13 GB, free: 30.94 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/1.123, allocations: 4 kB / 1.13 GB, free: 30.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003089/1.123, allocations: 74.02 kB / 1.13 GB, free: 30.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.188e-05/1.123, allocations: 20.19 kB / 1.13 GB, free: 30.87 MB / 0.7292 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 8.179e-05/1.123, allocations: 125.8 kB / 1.13 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.152e-05/1.123, allocations: 0 / 1.13 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.951e-05/1.123, allocations: 15.94 kB / 1.13 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/1.123, allocations: 1.922 kB / 1.13 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/1.123, allocations: 0.5625 kB / 1.13 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/1.123, allocations: 0 / 1.13 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.925e-05/1.124, allocations: 184.3 kB / 1.13 GB, free: 30.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/1.124, allocations: 0 / 1.13 GB, free: 30.51 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.024e-05/1.124, allocations: 1.25 kB / 1.13 GB, free: 30.51 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/1.124, allocations: 4 kB / 1.13 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/1.124, allocations: 4 kB / 1.13 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/1.124, allocations: 0.6875 kB / 1.13 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/1.124, allocations: 0 / 1.13 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/1.124, allocations: 112.7 kB / 1.13 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.214e-05/1.124, allocations: 84.48 kB / 1.13 GB, free: 30.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/1.124, allocations: 4 kB / 1.13 GB, free: 30.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.004e-05/1.124, allocations: 8.875 kB / 1.13 GB, free: 30.27 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/1.124, allocations: 11.92 kB / 1.13 GB, free: 30.26 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/1.124, allocations: 0 / 1.13 GB, free: 30.26 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.778e-05/1.124, allocations: 95.3 kB / 1.13 GB, free: 30.17 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.124, allocations: 0 / 1.13 GB, free: 30.17 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002313/1.124, allocations: 35.94 kB / 1.13 GB, free: 30.14 MB / 0.7292 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.0001502/1.124, allocations: 110.9 kB / 1.13 GB, free: 30.02 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002681/1.125, allocations: 240.5 kB / 1.131 GB, free: 29.78 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.125, allocations: 4.25 kB / 1.131 GB, free: 29.77 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.926e-05/1.125, allocations: 28.86 kB / 1.131 GB, free: 29.75 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000165/1.125, allocations: 19.33 kB / 1.131 GB, free: 29.73 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003173/1.125, allocations: 167 kB / 1.131 GB, free: 29.56 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/1.125, allocations: 0.6918 MB / 1.131 GB, free: 28.85 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.881e-05/1.125, allocations: 7.516 kB / 1.132 GB, free: 28.84 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.783e-05/1.125, allocations: 11.44 kB / 1.132 GB, free: 28.84 MB / 0.7292 GB Notification: Performance of SimCode: time 2.1e-07/1.125, allocations: 0 / 1.132 GB, free: 28.84 MB / 0.7292 GB Notification: Performance of Templates: time 0.003964/1.129, allocations: 1.663 MB / 1.133 GB, free: 27.93 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1)