Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.597/1.597, allocations: 297.8 MB / 313.7 MB, free: 144 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009495/0.0009495, allocations: 186.7 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 223.2 MB / 0.6626 GB, free: 4.309 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007256/0.0007257, allocations: 104 kB / 0.7808 GB, free: 50.56 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003947/0.0003945, allocations: 26.02 kB / 0.9088 GB, free: 2.859 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6894/0.6898, allocations: 120.3 MB / 1.026 GB, free: 55.86 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1615/0.8513, allocations: 141.3 MB / 1.164 GB, free: 2.254 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001899/0.8516, allocations: 71.06 kB / 1.164 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01339/0.865, allocations: 2.937 MB / 1.167 GB, free: 124 kB / 0.7292 GB Notification: Performance of FrontEnd: time 2.215e-06/0.865, allocations: 0 / 1.167 GB, free: 124 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.865, allocations: 0 / 1.167 GB, free: 124 kB / 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.0006207/0.8657, allocations: 413 kB / 1.168 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.8658, allocations: 17.72 kB / 1.168 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.8659, allocations: 19.59 kB / 1.168 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.866, allocations: 165.8 kB / 1.168 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.761e-05/0.8661, allocations: 5.078 kB / 1.168 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.826e-05/0.8662, allocations: 16.38 kB / 1.168 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.8663, allocations: 45.02 kB / 1.168 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.8664, allocations: 2 kB / 1.168 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.8664, allocations: 4.547 kB / 1.168 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.8664, allocations: 0 / 1.168 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.661e-05/0.8665, allocations: 15.66 kB / 1.168 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007593/0.8673, allocations: 354.6 kB / 1.168 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.8674, allocations: 35.59 kB / 1.168 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.566e-05/0.8675, allocations: 18.22 kB / 1.168 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.8675, allocations: 0.75 kB / 1.168 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002526/0.8678, allocations: 84.95 kB / 1.168 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 2.304e-06/0.8678, allocations: 1.75 kB / 1.168 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0003837/0.8682, allocations: 99.05 kB / 1.168 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/0.8683, allocations: 56.02 kB / 1.169 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.8684, allocations: 121.1 kB / 1.169 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.06e-05/0.8685, allocations: 33.7 kB / 1.169 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.474e-05/0.8686, allocations: 90.73 kB / 1.169 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.8687, allocations: 17.11 kB / 1.169 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.844e-05/0.8687, allocations: 9.031 kB / 1.169 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.8689, allocations: 317.4 kB / 1.169 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002721/0.8692, allocations: 67.67 kB / 1.169 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000293/0.8695, allocations: 91.12 kB / 1.169 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003631/0.8699, allocations: 156.9 kB / 1.169 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.8699, allocations: 0 / 1.169 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007864/0.8707, allocations: 262.4 kB / 1.17 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.533e-05/0.8708, allocations: 71.25 kB / 1.17 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.8708, allocations: 4.125 kB / 1.17 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/0.8708, allocations: 4 kB / 1.17 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.515e-05/0.8709, allocations: 0.5156 kB / 1.17 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.731e-05/0.8709, allocations: 10.42 kB / 1.17 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006432/0.8716, allocations: 69.69 kB / 1.17 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.29e-05/0.8717, allocations: 14.7 kB / 1.17 GB, free: 13.4 MB / 0.7448 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.0002158/0.8719, allocations: 130.5 kB / 1.17 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.786e-05/0.8719, allocations: 4.609 kB / 1.17 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.597e-05/0.872, allocations: 8.984 kB / 1.17 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.872, allocations: 4.562 kB / 1.17 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.872, allocations: 0 / 1.17 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.8721, allocations: 0.75 kB / 1.17 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002829/0.8723, allocations: 179.4 kB / 1.17 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-06/0.8724, allocations: 0 / 1.17 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.738e-05/0.8724, allocations: 1.719 kB / 1.17 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.8724, allocations: 4.75 kB / 1.17 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.8724, allocations: 0.6094 kB / 1.17 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.8725, allocations: 0.7031 kB / 1.17 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.8725, allocations: 2.203 kB / 1.17 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002858/0.8728, allocations: 121.4 kB / 1.17 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.212e-05/0.8729, allocations: 81.58 kB / 1.17 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.8729, allocations: 1.547 kB / 1.17 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.933e-05/0.8729, allocations: 7.312 kB / 1.17 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.076e-05/0.873, allocations: 3.047 kB / 1.17 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.8731, allocations: 8.75 kB / 1.17 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.02e-05/0.8732, allocations: 90.05 kB / 1.17 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.2e-07/0.8732, allocations: 0 / 1.17 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004867/0.8737, allocations: 40.73 kB / 1.17 GB, free: 12.67 MB / 0.7448 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.0002668/0.874, allocations: 115 kB / 1.171 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005816/0.8746, allocations: 242.6 kB / 1.171 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.8746, allocations: 0 / 1.171 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.625e-05/0.8747, allocations: 30.19 kB / 1.171 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.8751, allocations: 20.03 kB / 1.171 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000471/0.8755, allocations: 161.6 kB / 1.171 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.8759, allocations: 0.6872 MB / 1.172 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.549e-05/0.876, allocations: 5.453 kB / 1.172 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.967e-05/0.876, allocations: 16.84 kB / 1.172 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of SimCode: time 4.21e-07/0.876, allocations: 0 / 1.172 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of Templates: time 0.007497/0.8835, allocations: 1.719 MB / 1.173 GB, free: 10.42 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1)