Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/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") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.615/2.615, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001569/0.001569, allocations: 179.5 kB / 325.6 MB, free: 2.816 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.582/2.582, allocations: 205.4 MB / 0.5766 GB, free: 21.14 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001113/0.001113, allocations: 107.8 kB / 0.6811 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004755/0.0004756, allocations: 14.22 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2143, allocations: 106.3 MB / 0.8989 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001622/0.2159, allocations: 1.091 MB / 0.9 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004952/0.2165, allocations: 189.4 kB / 0.9001 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.33e-05/0.2165, allocations: 0 / 0.9001 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.387e-05/0.2166, allocations: 3.984 kB / 0.9001 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.279e-05/0.2167, allocations: 15.92 kB / 0.9002 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001593/0.2169, allocations: 15.92 kB / 0.9002 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.15e-05/0.217, allocations: 31.95 kB / 0.9002 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.724e-05/0.2171, allocations: 23.91 kB / 0.9002 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.4e-05/0.2171, allocations: 15.94 kB / 0.9002 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.84e-05/0.2172, allocations: 19.91 kB / 0.9003 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.2172, allocations: 4 kB / 0.9003 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.461e-05/0.2173, allocations: 0 / 0.9003 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.777e-05/0.2173, allocations: 11.92 kB / 0.9003 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.497e-05/0.2173, allocations: 33.7 kB / 0.9003 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.879e-05/0.2174, allocations: 35.92 kB / 0.9003 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.2174, allocations: 0 / 0.9003 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2174, allocations: 0 / 0.9003 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.2174, allocations: 0 / 0.9003 GB, free: 64.41 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.000598/0.2181, allocations: 371.1 kB / 0.9007 GB, free: 64 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.2181, allocations: 8.031 kB / 0.9007 GB, free: 64 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.425e-05/0.2182, allocations: 4 kB / 0.9007 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.2183, allocations: 182.8 kB / 0.9009 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.2183, allocations: 0 / 0.9009 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.2183, allocations: 12 kB / 0.9009 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.2185, allocations: 45.67 kB / 0.9009 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.2185, allocations: 0 / 0.9009 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.2185, allocations: 4 kB / 0.9009 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.2185, allocations: 0 / 0.9009 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.164e-05/0.2186, allocations: 23.98 kB / 0.901 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004367/0.2191, allocations: 280.8 kB / 0.9012 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.2192, allocations: 50.56 kB / 0.9013 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.2192, allocations: 0 / 0.9013 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001823/0.2194, allocations: 63.52 kB / 0.9013 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.823e-06/0.2194, allocations: 0 / 0.9013 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0002728/0.2197, allocations: 101.5 kB / 0.9014 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.2198, allocations: 55.36 kB / 0.9015 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.497e-05/0.2199, allocations: 118.2 kB / 0.9016 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.2199, allocations: 29.64 kB / 0.9016 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.925e-05/0.22, allocations: 88.14 kB / 0.9017 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.22, allocations: 15.8 kB / 0.9017 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-06/0.22, allocations: 0 / 0.9017 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.334e-05/0.2201, allocations: 318.8 kB / 0.902 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.68e-05/0.2201, allocations: 15.98 kB / 0.902 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.89e-05/0.2202, allocations: 34.58 kB / 0.9021 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.667e-05/0.2203, allocations: 20.23 kB / 0.9021 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2203, allocations: 0 / 0.9021 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001636/0.2204, allocations: 81.52 kB / 0.9022 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.2205, allocations: 8 kB / 0.9022 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.2205, allocations: 3.984 kB / 0.9022 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.2205, allocations: 0 / 0.9022 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.766e-05/0.2206, allocations: 4 kB / 0.9022 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.2206, allocations: 8.062 kB / 0.9022 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.2208, allocations: 19.88 kB / 0.9022 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.2208, allocations: 4 kB / 0.9022 GB, free: 62.26 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 0.0001304/0.2209, allocations: 115.4 kB / 0.9023 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.103e-05/0.221, allocations: 7.906 kB / 0.9023 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.84e-05/0.221, allocations: 12.31 kB / 0.9024 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.221, allocations: 0 / 0.9024 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.2211, allocations: 7.984 kB / 0.9024 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.2211, allocations: 0 / 0.9024 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.2212, allocations: 177.6 kB / 0.9025 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.2213, allocations: 0 / 0.9025 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.673e-05/0.2213, allocations: 7.984 kB / 0.9025 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.2213, allocations: 0 / 0.9025 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.2213, allocations: 0 / 0.9025 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.2213, allocations: 0 / 0.9025 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.2213, allocations: 4 kB / 0.9025 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001809/0.2215, allocations: 105.1 kB / 0.9026 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.253e-05/0.2216, allocations: 89 kB / 0.9027 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.2216, allocations: 3.984 kB / 0.9027 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.2217, allocations: 16.17 kB / 0.9027 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.851e-05/0.2218, allocations: 15.92 kB / 0.9028 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.2218, allocations: 3.938 kB / 0.9028 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.251e-05/0.2219, allocations: 95.2 kB / 0.9029 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.4e-07/0.2219, allocations: 4 kB / 0.9029 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002762/0.2222, allocations: 16 kB / 0.9029 GB, free: 61.5 MB / 0.6042 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 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001374/0.2223, allocations: 96.75 kB / 0.903 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000172/0.2225, allocations: 43.92 kB / 0.903 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2225, allocations: 0 / 0.903 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.349e-05/0.2226, allocations: 20 kB / 0.903 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.2229, allocations: 24.06 kB / 0.9031 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003949/0.2233, allocations: 162.8 kB / 0.9032 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001405/0.2235, allocations: 0.6848 MB / 0.9039 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.463e-05/0.2235, allocations: 7.859 kB / 0.9039 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.731e-05/0.2236, allocations: 15.44 kB / 0.9039 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of SimCode: time 1.002e-06/0.2236, allocations: 0 / 0.9039 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of Templates: time 0.003729/0.2273, allocations: 0.7481 MB / 0.9046 GB, free: 59.64 MB / 0.6042 GB