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.562/1.562, allocations: 289.9 MB / 297.4 MB, free: 6.406 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.001017/0.001017, allocations: 180.8 kB / 366.7 MB, free: 1.688 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.793/1.793, allocations: 205.2 MB / 0.626 GB, free: 7.18 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.0009221/0.000922, allocations: 96.41 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.11e-05/2.112e-05, allocations: 4 kB / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7043/0.7043, allocations: 116.3 MB / 0.9733 GB, free: 76.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2035/0.9079, allocations: 138.3 MB / 1.108 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/0.9082, allocations: 76.58 kB / 1.108 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.00874/0.917, allocations: 2.903 MB / 1.111 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.483e-06/0.917, allocations: 0 / 1.111 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.917, allocations: 0 / 1.111 GB, free: 8.949 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.0004501/0.9175, allocations: 405.8 kB / 1.112 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.9175, allocations: 14.72 kB / 1.112 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.299e-05/0.9176, allocations: 4 kB / 1.112 GB, free: 8.48 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.9177, allocations: 171 kB / 1.112 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.9178, allocations: 4 kB / 1.112 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.642e-05/0.9178, allocations: 12 kB / 1.112 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.669e-05/0.9179, allocations: 8 kB / 1.112 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.59e-05/0.918, allocations: 50.12 kB / 1.112 GB, free: 8.195 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.918, allocations: 0 / 1.112 GB, free: 8.195 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.918, allocations: 3.469 kB / 1.112 GB, free: 8.195 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.918, allocations: 0 / 1.112 GB, free: 8.195 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004765/0.9185, allocations: 329.2 kB / 1.112 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.725e-05/0.9186, allocations: 26.58 kB / 1.112 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.446e-05/0.9186, allocations: 16.86 kB / 1.112 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.9187, allocations: 5.688 kB / 1.112 GB, free: 7.777 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001406/0.9188, allocations: 79.41 kB / 1.112 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.9188, allocations: 0 / 1.112 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002128/0.919, allocations: 85.56 kB / 1.112 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.9191, allocations: 55.41 kB / 1.112 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.393e-05/0.9192, allocations: 113 kB / 1.113 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/0.9192, allocations: 29.7 kB / 1.113 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.34e-05/0.9193, allocations: 96.23 kB / 1.113 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.3e-05/0.9193, allocations: 11.09 kB / 1.113 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.867e-05/0.9193, allocations: 4 kB / 1.113 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.9195, allocations: 326.8 kB / 1.113 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.9196, allocations: 47.98 kB / 1.113 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.9197, allocations: 90.09 kB / 1.113 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002841/0.92, allocations: 63.94 kB / 1.113 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.92, allocations: 4 kB / 1.113 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004707/0.9205, allocations: 201.4 kB / 1.113 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.159e-05/0.9206, allocations: 64.94 kB / 1.113 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.9206, allocations: 7.984 kB / 1.113 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.9206, allocations: 4 kB / 1.113 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.959e-05/0.9206, allocations: 0 / 1.113 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.9206, allocations: 4 kB / 1.113 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003049/0.921, allocations: 67.94 kB / 1.114 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.954e-05/0.921, allocations: 19.98 kB / 1.114 GB, free: 6.344 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.0001138/0.9211, allocations: 114.7 kB / 1.114 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.486e-05/0.9211, allocations: 11.89 kB / 1.114 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.274e-05/0.9212, allocations: 8.625 kB / 1.114 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.9212, allocations: 8 kB / 1.114 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.9212, allocations: 3.188 kB / 1.114 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.9212, allocations: 0 / 1.114 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.9213, allocations: 154.2 kB / 1.114 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.9213, allocations: 5.359 kB / 1.114 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.528e-06/0.9214, allocations: 4 kB / 1.114 GB, free: 6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.9214, allocations: 0 / 1.114 GB, free: 6 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.9214, allocations: 0 / 1.114 GB, free: 6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.9214, allocations: 0 / 1.114 GB, free: 6 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.9214, allocations: 0 / 1.114 GB, free: 6 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.9215, allocations: 107.6 kB / 1.114 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.068e-05/0.9216, allocations: 85.06 kB / 1.114 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.9216, allocations: 3.938 kB / 1.114 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.963e-05/0.9216, allocations: 0 / 1.114 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.468e-05/0.9217, allocations: 11.92 kB / 1.114 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.9217, allocations: 4 kB / 1.114 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.388e-05/0.9217, allocations: 89.23 kB / 1.114 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9218, allocations: 4 kB / 1.114 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002394/0.922, allocations: 36 kB / 1.114 GB, free: 5.633 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.0001929/0.9222, allocations: 111.2 kB / 1.114 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000332/0.9225, allocations: 230.7 kB / 1.115 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.9225, allocations: 4 kB / 1.115 GB, free: 5.262 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.893e-05/0.9226, allocations: 16 kB / 1.115 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001879/0.9228, allocations: 16.23 kB / 1.115 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000243/0.923, allocations: 99.09 kB / 1.115 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.9233, allocations: 0.6885 MB / 1.115 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.517e-05/0.9233, allocations: 4 kB / 1.115 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.894e-05/0.9234, allocations: 12.94 kB / 1.115 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.9234, allocations: 0 / 1.115 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of Templates: time 0.003781/0.9272, allocations: 1.537 MB / 1.117 GB, free: 2.902 MB / 0.7136 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)