Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Add.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 196.3 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.094/3.094, allocations: 472.6 MB / 0.7451 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 61.19 kB / 0.912 GB, free: 33.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3998/0.4011, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002577/0.4038, allocations: 0.7755 MB / 1.069 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001076/0.4049, allocations: 0.8662 MB / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.207e-05/0.4049, allocations: 4 kB / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.585e-05/0.405, allocations: 7.922 kB / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.826e-05/0.4051, allocations: 11.88 kB / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001688/0.4052, allocations: 39.89 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.4054, allocations: 75.89 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.4055, allocations: 23.98 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.727e-05/0.4056, allocations: 39.84 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.554e-05/0.4057, allocations: 55.81 kB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.66e-05/0.4057, allocations: 8 kB / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.924e-05/0.4058, allocations: 8 kB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.016e-05/0.4058, allocations: 23.8 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.96e-05/0.4058, allocations: 35.8 kB / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.406, allocations: 91.7 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.406, allocations: 0 / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.923e-06/0.406, allocations: 0 / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.406, allocations: 0 / 1.07 GB, free: 8.379 MB / 0.8262 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.0007314/0.4067, allocations: 395.5 kB / 1.071 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.4068, allocations: 8.031 kB / 1.071 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.667e-05/0.4068, allocations: 16.83 kB / 1.071 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.407, allocations: 176.2 kB / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.4071, allocations: 4.375 kB / 1.071 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.4071, allocations: 8.375 kB / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003309/0.4074, allocations: 109.7 kB / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.4074, allocations: 0 / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.4075, allocations: 4 kB / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.4075, allocations: 0 / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003902/0.4079, allocations: 99.89 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006573/0.4085, allocations: 336.7 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006521/0.4092, allocations: 122.5 kB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002151/0.4094, allocations: 60.8 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.4094, allocations: 4 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.4095, allocations: 34.56 kB / 1.072 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.4095, allocations: 0 / 1.072 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0007043/0.4102, allocations: 181.4 kB / 1.072 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.4102, allocations: 59.41 kB / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.4104, allocations: 125.8 kB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.4104, allocations: 25.7 kB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.34e-05/0.4104, allocations: 92.05 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.4105, allocations: 23.73 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.101e-05/0.4105, allocations: 21.72 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.4107, allocations: 318.8 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002102/0.4109, allocations: 51.95 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/0.4111, allocations: 47.94 kB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003797/0.4115, allocations: 96.77 kB / 1.073 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4115, allocations: 0 / 1.073 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004606/0.4119, allocations: 137.5 kB / 1.073 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.412, allocations: 8 kB / 1.073 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.412, allocations: 0 / 1.073 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.412, allocations: 0 / 1.073 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/0.4122, allocations: 27.97 kB / 1.073 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.4122, allocations: 0 / 1.073 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.4124, allocations: 27.91 kB / 1.073 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.4124, allocations: 3.938 kB / 1.073 GB, free: 5.582 MB / 0.8262 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 (reaToInt1.y,reaToInt.y,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001448/0.4125, allocations: 113.8 kB / 1.073 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.509e-05/0.4126, allocations: 7.906 kB / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.693e-05/0.4126, allocations: 12.36 kB / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.4126, allocations: 4 kB / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.4126, allocations: 0 / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.802e-06/0.4126, allocations: 3.938 kB / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002732/0.4129, allocations: 201.5 kB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.4129, allocations: 4 kB / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.4131, allocations: 27.91 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.882e-06/0.4131, allocations: 7.984 kB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.4131, allocations: 4 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-06/0.4132, allocations: 0 / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.4132, allocations: 3.938 kB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005378/0.4137, allocations: 231.9 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.83e-05/0.4138, allocations: 85.02 kB / 1.073 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.4138, allocations: 0 / 1.073 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.414, allocations: 15.98 kB / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.68e-05/0.4141, allocations: 23.95 kB / 1.073 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.4141, allocations: 7.938 kB / 1.073 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.618e-05/0.4142, allocations: 91.27 kB / 1.074 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4142, allocations: 7.938 kB / 1.074 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002433/0.4144, allocations: 12 kB / 1.074 GB, free: 4.641 MB / 0.8262 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.y,reaToInt.y,reaToInt1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001953/0.4146, allocations: 103.8 kB / 1.074 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004943/0.4151, allocations: 104 kB / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/0.4151, allocations: 4 kB / 1.074 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002449/0.4154, allocations: 67.88 kB / 1.074 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004323/0.4158, allocations: 8 kB / 1.074 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006642/0.4165, allocations: 186.1 kB / 1.074 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004019/0.4169, allocations: 0.6885 MB / 1.075 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.575e-05/0.417, allocations: 11.98 kB / 1.075 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.145e-05/0.4171, allocations: 23.42 kB / 1.075 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.4171, allocations: 0 / 1.075 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of Templates: time 0.005093/0.4222, allocations: 1.572 MB / 1.076 GB, free: 1.832 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1)