Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add.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.Integers.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.536/2.536, allocations: 251.1 MB / 266.7 MB, free: 11.62 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.001338/0.001338, allocations: 180.2 kB / 326.2 MB, free: 2.844 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.379/2.379, allocations: 205.4 MB / 0.5772 GB, free: 20.77 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.0009602/0.0009603, allocations: 83.12 kB / 0.6817 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004845/0.0004847, allocations: 11.53 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2248, allocations: 106.3 MB / 0.8995 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2283/0.4531, allocations: 131.6 MB / 1.028 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003032/0.4535, allocations: 75.95 kB / 1.028 GB, free: 13.63 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007358/0.4609, allocations: 1.498 MB / 1.03 GB, free: 12.13 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.124e-06/0.4609, allocations: 0 / 1.03 GB, free: 12.13 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.4609, allocations: 0 / 1.03 GB, free: 12.13 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008888/0.4619, allocations: 395.2 kB / 1.03 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.4619, allocations: 8.031 kB / 1.03 GB, free: 11.69 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.021e-05/0.462, allocations: 16.78 kB / 1.03 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.4622, allocations: 177.3 kB / 1.03 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.894e-05/0.4622, allocations: 12.38 kB / 1.03 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.4623, allocations: 4.375 kB / 1.03 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000519/0.4628, allocations: 119.9 kB / 1.03 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.4628, allocations: 192 / 1.03 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.474e-05/0.4628, allocations: 7.938 kB / 1.03 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.4629, allocations: 0 / 1.03 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007112/0.4636, allocations: 119.9 kB / 1.03 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008215/0.4644, allocations: 348.6 kB / 1.031 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/0.4656, allocations: 130.6 kB / 1.031 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003786/0.466, allocations: 68.81 kB / 1.031 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.4661, allocations: 0 / 1.031 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.4661, allocations: 34.56 kB / 1.031 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.063e-06/0.4661, allocations: 0 / 1.031 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.001249/0.4674, allocations: 217.4 kB / 1.031 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.4675, allocations: 59.34 kB / 1.031 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.4676, allocations: 129.8 kB / 1.031 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.4677, allocations: 25.7 kB / 1.031 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.604e-05/0.4678, allocations: 103.9 kB / 1.031 GB, free: 9.996 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4e-05/0.4678, allocations: 11.8 kB / 1.031 GB, free: 9.984 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.845e-05/0.4679, allocations: 4 kB / 1.031 GB, free: 9.98 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.468, allocations: 318.8 kB / 1.032 GB, free: 9.66 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003685/0.4684, allocations: 67.92 kB / 1.032 GB, free: 9.594 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003438/0.4688, allocations: 55.95 kB / 1.032 GB, free: 9.539 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003576/0.4691, allocations: 51.97 kB / 1.032 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.4692, allocations: 0 / 1.032 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0008525/0.47, allocations: 165.4 kB / 1.032 GB, free: 9.32 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.4701, allocations: 4 kB / 1.032 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.4701, allocations: 0 / 1.032 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.4701, allocations: 4 kB / 1.032 GB, free: 9.312 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003427/0.4705, allocations: 31.97 kB / 1.032 GB, free: 9.281 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.4705, allocations: 0 / 1.032 GB, free: 9.281 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000245/0.4707, allocations: 23.89 kB / 1.032 GB, free: 9.258 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.4708, allocations: 3.984 kB / 1.032 GB, free: 9.254 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (add1.u1,add1.u2,add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001487/0.4709, allocations: 121.8 kB / 1.032 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.629e-05/0.471, allocations: 4 kB / 1.032 GB, free: 9.121 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.315e-05/0.471, allocations: 12.38 kB / 1.032 GB, free: 9.109 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.4711, allocations: 0 / 1.032 GB, free: 9.109 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.4711, allocations: 0 / 1.032 GB, free: 9.109 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.4711, allocations: 0 / 1.032 GB, free: 9.109 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003229/0.4714, allocations: 209.4 kB / 1.032 GB, free: 8.855 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.4714, allocations: 3.938 kB / 1.032 GB, free: 8.852 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003302/0.4718, allocations: 39.91 kB / 1.033 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.257e-06/0.4718, allocations: 3.984 kB / 1.033 GB, free: 8.809 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/0.4718, allocations: 7.984 kB / 1.033 GB, free: 8.801 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.4718, allocations: 0 / 1.033 GB, free: 8.801 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.4719, allocations: 0 / 1.033 GB, free: 8.801 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008919/0.4728, allocations: 261.4 kB / 1.033 GB, free: 8.531 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.483e-05/0.4728, allocations: 77.11 kB / 1.033 GB, free: 8.438 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.183e-05/0.4729, allocations: 4 kB / 1.033 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002654/0.4732, allocations: 19.98 kB / 1.033 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.4733, allocations: 19.97 kB / 1.033 GB, free: 8.395 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/0.4733, allocations: 8 kB / 1.033 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.812e-05/0.4734, allocations: 100.5 kB / 1.033 GB, free: 8.289 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.867e-06/0.4734, allocations: 0 / 1.033 GB, free: 8.289 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000347/0.4738, allocations: 31.91 kB / 1.033 GB, free: 8.258 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (add1.u1,add1.u2,add1.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): 7 * 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 Backend phase and start with SimCode phase: time 0.0001864/0.474, allocations: 107.2 kB / 1.033 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008117/0.4748, allocations: 131.9 kB / 1.033 GB, free: 8.016 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.4748, allocations: 0 / 1.033 GB, free: 8.016 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003993/0.4752, allocations: 75.88 kB / 1.033 GB, free: 7.941 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003998/0.4757, allocations: 4 kB / 1.033 GB, free: 7.938 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006852/0.4764, allocations: 201.3 kB / 1.034 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.4767, allocations: 0.6887 MB / 1.034 GB, free: 6.984 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001352/0.4769, allocations: 15.98 kB / 1.034 GB, free: 6.969 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.846e-05/0.477, allocations: 15.44 kB / 1.034 GB, free: 6.957 MB / 0.6823 GB Notification: Performance of SimCode: time 1.122e-06/0.477, allocations: 0 / 1.034 GB, free: 6.957 MB / 0.6823 GB Notification: Performance of Templates: time 0.005638/0.4827, allocations: 1.316 MB / 1.036 GB, free: 5.648 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1)