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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.742/1.742, allocations: 293 MB / 309 MB, free: 4.836 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.0009812/0.0009815, allocations: 182.1 kB / 378.7 MB, free: 1.043 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.738/1.738, allocations: 205.4 MB / 0.6383 GB, free: 8.25 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.0008368/0.0008372, allocations: 89.7 kB / 0.7527 GB, free: 62.83 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003777/0.0003777, allocations: 16 kB / 0.8768 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2612, allocations: 116.4 MB / 0.9905 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7242/0.9855, allocations: 139.1 MB / 1.126 GB, free: 34.72 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003072/0.9859, allocations: 70.92 kB / 1.126 GB, free: 34.66 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.00824/0.9941, allocations: 2.936 MB / 1.129 GB, free: 32.57 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.214e-06/0.9942, allocations: 3.938 kB / 1.129 GB, free: 32.56 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.9942, allocations: 0 / 1.129 GB, free: 32.56 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.0005716/0.9948, allocations: 411.2 kB / 1.13 GB, free: 32.11 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.917e-05/0.9949, allocations: 12.03 kB / 1.13 GB, free: 32.09 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.818e-05/0.995, allocations: 18.58 kB / 1.13 GB, free: 32.08 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.9951, allocations: 171.8 kB / 1.13 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.29e-05/0.9952, allocations: 8.375 kB / 1.13 GB, free: 31.87 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.891e-05/0.9952, allocations: 12.38 kB / 1.13 GB, free: 31.86 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.9954, allocations: 46.16 kB / 1.13 GB, free: 31.81 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.9954, allocations: 192 / 1.13 GB, free: 31.81 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.9954, allocations: 3.938 kB / 1.13 GB, free: 31.81 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.9954, allocations: 0 / 1.13 GB, free: 31.81 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.146e-05/0.9955, allocations: 27.2 kB / 1.13 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006111/0.9961, allocations: 350.2 kB / 1.13 GB, free: 31.45 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.031e-05/0.9962, allocations: 37.98 kB / 1.13 GB, free: 31.4 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.859e-05/0.9962, allocations: 12.38 kB / 1.13 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.9963, allocations: 4 kB / 1.13 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002051/0.9965, allocations: 83.31 kB / 1.13 GB, free: 31.3 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 2.866e-06/0.9965, allocations: 0.8906 kB / 1.13 GB, free: 31.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.000337/0.9968, allocations: 104.6 kB / 1.131 GB, free: 31.21 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.9969, allocations: 59.41 kB / 1.131 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.973e-05/0.997, allocations: 118.1 kB / 1.131 GB, free: 31.02 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/0.997, allocations: 29.7 kB / 1.131 GB, free: 30.98 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.781e-05/0.9971, allocations: 88.14 kB / 1.131 GB, free: 30.89 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.027e-05/0.9971, allocations: 15.81 kB / 1.131 GB, free: 30.88 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.544e-05/0.9971, allocations: 3.938 kB / 1.131 GB, free: 30.88 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.17e-05/0.9972, allocations: 331 kB / 1.131 GB, free: 30.55 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.9974, allocations: 58.36 kB / 1.131 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.9975, allocations: 90.66 kB / 1.131 GB, free: 30.41 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.9977, allocations: 156.6 kB / 1.131 GB, free: 30.23 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.9977, allocations: 0 / 1.131 GB, free: 30.23 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000371/0.9981, allocations: 262.1 kB / 1.132 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.171e-05/0.9982, allocations: 71.02 kB / 1.132 GB, free: 29.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.9982, allocations: 0.8438 kB / 1.132 GB, free: 29.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.9982, allocations: 4 kB / 1.132 GB, free: 29.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.237e-05/0.9982, allocations: 0 / 1.132 GB, free: 29.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.9983, allocations: 12.06 kB / 1.132 GB, free: 29.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002945/0.9986, allocations: 70.62 kB / 1.132 GB, free: 29.84 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.564e-05/0.9986, allocations: 15.52 kB / 1.132 GB, free: 29.82 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 9.285e-05/0.9987, allocations: 129.8 kB / 1.132 GB, free: 29.69 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.555e-05/0.9987, allocations: 3.906 kB / 1.132 GB, free: 29.68 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.38e-05/0.9988, allocations: 8.375 kB / 1.132 GB, free: 29.68 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.9988, allocations: 1.875 kB / 1.132 GB, free: 29.68 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.9988, allocations: 0.625 kB / 1.132 GB, free: 29.68 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.9988, allocations: 3.516 kB / 1.132 GB, free: 29.68 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.9989, allocations: 184.8 kB / 1.132 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.9989, allocations: 0 / 1.132 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.988e-06/0.999, allocations: 8.234 kB / 1.132 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.999, allocations: 0 / 1.132 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.999, allocations: 4 kB / 1.132 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.999, allocations: 1.031 kB / 1.132 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.999, allocations: 3.938 kB / 1.132 GB, free: 29.44 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001409/0.9992, allocations: 108.9 kB / 1.132 GB, free: 29.32 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.77e-05/0.9992, allocations: 81.02 kB / 1.132 GB, free: 29.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.9992, allocations: 7.781 kB / 1.132 GB, free: 29.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.919e-05/0.9992, allocations: 4 kB / 1.132 GB, free: 29.22 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.492e-05/0.9993, allocations: 7.469 kB / 1.132 GB, free: 29.21 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.9993, allocations: 4 kB / 1.132 GB, free: 29.21 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.252e-05/0.9994, allocations: 91.73 kB / 1.132 GB, free: 29.12 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9994, allocations: 0 / 1.132 GB, free: 29.12 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002461/0.9996, allocations: 31.94 kB / 1.132 GB, free: 29.09 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.0002436/0.9999, allocations: 121 kB / 1.133 GB, free: 28.97 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003365/1, allocations: 245.8 kB / 1.133 GB, free: 28.72 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/1, allocations: 0 / 1.133 GB, free: 28.72 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.792e-05/1, allocations: 31.36 kB / 1.133 GB, free: 28.7 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/1.001, allocations: 18.2 kB / 1.133 GB, free: 28.68 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004291/1.001, allocations: 166.8 kB / 1.133 GB, free: 28.5 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/1.001, allocations: 0.6879 MB / 1.134 GB, free: 27.8 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.918e-05/1.001, allocations: 4 kB / 1.134 GB, free: 27.79 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.255e-05/1.001, allocations: 12.56 kB / 1.134 GB, free: 27.79 MB / 0.7292 GB Notification: Performance of SimCode: time 2.2e-07/1.001, allocations: 0 / 1.134 GB, free: 27.79 MB / 0.7292 GB Notification: Performance of Templates: time 0.004933/1.006, allocations: 1.715 MB / 1.135 GB, free: 26.85 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)