Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.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_3.0.0_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.001452/0.001452, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001879/0.001879, allocations: 195.9 kB / 16.14 MB, free: 6.656 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.533/1.533, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.078/3.078, allocations: 472.6 MB / 0.7447 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002579/0.00258, allocations: 71.83 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4674/0.47, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002321/0.4724, allocations: 0.8441 MB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00107/0.4735, allocations: 0.8663 MB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.152e-05/0.4735, allocations: 0 / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.641e-05/0.4736, allocations: 7.922 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.425e-05/0.4737, allocations: 7.938 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001713/0.4739, allocations: 27.97 kB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001173/0.474, allocations: 83.81 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.4741, allocations: 20 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.2e-05/0.4742, allocations: 39.84 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.494e-05/0.4743, allocations: 47.81 kB / 1.069 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.783e-05/0.4744, allocations: 4 kB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2e-05/0.4744, allocations: 4 kB / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.713e-05/0.4744, allocations: 15.92 kB / 1.069 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.161e-05/0.4745, allocations: 39.72 kB / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000122/0.4746, allocations: 79.72 kB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.4746, allocations: 0 / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.203e-06/0.4746, allocations: 4 kB / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.4746, allocations: 4 kB / 1.07 GB, free: 8.797 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.0007213/0.4754, allocations: 393.2 kB / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.4754, allocations: 8.031 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.869e-05/0.4755, allocations: 8.844 kB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.4757, allocations: 180.2 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.4757, allocations: 8.375 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.4757, allocations: 4.375 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003248/0.476, allocations: 109.7 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.4761, allocations: 4 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.4761, allocations: 7.938 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.4761, allocations: 0 / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003877/0.4765, allocations: 95.89 kB / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005824/0.4771, allocations: 340.7 kB / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006808/0.4778, allocations: 122.5 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001961/0.478, allocations: 60.8 kB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.478, allocations: 3.984 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.478, allocations: 38.5 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.478, allocations: 0 / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0006979/0.4787, allocations: 185.4 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.4788, allocations: 51.41 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.4789, allocations: 125.8 kB / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.479, allocations: 25.7 kB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.971e-05/0.479, allocations: 92.05 kB / 1.071 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.903e-05/0.4791, allocations: 23.73 kB / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.332e-05/0.4791, allocations: 25.7 kB / 1.071 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.4793, allocations: 322.8 kB / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/0.4794, allocations: 43.95 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.4796, allocations: 48.27 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003364/0.48, allocations: 108.9 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.48, allocations: 0 / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004123/0.4804, allocations: 137.5 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/0.4804, allocations: 9.703 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.4804, allocations: 0 / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.4805, allocations: 4 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.4806, allocations: 23.97 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.4807, allocations: 4 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.4808, allocations: 11.92 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.4808, allocations: 4 kB / 1.072 GB, free: 6 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.271e-05/0.4809, allocations: 113.8 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.305e-05/0.4809, allocations: 7.906 kB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.133e-05/0.481, allocations: 20.36 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.481, allocations: 0 / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.481, allocations: 3.984 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.481, allocations: 3.938 kB / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002226/0.4812, allocations: 209.4 kB / 1.072 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4812, allocations: 0 / 1.072 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/0.4814, allocations: 27.91 kB / 1.072 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.4814, allocations: 0 / 1.072 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.4814, allocations: 4 kB / 1.072 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.4814, allocations: 0 / 1.072 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.4815, allocations: 4 kB / 1.072 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004501/0.4819, allocations: 231.4 kB / 1.073 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.105e-05/0.482, allocations: 84.95 kB / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/0.482, allocations: 4 kB / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.4821, allocations: 15.97 kB / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.888e-05/0.4822, allocations: 19.98 kB / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.4822, allocations: 11.92 kB / 1.073 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.446e-05/0.4823, allocations: 91.27 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4823, allocations: 3.938 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002437/0.4826, allocations: 12 kB / 1.073 GB, free: 5.055 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.0001337/0.4827, allocations: 103.2 kB / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004243/0.4831, allocations: 103.9 kB / 1.073 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4831, allocations: 0 / 1.073 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002025/0.4834, allocations: 67.88 kB / 1.073 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.4837, allocations: 8 kB / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004643/0.4842, allocations: 195.8 kB / 1.073 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.4845, allocations: 0.6887 MB / 1.074 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.703e-05/0.4846, allocations: 15.98 kB / 1.074 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.137e-05/0.4846, allocations: 11.44 kB / 1.074 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of SimCode: time 2.886e-06/0.4846, allocations: 0 / 1.074 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of Templates: time 0.003888/0.4885, allocations: 1.364 MB / 1.075 GB, free: 2.453 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1)