Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.608/1.608, allocations: 285.6 MB / 293.1 MB, free: 10.18 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.001269/0.001269, allocations: 180.8 kB / 361.4 MB, free: 6.793 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.695/1.695, allocations: 205.2 MB / 0.62 GB, free: 11.62 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.0009004/0.0009003, allocations: 91.48 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.367e-05/2.379e-05, allocations: 4 kB / 0.8518 GB, free: 2.707 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7823/0.7823, allocations: 115.3 MB / 0.9644 GB, free: 78.71 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2014/0.9838, allocations: 137.4 MB / 1.099 GB, free: 2.473 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/0.9841, allocations: 70.78 kB / 1.099 GB, free: 2.406 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.009154/0.9932, allocations: 2.902 MB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.994e-06/0.9933, allocations: 5.312 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.9933, allocations: 0 / 1.101 GB, free: 15.57 MB / 0.7136 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.0005028/0.9938, allocations: 407.5 kB / 1.102 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.9939, allocations: 9.375 kB / 1.102 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.038e-05/0.994, allocations: 9.031 kB / 1.102 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.9942, allocations: 167 kB / 1.102 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.9942, allocations: 8 kB / 1.102 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.734e-05/0.9943, allocations: 8 kB / 1.102 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.978e-05/0.9943, allocations: 12.84 kB / 1.102 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.365e-05/0.9944, allocations: 45.67 kB / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.9945, allocations: 3.125 kB / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.9945, allocations: 0 / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.9945, allocations: 0 / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005268/0.995, allocations: 337.2 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.362e-05/0.9951, allocations: 34.58 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.752e-05/0.9951, allocations: 12.86 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.9952, allocations: 1.219 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001775/0.9954, allocations: 78.27 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.024e-06/0.9954, allocations: 0 / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002681/0.9956, allocations: 85.53 kB / 1.103 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.9957, allocations: 55.41 kB / 1.103 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.9958, allocations: 117 kB / 1.103 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.589e-05/0.9959, allocations: 29.7 kB / 1.103 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.062e-05/0.996, allocations: 92.23 kB / 1.103 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.689e-05/0.996, allocations: 11.89 kB / 1.103 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.722e-05/0.996, allocations: 0 / 1.103 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.9961, allocations: 322.8 kB / 1.103 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.9962, allocations: 51.98 kB / 1.103 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.9964, allocations: 84.28 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003406/0.9967, allocations: 71.88 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.9967, allocations: 0.6562 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005263/0.9973, allocations: 201.4 kB / 1.104 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.977e-05/0.9974, allocations: 70.67 kB / 1.104 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.9974, allocations: 4 kB / 1.104 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.9974, allocations: 0 / 1.104 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.703e-05/0.9974, allocations: 7.938 kB / 1.104 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.9974, allocations: 0 / 1.104 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003477/0.9978, allocations: 72.06 kB / 1.104 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-05/0.9978, allocations: 11.98 kB / 1.104 GB, free: 12.96 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.0001181/0.998, allocations: 121.6 kB / 1.104 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.934e-05/0.998, allocations: 3.906 kB / 1.104 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.118e-05/0.998, allocations: 12.61 kB / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.9981, allocations: 0 / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.9981, allocations: 0 / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.9981, allocations: 0 / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/0.9982, allocations: 155.3 kB / 1.104 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.9982, allocations: 3.953 kB / 1.104 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.157e-05/0.9982, allocations: 0 / 1.104 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.9983, allocations: 3.938 kB / 1.104 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.9983, allocations: 7.984 kB / 1.104 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.9983, allocations: 5.625 kB / 1.104 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.9983, allocations: 0 / 1.104 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.9984, allocations: 99.77 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.076e-05/0.9985, allocations: 85.05 kB / 1.104 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.9985, allocations: 0 / 1.104 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.899e-05/0.9986, allocations: 4 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.189e-05/0.9986, allocations: 7.984 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.834e-06/0.9986, allocations: 11.94 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.724e-05/0.9987, allocations: 88.88 kB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9987, allocations: 0 / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002621/0.999, allocations: 32 kB / 1.104 GB, free: 12.26 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.0002566/0.9992, allocations: 118.9 kB / 1.104 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003604/0.9996, allocations: 234.8 kB / 1.105 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/0.9996, allocations: 0 / 1.105 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.517e-05/0.9997, allocations: 28.19 kB / 1.105 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.9999, allocations: 16.61 kB / 1.105 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002654/1, allocations: 86.95 kB / 1.105 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/1.001, allocations: 0.6885 MB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.56e-05/1.001, allocations: 7.984 kB / 1.105 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.635e-05/1.001, allocations: 15.42 kB / 1.106 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/1.001, allocations: 4 kB / 1.106 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of Templates: time 0.004476/1.005, allocations: 1.55 MB / 1.107 GB, free: 9.512 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1)