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.001249/0.001249, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00141/0.00141, allocations: 194.4 kB / 16.25 MB, free: 6.617 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.696/1.696, allocations: 205.1 MB / 222.1 MB, free: 4.723 MB / 174.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.769/1.769, allocations: 292.3 MB / 0.5485 GB, free: 13.63 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.00138/0.00138, allocations: 76.48 kB / 0.671 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2947, allocations: 114.6 MB / 0.7829 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.00244/0.2971, allocations: 0.724 MB / 0.7836 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001835/0.299, allocations: 1.192 MB / 0.7847 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.161e-05/0.2991, allocations: 0 / 0.7847 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.223e-05/0.2991, allocations: 0 / 0.7847 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.458e-05/0.2992, allocations: 7.875 kB / 0.7848 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006384/0.2999, allocations: 209.5 kB / 0.785 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002169/0.3001, allocations: 175.7 kB / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.443e-05/0.3002, allocations: 11.98 kB / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.726e-05/0.3003, allocations: 67.89 kB / 0.7852 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.642e-05/0.3004, allocations: 51.86 kB / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.567e-05/0.3005, allocations: 20 kB / 0.7853 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.095e-05/0.3006, allocations: 27.98 kB / 0.7853 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.322e-05/0.3006, allocations: 15.92 kB / 0.7853 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.193e-05/0.3007, allocations: 51.83 kB / 0.7854 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002143/0.3009, allocations: 155.9 kB / 0.7855 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3009, allocations: 0 / 0.7855 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3009, allocations: 0 / 0.7855 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.3009, allocations: 0 / 0.7855 GB, free: 11.19 MB / 0.6075 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.000585/0.3015, allocations: 430.7 kB / 0.7859 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.3016, allocations: 11.97 kB / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.046e-05/0.3016, allocations: 12.94 kB / 0.7859 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.3018, allocations: 172.3 kB / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.3018, allocations: 4.375 kB / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.433e-05/0.3018, allocations: 12.38 kB / 0.7861 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.302, allocations: 50.23 kB / 0.7862 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.302, allocations: 4.188 kB / 0.7862 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.302, allocations: 3.938 kB / 0.7862 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.302, allocations: 3.938 kB / 0.7862 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.179e-05/0.302, allocations: 12 kB / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004823/0.3025, allocations: 360.7 kB / 0.7865 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.91e-05/0.3026, allocations: 38.5 kB / 0.7866 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.767e-05/0.3027, allocations: 12.86 kB / 0.7866 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.3027, allocations: 3.984 kB / 0.7866 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001879/0.3029, allocations: 91.39 kB / 0.7867 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.3029, allocations: 0 / 0.7867 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002498/0.3031, allocations: 101.6 kB / 0.7868 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.3032, allocations: 55.41 kB / 0.7868 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.513e-05/0.3033, allocations: 121.7 kB / 0.7869 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.906e-05/0.3033, allocations: 33.7 kB / 0.787 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.371e-05/0.3034, allocations: 96.11 kB / 0.7871 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.597e-05/0.3034, allocations: 11.81 kB / 0.7871 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.16e-05/0.3035, allocations: 45.69 kB / 0.7871 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.3037, allocations: 330.8 kB / 0.7874 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.3038, allocations: 63.91 kB / 0.7875 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.3039, allocations: 88.27 kB / 0.7876 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/0.3041, allocations: 159.6 kB / 0.7877 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.3042, allocations: 0 / 0.7877 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004167/0.3046, allocations: 265.3 kB / 0.788 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.589e-05/0.3046, allocations: 67.39 kB / 0.788 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.3047, allocations: 0 / 0.788 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.3047, allocations: 4 kB / 0.7881 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.167e-05/0.3047, allocations: 0 / 0.7881 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.3047, allocations: 12.06 kB / 0.7881 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003581/0.3051, allocations: 59.83 kB / 0.7881 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.148e-05/0.3051, allocations: 8 kB / 0.7881 GB, free: 8.195 MB / 0.6075 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 0.0001215/0.3052, allocations: 130.4 kB / 0.7883 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.373e-05/0.3053, allocations: 7.906 kB / 0.7883 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.012e-05/0.3053, allocations: 12.38 kB / 0.7883 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.3053, allocations: 4 kB / 0.7883 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3053, allocations: 0 / 0.7883 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.3053, allocations: 0 / 0.7883 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/0.3055, allocations: 177.6 kB / 0.7884 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3055, allocations: 0 / 0.7884 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.248e-06/0.3055, allocations: 0 / 0.7884 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3055, allocations: 0 / 0.7884 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.3055, allocations: 4 kB / 0.7884 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.3055, allocations: 4.062 kB / 0.7885 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.3056, allocations: 0 / 0.7885 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.3057, allocations: 121 kB / 0.7886 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.731e-05/0.3058, allocations: 81.02 kB / 0.7886 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.3058, allocations: 4 kB / 0.7886 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.307e-05/0.3058, allocations: 3.984 kB / 0.7887 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/0.3059, allocations: 7.938 kB / 0.7887 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.3059, allocations: 4 kB / 0.7887 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.64e-05/0.3059, allocations: 91.27 kB / 0.7888 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.3059, allocations: 4 kB / 0.7888 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002286/0.3062, allocations: 32.28 kB / 0.7888 GB, free: 7.426 MB / 0.6075 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.0001826/0.3064, allocations: 103.2 kB / 0.7889 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003473/0.3067, allocations: 250.6 kB / 0.7891 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3067, allocations: 3.938 kB / 0.7891 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.561e-05/0.3068, allocations: 24 kB / 0.7892 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.307, allocations: 16.23 kB / 0.7892 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003538/0.3074, allocations: 170.7 kB / 0.7893 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.3077, allocations: 0.6953 MB / 0.79 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.808e-05/0.3077, allocations: 4 kB / 0.79 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.836e-05/0.3077, allocations: 15.44 kB / 0.79 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.3077, allocations: 0 / 0.79 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of Templates: time 0.004358/0.3121, allocations: 1.824 MB / 0.7918 GB, free: 4.266 MB / 0.6075 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)