Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.163/2.163, allocations: 251.1 MB / 266.7 MB, free: 11.58 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001317/0.001317, allocations: 182.2 kB / 326.3 MB, free: 2.848 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.456/2.456, allocations: 205.4 MB / 0.5772 GB, free: 20.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009394/0.0009392, allocations: 102.1 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004651/0.0004652, allocations: 13 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.2054, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001605/0.2071, allocations: 1.095 MB / 0.9006 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004632/0.2076, allocations: 197.5 kB / 0.9008 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.018e-05/0.2076, allocations: 0 / 0.9008 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.236e-05/0.2077, allocations: 3.938 kB / 0.9008 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.718e-05/0.2078, allocations: 7.922 kB / 0.9008 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001437/0.2079, allocations: 11.98 kB / 0.9008 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.098e-05/0.208, allocations: 55.78 kB / 0.9009 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.896e-05/0.2081, allocations: 15.98 kB / 0.9009 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.37e-05/0.2082, allocations: 15.92 kB / 0.9009 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.702e-05/0.2083, allocations: 19.92 kB / 0.9009 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.2083, allocations: 0 / 0.9009 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.394e-05/0.2083, allocations: 4 kB / 0.9009 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.756e-05/0.2084, allocations: 7.984 kB / 0.9009 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.232e-05/0.2084, allocations: 37.64 kB / 0.9009 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.569e-05/0.2085, allocations: 27.92 kB / 0.901 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.2085, allocations: 7.984 kB / 0.901 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2085, allocations: 0 / 0.901 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.2085, allocations: 0 / 0.901 GB, free: 64.01 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005703/0.2091, allocations: 379.5 kB / 0.9013 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.2092, allocations: 12.03 kB / 0.9014 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.034e-05/0.2092, allocations: 0.9375 kB / 0.9014 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.2093, allocations: 180.2 kB / 0.9015 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.2094, allocations: 4.375 kB / 0.9015 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.2094, allocations: 8.359 kB / 0.9015 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.2095, allocations: 50.25 kB / 0.9016 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.2096, allocations: 4.125 kB / 0.9016 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.2096, allocations: 3.938 kB / 0.9016 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.2096, allocations: 4 kB / 0.9016 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.919e-05/0.2097, allocations: 23.92 kB / 0.9016 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004311/0.2101, allocations: 280.9 kB / 0.9019 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.2103, allocations: 46.52 kB / 0.9019 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.919e-05/0.2103, allocations: 20.97 kB / 0.902 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.2103, allocations: 7.938 kB / 0.902 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001742/0.2105, allocations: 59.39 kB / 0.902 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.234e-06/0.2105, allocations: 0 / 0.902 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0002585/0.2108, allocations: 89.58 kB / 0.9021 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/0.2108, allocations: 59.41 kB / 0.9022 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.371e-05/0.2109, allocations: 113.8 kB / 0.9023 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.211, allocations: 29.7 kB / 0.9023 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.395e-05/0.211, allocations: 88.2 kB / 0.9024 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.211, allocations: 15.81 kB / 0.9024 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.2111, allocations: 0 / 0.9024 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.685e-05/0.2111, allocations: 318.8 kB / 0.9027 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.484e-05/0.2112, allocations: 12 kB / 0.9027 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.041e-05/0.2112, allocations: 42.56 kB / 0.9028 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.345e-05/0.2113, allocations: 12 kB / 0.9028 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.2113, allocations: 3.938 kB / 0.9028 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001505/0.2115, allocations: 77.53 kB / 0.9028 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.2115, allocations: 4 kB / 0.9028 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.2115, allocations: 4 kB / 0.9029 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.2115, allocations: 64 / 0.9029 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.157e-05/0.2116, allocations: 15.92 kB / 0.9029 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.2116, allocations: 0 / 0.9029 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.2118, allocations: 19.92 kB / 0.9029 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.2118, allocations: 3.938 kB / 0.9029 GB, free: 61.83 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,nand1.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): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 7.981e-05/0.2119, allocations: 123.8 kB / 0.903 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.698e-05/0.2119, allocations: 3.906 kB / 0.903 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.544e-05/0.212, allocations: 16.38 kB / 0.903 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.212, allocations: 0 / 0.903 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.212, allocations: 3.984 kB / 0.903 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.088e-05/0.212, allocations: 81.11 kB / 0.9031 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.2121, allocations: 0 / 0.9031 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.2122, allocations: 15.98 kB / 0.9031 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.894e-05/0.2123, allocations: 11.92 kB / 0.9031 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002603/0.2126, allocations: 173.8 kB / 0.9033 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001807/0.2127, allocations: 250.8 kB / 0.9035 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.342e-05/0.2128, allocations: 23.92 kB / 0.9036 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.262e-05/0.2129, allocations: 91.27 kB / 0.9036 GB, free: 61 MB / 0.6042 GB Notification: Performance of Backend: time 8.42e-07/0.2129, allocations: 0 / 0.9036 GB, free: 61 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004519/0.2134, allocations: 114.3 kB / 0.9038 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0005318/0.2139, allocations: 0.6053 MB / 0.9043 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of Templates: time 0.003693/0.2176, allocations: 0.832 MB / 0.9052 GB, free: 59.4 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1)