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.521/2.521, allocations: 253.2 MB / 260.6 MB, free: 7.387 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001989/0.001989, allocations: 180.8 kB / 319.9 MB, free: 3.062 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.373/2.373, allocations: 205.6 MB / 0.5708 GB, free: 15.23 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.001137/0.001137, allocations: 102.6 kB / 0.6751 GB, free: 4.598 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.421e-05/2.431e-05, allocations: 4 kB / 0.7849 GB, free: 102.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2009, allocations: 106.3 MB / 0.8887 GB, free: 11.8 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9791/1.18, allocations: 131.4 MB / 1.017 GB, free: 5.848 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/1.18, allocations: 73.14 kB / 1.017 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003643/1.184, allocations: 0.8977 MB / 1.018 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.303e-06/1.184, allocations: 0 / 1.018 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.725e-06/1.184, allocations: 4.75 kB / 1.018 GB, free: 4.98 MB / 0.6355 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.0005746/1.185, allocations: 353.9 kB / 1.018 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/1.185, allocations: 12.02 kB / 1.018 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.486e-05/1.185, allocations: 7.906 kB / 1.018 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/1.185, allocations: 175 kB / 1.019 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/1.185, allocations: 4 kB / 1.019 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/1.185, allocations: 4 kB / 1.019 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001081/1.185, allocations: 22.8 kB / 1.019 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/1.185, allocations: 45.19 kB / 1.019 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/1.185, allocations: 4 kB / 1.019 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/1.185, allocations: 0 / 1.019 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.353e-06/1.185, allocations: 0 / 1.019 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004811/1.186, allocations: 259.4 kB / 1.019 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/1.186, allocations: 42.12 kB / 1.019 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.876e-05/1.186, allocations: 16.55 kB / 1.019 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/1.186, allocations: 0 / 1.019 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000171/1.186, allocations: 72.67 kB / 1.019 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.174e-06/1.186, allocations: 3.938 kB / 1.019 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002231/1.186, allocations: 67.75 kB / 1.019 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/1.187, allocations: 55.41 kB / 1.019 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/1.187, allocations: 100.8 kB / 1.019 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/1.187, allocations: 25.7 kB / 1.019 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.812e-05/1.187, allocations: 95.91 kB / 1.019 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.083e-05/1.187, allocations: 6.406 kB / 1.019 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-06/1.187, allocations: 0 / 1.019 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001442/1.187, allocations: 321.5 kB / 1.02 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.186e-05/1.187, allocations: 11.31 kB / 1.02 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/1.187, allocations: 39.06 kB / 1.02 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.616e-05/1.187, allocations: 15.45 kB / 1.02 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/1.187, allocations: 0 / 1.02 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000177/1.187, allocations: 76.3 kB / 1.02 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/1.187, allocations: 9.094 kB / 1.02 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/1.187, allocations: 0.875 kB / 1.02 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/1.187, allocations: 4.062 kB / 1.02 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.492e-05/1.188, allocations: 11.92 kB / 1.02 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/1.188, allocations: 0 / 1.02 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001572/1.188, allocations: 15.98 kB / 1.02 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/1.188, allocations: 4 kB / 1.02 GB, free: 3.027 MB / 0.6355 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 () * 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 9.86e-05/1.188, allocations: 107.9 kB / 1.02 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/1.188, allocations: 7.906 kB / 1.02 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.364e-05/1.188, allocations: 15.56 kB / 1.02 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/1.188, allocations: 4.5 kB / 1.02 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.188, allocations: 0 / 1.02 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/1.188, allocations: 0 / 1.02 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/1.188, allocations: 152.6 kB / 1.02 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/1.188, allocations: 4.188 kB / 1.02 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.573e-05/1.188, allocations: 3.938 kB / 1.02 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/1.188, allocations: 7.938 kB / 1.02 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/1.188, allocations: 0 / 1.02 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/1.188, allocations: 0 / 1.02 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.188, allocations: 0 / 1.02 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/1.189, allocations: 103.3 kB / 1.02 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.438e-05/1.189, allocations: 77.11 kB / 1.02 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/1.189, allocations: 0 / 1.02 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/1.189, allocations: 19.48 kB / 1.02 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.84e-05/1.189, allocations: 7.984 kB / 1.02 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/1.189, allocations: 0 / 1.02 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.769e-05/1.189, allocations: 94.83 kB / 1.02 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.7e-07/1.189, allocations: 0 / 1.02 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002701/1.189, allocations: 12 kB / 1.02 GB, free: 2.367 MB / 0.6355 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 () * 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.0001569/1.189, allocations: 103.8 kB / 1.02 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001518/1.19, allocations: 37.92 kB / 1.021 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.19, allocations: 0 / 1.021 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.204e-05/1.19, allocations: 23.69 kB / 1.021 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/1.19, allocations: 20.62 kB / 1.021 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003149/1.19, allocations: 91.91 kB / 1.021 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/1.191, allocations: 0.687 MB / 1.021 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.007e-05/1.191, allocations: 15.78 kB / 1.021 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.695e-05/1.191, allocations: 11.44 kB / 1.021 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of SimCode: time 7.31e-07/1.191, allocations: 0 / 1.021 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of Templates: time 0.00388/1.195, allocations: 0.7245 MB / 1.022 GB, free: 0.6523 MB / 0.6355 GB