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.001041/0.001041, allocations: 102.1 kB / 16.27 MB, free: 6.348 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.001076/0.001076, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.457/1.457, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.811/1.811, allocations: 292.3 MB / 0.5495 GB, free: 17.52 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.001428/0.001428, allocations: 67.91 kB / 0.6722 GB, free: 6.582 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2391, allocations: 114.6 MB / 0.784 GB, free: 3.918 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002049/0.2412, allocations: 0.6745 MB / 0.7847 GB, free: 3.238 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001551/0.2428, allocations: 1.172 MB / 0.7858 GB, free: 2.051 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.883e-05/0.2428, allocations: 8 kB / 0.7858 GB, free: 2.043 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.959e-05/0.2429, allocations: 7.922 kB / 0.7859 GB, free: 2.035 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.229e-05/0.243, allocations: 11.86 kB / 0.7859 GB, free: 2.023 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006352/0.2436, allocations: 213.6 kB / 0.7861 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002185/0.2438, allocations: 183.8 kB / 0.7862 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.2439, allocations: 15.98 kB / 0.7863 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.383e-05/0.244, allocations: 63.89 kB / 0.7863 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.525e-05/0.2441, allocations: 51.86 kB / 0.7864 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.196e-05/0.2442, allocations: 16 kB / 0.7864 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.599e-05/0.2443, allocations: 23.94 kB / 0.7864 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.43e-05/0.2443, allocations: 19.91 kB / 0.7864 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.561e-05/0.2444, allocations: 59.83 kB / 0.7865 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002125/0.2446, allocations: 147.9 kB / 0.7866 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2446, allocations: 0 / 0.7866 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2446, allocations: 4 kB / 0.7866 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.2446, allocations: 4 kB / 0.7866 GB, free: 1.242 MB / 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.0005597/0.2452, allocations: 430.8 kB / 0.787 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.2453, allocations: 8.031 kB / 0.7871 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.592e-05/0.2453, allocations: 12.84 kB / 0.7871 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.2454, allocations: 164.4 kB / 0.7872 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.2455, allocations: 8.375 kB / 0.7872 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.416e-05/0.2455, allocations: 12.36 kB / 0.7872 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.2456, allocations: 50.19 kB / 0.7873 GB, free: 476 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.2456, allocations: 4.125 kB / 0.7873 GB, free: 472 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.2457, allocations: 7.938 kB / 0.7873 GB, free: 464 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.2457, allocations: 0 / 0.7873 GB, free: 464 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.392e-05/0.2457, allocations: 19.98 kB / 0.7873 GB, free: 444 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004639/0.2462, allocations: 352.7 kB / 0.7877 GB, free: 40 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4278/0.674, allocations: 34.53 kB / 0.7877 GB, free: 49.4 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.6741, allocations: 11.3 kB / 0.7877 GB, free: 49.39 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.6742, allocations: 3.25 kB / 0.7877 GB, free: 49.39 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003681/0.6746, allocations: 84.62 kB / 0.7878 GB, free: 49.35 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 5.039e-06/0.6746, allocations: 5.969 kB / 0.7878 GB, free: 49.35 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003746/0.675, allocations: 103.1 kB / 0.7879 GB, free: 49.32 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.675, allocations: 57.56 kB / 0.7879 GB, free: 49.25 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.124e-05/0.6751, allocations: 121.8 kB / 0.7881 GB, free: 49.16 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.683e-05/0.6752, allocations: 30.73 kB / 0.7881 GB, free: 49.12 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.062e-05/0.6752, allocations: 89.59 kB / 0.7882 GB, free: 49.04 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.6752, allocations: 13.48 kB / 0.7882 GB, free: 49.04 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.605e-05/0.6753, allocations: 50.7 kB / 0.7882 GB, free: 49.03 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.167e-05/0.6754, allocations: 323.6 kB / 0.7885 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.6756, allocations: 60.67 kB / 0.7886 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.6757, allocations: 96.64 kB / 0.7887 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.6759, allocations: 156.1 kB / 0.7888 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.6759, allocations: 1 kB / 0.7888 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003768/0.6763, allocations: 264.5 kB / 0.7891 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.434e-05/0.6763, allocations: 66.94 kB / 0.7892 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.6763, allocations: 2.625 kB / 0.7892 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/0.6764, allocations: 2.625 kB / 0.7892 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.146e-05/0.6764, allocations: 9.453 kB / 0.7892 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.6764, allocations: 0 / 0.7892 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003822/0.6768, allocations: 54.73 kB / 0.7892 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/0.6768, allocations: 13.78 kB / 0.7892 GB, free: 48.41 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.709e-05/0.6769, allocations: 126.2 kB / 0.7894 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.365e-05/0.677, allocations: 12.67 kB / 0.7894 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.814e-05/0.677, allocations: 7 kB / 0.7894 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.677, allocations: 0 / 0.7894 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.677, allocations: 1.125 kB / 0.7894 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.677, allocations: 1.969 kB / 0.7894 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.6771, allocations: 182.6 kB / 0.7896 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.6771, allocations: 0 / 0.7896 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.416e-06/0.6772, allocations: 3.469 kB / 0.7896 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.6772, allocations: 2.688 kB / 0.7896 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.086e-06/0.6772, allocations: 6 kB / 0.7896 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.6772, allocations: 3.234 kB / 0.7896 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.6772, allocations: 0.875 kB / 0.7896 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.6773, allocations: 112.2 kB / 0.7897 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.667e-05/0.6774, allocations: 84.39 kB / 0.7898 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.6774, allocations: 6.406 kB / 0.7898 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.858e-05/0.6774, allocations: 2.875 kB / 0.7898 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.507e-05/0.6775, allocations: 6.172 kB / 0.7898 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-06/0.6775, allocations: 5.281 kB / 0.7898 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.823e-05/0.6775, allocations: 96.3 kB / 0.7899 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6775, allocations: 1.312 kB / 0.7899 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002307/0.6778, allocations: 29.38 kB / 0.7899 GB, free: 47.86 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.0001601/0.6779, allocations: 105 kB / 0.79 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003215/0.6783, allocations: 246 kB / 0.7902 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.6783, allocations: 1.281 kB / 0.7902 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.639e-05/0.6783, allocations: 32.7 kB / 0.7903 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.6786, allocations: 17.31 kB / 0.7903 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00034/0.6789, allocations: 185 kB / 0.7905 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.6791, allocations: 0.6859 MB / 0.7911 GB, free: 46.81 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.134e-05/0.6791, allocations: 10.62 kB / 0.7911 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of SimCode: time 3.01e-07/0.6791, allocations: 3.172 kB / 0.7911 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of Templates: time 0.003052/0.6821, allocations: 1.38 MB / 0.7925 GB, free: 46.75 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1)