Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Obsolete.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.Obsolete.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.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.001115/0.001115, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 199.2 kB / 16.14 MB, free: 6.695 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.4/1.4, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.887/2.887, allocations: 472.6 MB / 0.7447 GB, free: 5 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 62.75 kB / 0.9114 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3584, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add): time 0.002213/0.3606, allocations: 0.8437 MB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009731/0.3616, allocations: 0.8702 MB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.855e-05/0.3617, allocations: 0 / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.318e-05/0.3618, allocations: 3.938 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.734e-05/0.3619, allocations: 7.922 kB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001593/0.362, allocations: 35.91 kB / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.3621, allocations: 79.83 kB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.3623, allocations: 28.2 kB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.913e-05/0.3623, allocations: 39.84 kB / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.406e-05/0.3624, allocations: 47.75 kB / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.696e-05/0.3625, allocations: 8 kB / 1.069 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.771e-05/0.3625, allocations: 4 kB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.569e-05/0.3625, allocations: 11.98 kB / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.545e-05/0.3626, allocations: 31.8 kB / 1.069 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001241/0.3627, allocations: 91.64 kB / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3627, allocations: 4 kB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3627, allocations: 0 / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.3627, allocations: 0 / 1.07 GB, free: 8.805 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.0007044/0.3634, allocations: 403.4 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.3635, allocations: 8.031 kB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.423e-05/0.3635, allocations: 8.844 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.3637, allocations: 176.2 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.3637, allocations: 12.38 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.3638, allocations: 12.31 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003155/0.3641, allocations: 106.2 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.3641, allocations: 192 / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/0.3641, allocations: 7.938 kB / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3641, allocations: 0 / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003729/0.3645, allocations: 99.89 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000572/0.3651, allocations: 344.6 kB / 1.071 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006799/0.3658, allocations: 122.6 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001904/0.366, allocations: 56.81 kB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.366, allocations: 3.984 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.366, allocations: 34.56 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.366, allocations: 0 / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0006724/0.3667, allocations: 185.4 kB / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.3668, allocations: 55.41 kB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.3669, allocations: 129.2 kB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.3669, allocations: 25.7 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.33e-05/0.367, allocations: 103.9 kB / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.367, allocations: 23.73 kB / 1.071 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-05/0.3671, allocations: 17.72 kB / 1.071 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.3672, allocations: 326.8 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001853/0.3674, allocations: 43.95 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001859/0.3676, allocations: 43.95 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003477/0.3679, allocations: 112.7 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3679, allocations: 0 / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000412/0.3684, allocations: 133.5 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.3684, allocations: 4 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3684, allocations: 0 / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.3684, allocations: 4 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001827/0.3686, allocations: 23.97 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.3686, allocations: 3.984 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.3687, allocations: 19.92 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.3688, allocations: 4 kB / 1.072 GB, free: 5.98 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 9.174e-05/0.3689, allocations: 121.7 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.196e-05/0.3689, allocations: 3.906 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.293e-05/0.3689, allocations: 20.36 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.369, allocations: 0 / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.369, allocations: 0 / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.369, allocations: 0 / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002187/0.3692, allocations: 205.5 kB / 1.072 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3692, allocations: 0 / 1.072 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/0.3694, allocations: 23.97 kB / 1.072 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3694, allocations: 0 / 1.072 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.3694, allocations: 4 kB / 1.072 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3694, allocations: 0 / 1.072 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.3694, allocations: 8 kB / 1.072 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004587/0.3699, allocations: 239.8 kB / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.518e-05/0.3699, allocations: 88.95 kB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.37, allocations: 0 / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.3701, allocations: 19.97 kB / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.946e-05/0.3702, allocations: 19.97 kB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/0.3702, allocations: 7.938 kB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.843e-05/0.3703, allocations: 95.39 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3703, allocations: 0 / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002355/0.3705, allocations: 16 kB / 1.073 GB, free: 5.031 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.0001081/0.3707, allocations: 99.19 kB / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004324/0.3711, allocations: 112 kB / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3711, allocations: 0 / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002028/0.3713, allocations: 63.89 kB / 1.073 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.3717, allocations: 11.92 kB / 1.073 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004721/0.3722, allocations: 211.8 kB / 1.073 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.3725, allocations: 0.6926 MB / 1.074 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.79e-05/0.3725, allocations: 8 kB / 1.074 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.578e-05/0.3726, allocations: 19.42 kB / 1.074 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of SimCode: time 4.4e-07/0.3726, allocations: 0 / 1.074 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of Templates: time 0.00384/0.3765, allocations: 1.357 MB / 1.075 GB, free: 2.414 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.makefile (rm -f Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1)