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.001075/0.001075, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009106/0.009106, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.643/1.643, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.014/3.014, allocations: 473.4 MB / 0.7469 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004627/0.0004628, allocations: 15.59 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4579/0.4584, allocations: 162.2 MB / 1.074 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001549/0.46, allocations: 0.5013 MB / 1.075 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001204/0.4612, allocations: 0.8701 MB / 1.075 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.225e-05/0.4613, allocations: 4 kB / 1.075 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.212e-05/0.4613, allocations: 3.938 kB / 1.075 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001107/0.4614, allocations: 7.938 kB / 1.076 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001881/0.4616, allocations: 27.97 kB / 1.076 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000128/0.4618, allocations: 75.88 kB / 1.076 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.4619, allocations: 27.98 kB / 1.076 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.81e-05/0.462, allocations: 31.8 kB / 1.076 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.4621, allocations: 43.81 kB / 1.076 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.556e-05/0.4622, allocations: 4 kB / 1.076 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.484e-05/0.4622, allocations: 4 kB / 1.076 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.707e-05/0.4622, allocations: 11.92 kB / 1.076 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.056e-05/0.4623, allocations: 57.5 kB / 1.076 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.4624, allocations: 83.69 kB / 1.076 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.4624, allocations: 4 kB / 1.076 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.094e-06/0.4624, allocations: 4 kB / 1.076 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.4625, allocations: 0 / 1.076 GB, free: 5.781 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.0006838/0.4631, allocations: 383.5 kB / 1.076 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.4632, allocations: 8.031 kB / 1.076 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.066e-05/0.4633, allocations: 8.844 kB / 1.076 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.4634, allocations: 180.2 kB / 1.076 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.4635, allocations: 12.31 kB / 1.076 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.4635, allocations: 8.359 kB / 1.076 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003417/0.4639, allocations: 117.7 kB / 1.077 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.4639, allocations: 4 kB / 1.077 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.4639, allocations: 4 kB / 1.077 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.4639, allocations: 4 kB / 1.077 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004188/0.4643, allocations: 115.9 kB / 1.077 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005902/0.4649, allocations: 340.6 kB / 1.077 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006812/0.4656, allocations: 126.6 kB / 1.077 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002168/0.4659, allocations: 76.8 kB / 1.077 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.4659, allocations: 0 / 1.077 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.4659, allocations: 38.56 kB / 1.077 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.4659, allocations: 0 / 1.077 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0007481/0.4667, allocations: 221.4 kB / 1.077 GB, free: 4 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.4667, allocations: 51.41 kB / 1.077 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.4669, allocations: 125.8 kB / 1.078 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.4669, allocations: 25.7 kB / 1.078 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.849e-05/0.467, allocations: 88.14 kB / 1.078 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.467, allocations: 23.64 kB / 1.078 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.18e-05/0.4671, allocations: 17.72 kB / 1.078 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.4672, allocations: 330.7 kB / 1.078 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/0.4674, allocations: 55.95 kB / 1.078 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001882/0.4676, allocations: 59.95 kB / 1.078 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003886/0.468, allocations: 120.7 kB / 1.078 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.468, allocations: 0 / 1.078 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004618/0.4685, allocations: 157.5 kB / 1.078 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.4685, allocations: 9.406 kB / 1.078 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.4685, allocations: 0 / 1.078 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.4685, allocations: 0 / 1.078 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.4687, allocations: 31.97 kB / 1.078 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.4687, allocations: 0 / 1.078 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.4689, allocations: 23.92 kB / 1.079 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.4689, allocations: 4 kB / 1.079 GB, free: 2.844 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.0001191/0.469, allocations: 121.8 kB / 1.079 GB, free: 2.715 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.4691, allocations: 3.906 kB / 1.079 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.87e-05/0.4691, allocations: 12.38 kB / 1.079 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.4691, allocations: 4 kB / 1.079 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.4691, allocations: 0 / 1.079 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.4691, allocations: 3.938 kB / 1.079 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002171/0.4693, allocations: 205.5 kB / 1.079 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.4693, allocations: 0 / 1.079 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/0.4695, allocations: 27.97 kB / 1.079 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.4695, allocations: 0 / 1.079 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.4695, allocations: 8 kB / 1.079 GB, free: 2.406 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.4696, allocations: 4 kB / 1.079 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.4696, allocations: 0 / 1.079 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005172/0.4701, allocations: 267.7 kB / 1.079 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.012e-05/0.4701, allocations: 81.02 kB / 1.079 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/0.4702, allocations: 7.984 kB / 1.079 GB, free: 2.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/0.4703, allocations: 15.98 kB / 1.079 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.656e-05/0.4704, allocations: 23.97 kB / 1.079 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.4704, allocations: 7.938 kB / 1.079 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.853e-05/0.4705, allocations: 95.27 kB / 1.079 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4705, allocations: 0 / 1.079 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002334/0.4708, allocations: 12 kB / 1.079 GB, free: 1.867 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.0001611/0.4709, allocations: 95.25 kB / 1.079 GB, free: 1.766 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004694/0.4714, allocations: 136 kB / 1.08 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4714, allocations: 0 / 1.08 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000222/0.4716, allocations: 75.89 kB / 1.08 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.472, allocations: 11.92 kB / 1.08 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004615/0.4724, allocations: 189.4 kB / 1.08 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.4727, allocations: 0.6926 MB / 1.081 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.663e-05/0.4728, allocations: 11.98 kB / 1.081 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.845e-05/0.4729, allocations: 19.42 kB / 1.081 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.4729, allocations: 0 / 1.081 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of Templates: time 0.003939/0.4768, allocations: 1.339 MB / 1.082 GB, free: 15.25 MB / 0.8419 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)