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/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 109.9 kB / 16.36 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.00128, allocations: 195.5 kB / 17.3 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.578/1.578, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.899/1.899, allocations: 292.3 MB / 0.5496 GB, free: 17.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002857/0.002857, allocations: 67.91 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2716, allocations: 114.6 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001977/0.2736, allocations: 0.6634 MB / 0.7855 GB, free: 2.488 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001396/0.275, allocations: 1.18 MB / 0.7866 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.357e-05/0.275, allocations: 3.938 kB / 0.7866 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.192e-05/0.2751, allocations: 7.938 kB / 0.7866 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.9e-05/0.2752, allocations: 15.84 kB / 0.7866 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000628/0.2758, allocations: 216.5 kB / 0.7868 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002049/0.276, allocations: 179.8 kB / 0.787 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.558e-05/0.2761, allocations: 15.97 kB / 0.787 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.657e-05/0.2762, allocations: 63.91 kB / 0.7871 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.2764, allocations: 63.83 kB / 0.7871 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.72e-05/0.2764, allocations: 16 kB / 0.7872 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.266e-05/0.2765, allocations: 27.98 kB / 0.7872 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.311e-05/0.2765, allocations: 15.88 kB / 0.7872 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.193e-05/0.2766, allocations: 51.88 kB / 0.7873 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.2768, allocations: 159.5 kB / 0.7874 GB, free: 488 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2768, allocations: 4 kB / 0.7874 GB, free: 484 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.903e-06/0.2768, allocations: 0 / 0.7874 GB, free: 484 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.2769, allocations: 0 / 0.7874 GB, free: 484 kB / 0.6544 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.3979/0.6747, allocations: 427.1 kB / 0.7878 GB, free: 49.64 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.6748, allocations: 10.19 kB / 0.7878 GB, free: 49.64 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.6749, allocations: 13.06 kB / 0.7878 GB, free: 49.64 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.735e-05/0.675, allocations: 169.5 kB / 0.788 GB, free: 49.45 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.675, allocations: 6.047 kB / 0.788 GB, free: 49.45 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.62e-05/0.6751, allocations: 10.42 kB / 0.788 GB, free: 49.45 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.6752, allocations: 51.98 kB / 0.7881 GB, free: 49.41 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.6752, allocations: 192 / 0.7881 GB, free: 49.41 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.6752, allocations: 6.516 kB / 0.7881 GB, free: 49.41 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.6753, allocations: 1.062 kB / 0.7881 GB, free: 49.41 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.098e-05/0.6753, allocations: 12.31 kB / 0.7881 GB, free: 49.41 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004581/0.6758, allocations: 352.7 kB / 0.7884 GB, free: 49.15 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.869e-05/0.6759, allocations: 40.02 kB / 0.7885 GB, free: 49.12 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.03e-05/0.6759, allocations: 20.11 kB / 0.7885 GB, free: 49.11 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.6759, allocations: 0.5625 kB / 0.7885 GB, free: 49.11 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000186/0.6761, allocations: 84.12 kB / 0.7886 GB, free: 49.07 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.6761, allocations: 0 / 0.7886 GB, free: 49.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0002338/0.6764, allocations: 102.7 kB / 0.7887 GB, free: 49.03 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.6764, allocations: 58.88 kB / 0.7887 GB, free: 48.97 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.079e-05/0.6765, allocations: 120 kB / 0.7888 GB, free: 48.87 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.808e-05/0.6765, allocations: 32.05 kB / 0.7889 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.991e-05/0.6766, allocations: 92.95 kB / 0.7889 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.472e-05/0.6766, allocations: 15.77 kB / 0.789 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.874e-05/0.6767, allocations: 49.2 kB / 0.789 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.379e-05/0.6767, allocations: 322.4 kB / 0.7893 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.6769, allocations: 61.25 kB / 0.7894 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.677, allocations: 97.25 kB / 0.7895 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.6772, allocations: 162.4 kB / 0.7896 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6772, allocations: 6 kB / 0.7896 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000357/0.6775, allocations: 254.9 kB / 0.7899 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.206e-05/0.6776, allocations: 70.5 kB / 0.7899 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.6776, allocations: 2.812 kB / 0.7899 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.6776, allocations: 0 / 0.7899 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.467e-05/0.6777, allocations: 5.719 kB / 0.7899 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.6777, allocations: 2.531 kB / 0.79 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003346/0.678, allocations: 54.89 kB / 0.79 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.855e-05/0.6781, allocations: 16.69 kB / 0.79 GB, free: 48.11 MB / 0.6544 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,nand1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.449e-05/0.6781, allocations: 127.2 kB / 0.7901 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.299e-05/0.6782, allocations: 5.891 kB / 0.7901 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.837e-05/0.6782, allocations: 12.72 kB / 0.7902 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.6782, allocations: 0 / 0.7902 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.6782, allocations: 0 / 0.7902 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.6782, allocations: 1.781 kB / 0.7902 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.058e-05/0.6783, allocations: 180.9 kB / 0.7903 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.6783, allocations: 3.938 kB / 0.7903 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.294e-06/0.6783, allocations: 0 / 0.7903 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.6783, allocations: 3.281 kB / 0.7903 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.6784, allocations: 5.406 kB / 0.7903 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.6784, allocations: 2.219 kB / 0.7903 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.6784, allocations: 0 / 0.7903 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/0.6785, allocations: 110.2 kB / 0.7905 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.475e-05/0.6785, allocations: 83.83 kB / 0.7905 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.6785, allocations: 9.578 kB / 0.7905 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.077e-05/0.6786, allocations: 1.906 kB / 0.7905 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/0.6786, allocations: 4.547 kB / 0.7905 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.6786, allocations: 7.641 kB / 0.7906 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.339e-05/0.6787, allocations: 91.97 kB / 0.7906 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6787, allocations: 0 / 0.7906 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002372/0.6789, allocations: 32.69 kB / 0.7907 GB, free: 47.56 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001327/0.6791, allocations: 99.81 kB / 0.7908 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003262/0.6794, allocations: 250.1 kB / 0.791 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6794, allocations: 0.625 kB / 0.791 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 5.048e-05/0.6795, allocations: 30.47 kB / 0.791 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.6797, allocations: 20.98 kB / 0.7911 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003016/0.68, allocations: 157.4 kB / 0.7912 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.6801, allocations: 0.6829 MB / 0.7919 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.83e-05/0.6802, allocations: 13.12 kB / 0.7919 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.728e-05/0.6802, allocations: 10.41 kB / 0.7919 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.6802, allocations: 1.219 kB / 0.7919 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of Templates: time 0.004288/0.6845, allocations: 1.835 MB / 0.7937 GB, free: 46.46 MB / 0.6544 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1)