Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.652/2.652, allocations: 287.9 MB / 302.9 MB, free: 8.312 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001438/0.001437, allocations: 182 kB / 371.4 MB, free: 10.65 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.355/2.355, allocations: 205.4 MB / 0.6301 GB, free: 10.39 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001031/0.00103, allocations: 105.3 kB / 0.7434 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007724/0.0007727, allocations: 12.38 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2116, allocations: 115.3 MB / 0.9788 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.0006873/0.2124, allocations: 392.8 kB / 0.9791 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001284/0.2137, allocations: 1.132 MB / 0.9802 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.937e-05/0.2138, allocations: 8 kB / 0.9803 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.456e-05/0.2138, allocations: 3.984 kB / 0.9803 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.464e-05/0.2139, allocations: 3.984 kB / 0.9803 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006549/0.2145, allocations: 198.2 kB / 0.9804 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.2146, allocations: 79.89 kB / 0.9805 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.428e-05/0.2147, allocations: 15.98 kB / 0.9805 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.364e-05/0.2148, allocations: 55.89 kB / 0.9806 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.198e-05/0.2149, allocations: 47.86 kB / 0.9806 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.209e-05/0.215, allocations: 8 kB / 0.9806 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.477e-05/0.215, allocations: 23.98 kB / 0.9807 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.69e-05/0.2151, allocations: 7.938 kB / 0.9807 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.252e-05/0.2151, allocations: 37.7 kB / 0.9807 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.2153, allocations: 99.97 kB / 0.9808 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.18e-06/0.2153, allocations: 4 kB / 0.9808 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.88e-06/0.2153, allocations: 0 / 0.9808 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.2153, allocations: 4 kB / 0.9808 GB, free: 26.05 MB / 0.6198 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.0003378/0.2157, allocations: 406.7 kB / 0.9812 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.2157, allocations: 12.02 kB / 0.9812 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.668e-05/0.2158, allocations: 15.91 kB / 0.9812 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.653e-05/0.2159, allocations: 167 kB / 0.9814 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.2159, allocations: 7.938 kB / 0.9814 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.518e-05/0.216, allocations: 12 kB / 0.9814 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.2161, allocations: 45.69 kB / 0.9815 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.796e-06/0.2161, allocations: 0 / 0.9815 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.54e-06/0.2161, allocations: 4 kB / 0.9815 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.422e-06/0.2161, allocations: 3.984 kB / 0.9815 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.846e-05/0.2162, allocations: 15.98 kB / 0.9815 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004355/0.2166, allocations: 360.6 kB / 0.9818 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.605e-05/0.2167, allocations: 34.61 kB / 0.9819 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.2168, allocations: 7.984 kB / 0.9819 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001619/0.2169, allocations: 79.38 kB / 0.9819 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.473e-06/0.2169, allocations: 0 / 0.9819 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002575/0.2172, allocations: 101.5 kB / 0.982 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.561e-05/0.2172, allocations: 55.34 kB / 0.9821 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.854e-05/0.2173, allocations: 129.9 kB / 0.9822 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/0.2174, allocations: 29.7 kB / 0.9822 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.398e-05/0.2174, allocations: 92.31 kB / 0.9823 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/0.2175, allocations: 15.81 kB / 0.9823 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.955e-05/0.2175, allocations: 4 kB / 0.9823 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.337e-05/0.2176, allocations: 322.8 kB / 0.9827 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.2178, allocations: 55.97 kB / 0.9827 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000175/0.218, allocations: 92.25 kB / 0.9828 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.2181, allocations: 119.3 kB / 0.9829 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.784e-06/0.2182, allocations: 0 / 0.9829 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000492/0.2187, allocations: 260.8 kB / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.608e-05/0.2187, allocations: 67.39 kB / 0.9832 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.974e-06/0.2187, allocations: 4 kB / 0.9832 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.2188, allocations: 0 / 0.9832 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.295e-05/0.2188, allocations: 4 kB / 0.9832 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.176e-06/0.2188, allocations: 320 / 0.9832 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004185/0.2192, allocations: 76.06 kB / 0.9833 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-05/0.2193, allocations: 15.94 kB / 0.9833 GB, free: 23.2 MB / 0.6198 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,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,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): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 9.128e-05/0.2194, allocations: 129.7 kB / 0.9834 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.762e-05/0.2194, allocations: 11.89 kB / 0.9835 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.448e-05/0.2194, allocations: 4.375 kB / 0.9835 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.295e-06/0.2195, allocations: 4.469 kB / 0.9835 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.636e-06/0.2195, allocations: 4.062 kB / 0.9835 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.921e-06/0.2195, allocations: 0 / 0.9835 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.2196, allocations: 181.6 kB / 0.9836 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.268e-06/0.2196, allocations: 4 kB / 0.9836 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.145e-05/0.2196, allocations: 3.938 kB / 0.9836 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.194e-06/0.2197, allocations: 0 / 0.9836 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.2197, allocations: 4 kB / 0.9836 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.319e-06/0.2197, allocations: 0 / 0.9836 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.2197, allocations: 0 / 0.9836 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/0.2199, allocations: 120.9 kB / 0.9838 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.406e-05/0.2199, allocations: 85.02 kB / 0.9838 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.2199, allocations: 4 kB / 0.9838 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.149e-05/0.22, allocations: 3.938 kB / 0.9839 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.101e-05/0.22, allocations: 7.984 kB / 0.9839 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.2201, allocations: 8 kB / 0.9839 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.029e-05/0.2201, allocations: 91.27 kB / 0.984 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.9e-07/0.2201, allocations: 0 / 0.984 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003043/0.2204, allocations: 28 kB / 0.984 GB, free: 22.43 MB / 0.6198 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 (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.0001338/0.2206, allocations: 103.2 kB / 0.9841 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003554/0.2209, allocations: 246.7 kB / 0.9843 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.771e-06/0.221, allocations: 0 / 0.9843 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.603e-05/0.221, allocations: 27.94 kB / 0.9843 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.2213, allocations: 19.94 kB / 0.9844 GB, free: 22 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003156/0.2216, allocations: 163.8 kB / 0.9845 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001158/0.2217, allocations: 0.6887 MB / 0.9852 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.085e-05/0.2218, allocations: 4 kB / 0.9852 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.106e-05/0.2218, allocations: 11.44 kB / 0.9852 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of SimCode: time 1.231e-06/0.2218, allocations: 0 / 0.9852 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of Templates: time 0.004605/0.2264, allocations: 1.688 MB / 0.9869 GB, free: 19.43 MB / 0.6198 GB