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.00109/0.00109, allocations: 107 kB / 16.29 MB, free: 6.43 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.001005/0.001005, allocations: 184 kB / 17.22 MB, free: 5.934 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.723/1.723, allocations: 205.1 MB / 223.1 MB, free: 12.32 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 2.034/2.034, allocations: 292.3 MB / 0.5495 GB, free: 17.6 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.001519/0.001519, allocations: 79.58 kB / 0.6722 GB, free: 6.582 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3411, allocations: 114.6 MB / 0.7841 GB, free: 3.91 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001997/0.3431, allocations: 0.6624 MB / 0.7847 GB, free: 3.242 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001505/0.3447, allocations: 1.18 MB / 0.7859 GB, free: 2.047 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.797e-05/0.3447, allocations: 7.938 kB / 0.7859 GB, free: 2.039 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.285e-05/0.3447, allocations: 3.938 kB / 0.7859 GB, free: 2.035 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.841e-05/0.3448, allocations: 7.922 kB / 0.7859 GB, free: 2.027 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005619/0.3454, allocations: 211.3 kB / 0.7861 GB, free: 1.824 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002013/0.3456, allocations: 187.8 kB / 0.7863 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.3457, allocations: 15.98 kB / 0.7863 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.3458, allocations: 71.81 kB / 0.7864 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.3459, allocations: 55.86 kB / 0.7864 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.682e-05/0.346, allocations: 16 kB / 0.7864 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.716e-05/0.3461, allocations: 31.98 kB / 0.7865 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.662e-05/0.3461, allocations: 15.92 kB / 0.7865 GB, free: 1.438 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.854e-05/0.3462, allocations: 55.89 kB / 0.7865 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002226/0.3465, allocations: 151.8 kB / 0.7867 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.3465, allocations: 0 / 0.7867 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.244e-06/0.3465, allocations: 0 / 0.7867 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.106e-06/0.3465, allocations: 4 kB / 0.7867 GB, free: 1.23 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.0006583/0.3472, allocations: 430.8 kB / 0.7871 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.834e-05/0.3472, allocations: 8.031 kB / 0.7871 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.972e-05/0.3473, allocations: 12.84 kB / 0.7871 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.3475, allocations: 176.2 kB / 0.7873 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.3475, allocations: 4.375 kB / 0.7873 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.628e-05/0.3476, allocations: 12.38 kB / 0.7873 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.3477, allocations: 50.25 kB / 0.7874 GB, free: 456 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.3477, allocations: 192 / 0.7874 GB, free: 456 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/0.3477, allocations: 7.922 kB / 0.7874 GB, free: 448 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.3477, allocations: 0 / 0.7874 GB, free: 448 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.55e-05/0.3478, allocations: 12 kB / 0.7874 GB, free: 436 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005911/0.3484, allocations: 356.6 kB / 0.7877 GB, free: 28 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4503/0.7987, allocations: 38.42 kB / 0.7878 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.266e-05/0.7989, allocations: 17.62 kB / 0.7878 GB, free: 48.92 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.7989, allocations: 1.219 kB / 0.7878 GB, free: 48.92 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003079/0.7992, allocations: 86.61 kB / 0.7879 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 3.467e-06/0.7992, allocations: 0 / 0.7879 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.000348/0.7996, allocations: 104 kB / 0.788 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.7996, allocations: 51.41 kB / 0.788 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.742e-05/0.7997, allocations: 130.2 kB / 0.7881 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.336e-05/0.7997, allocations: 28.39 kB / 0.7882 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.27e-05/0.7998, allocations: 89.39 kB / 0.7882 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.7998, allocations: 16.36 kB / 0.7883 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.682e-05/0.7999, allocations: 49.7 kB / 0.7883 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.991e-05/0.8, allocations: 321.2 kB / 0.7886 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.8002, allocations: 63.47 kB / 0.7887 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.8003, allocations: 90.78 kB / 0.7888 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/0.8005, allocations: 166.6 kB / 0.7889 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.8005, allocations: 0 / 0.7889 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000364/0.8009, allocations: 257.2 kB / 0.7892 GB, free: 48 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.205e-05/0.8009, allocations: 72.45 kB / 0.7892 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.8009, allocations: 3.844 kB / 0.7892 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.801, allocations: 6.312 kB / 0.7892 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.671e-05/0.801, allocations: 6.094 kB / 0.7892 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.801, allocations: 3.188 kB / 0.7892 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003102/0.8013, allocations: 50.17 kB / 0.7893 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/0.8014, allocations: 13.23 kB / 0.7893 GB, free: 47.94 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.598e-05/0.8015, allocations: 130 kB / 0.7894 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.172e-05/0.8015, allocations: 7.312 kB / 0.7894 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.977e-05/0.8015, allocations: 6.062 kB / 0.7894 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.8015, allocations: 3.625 kB / 0.7894 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.8015, allocations: 0.5312 kB / 0.7894 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.8016, allocations: 3.234 kB / 0.7894 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.8017, allocations: 177.5 kB / 0.7896 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.8017, allocations: 0 / 0.7896 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.017e-06/0.8017, allocations: 4.375 kB / 0.7896 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.8017, allocations: 0 / 0.7896 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.8017, allocations: 5.844 kB / 0.7896 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.8018, allocations: 0 / 0.7896 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.8018, allocations: 0 / 0.7896 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.8019, allocations: 118.7 kB / 0.7897 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.719e-05/0.8019, allocations: 84.25 kB / 0.7898 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.8019, allocations: 5.312 kB / 0.7898 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.816e-05/0.802, allocations: 2.875 kB / 0.7898 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.388e-05/0.802, allocations: 7.516 kB / 0.7898 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.802, allocations: 2.625 kB / 0.7898 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.809e-05/0.8021, allocations: 93.27 kB / 0.7899 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.8021, allocations: 2.625 kB / 0.7899 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002312/0.8023, allocations: 33.69 kB / 0.79 GB, free: 47.38 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.0001543/0.8025, allocations: 102.5 kB / 0.7901 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003026/0.8028, allocations: 250.2 kB / 0.7903 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.8028, allocations: 0 / 0.7903 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.276e-05/0.8028, allocations: 27.61 kB / 0.7903 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.8031, allocations: 16 kB / 0.7903 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003153/0.8034, allocations: 152.7 kB / 0.7905 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001559/0.8036, allocations: 0.6894 MB / 0.7912 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.67e-05/0.8036, allocations: 7.812 kB / 0.7912 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.048e-05/0.8036, allocations: 10.84 kB / 0.7912 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.8036, allocations: 0.7812 kB / 0.7912 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of Templates: time 0.004484/0.8081, allocations: 1.839 MB / 0.793 GB, free: 46.29 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 cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1)