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.001648/0.001648, 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.002831/0.002831, allocations: 192.9 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.572/1.572, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.975/2.975, allocations: 472.6 MB / 0.7447 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 64.02 kB / 0.9114 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4242/0.4256, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002764/0.4284, allocations: 0.8364 MB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001184/0.4296, allocations: 0.8662 MB / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.621e-05/0.4297, allocations: 0 / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.151e-05/0.4297, allocations: 7.984 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.4299, allocations: 3.938 kB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002012/0.4301, allocations: 39.89 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000121/0.4302, allocations: 79.83 kB / 1.069 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.4304, allocations: 19.98 kB / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.956e-05/0.4305, allocations: 35.91 kB / 1.069 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.4306, allocations: 51.77 kB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.799e-05/0.4306, allocations: 4 kB / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.061e-05/0.4306, allocations: 4 kB / 1.069 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.863e-05/0.4307, allocations: 23.89 kB / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.909e-05/0.4308, allocations: 27.8 kB / 1.069 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.4309, allocations: 83.72 kB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.4309, allocations: 0 / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.774e-06/0.4309, allocations: 0 / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.4309, allocations: 0 / 1.07 GB, free: 8.77 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.0007509/0.4317, allocations: 391.5 kB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.4318, allocations: 16.02 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.398e-05/0.4318, allocations: 8.844 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.432, allocations: 172.2 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.432, allocations: 8.375 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.432, allocations: 384 / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003341/0.4324, allocations: 117.7 kB / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.4324, allocations: 0 / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.4324, allocations: 4 kB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.4324, allocations: 4 kB / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003769/0.4328, allocations: 99.83 kB / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005869/0.4334, allocations: 344.6 kB / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006521/0.4341, allocations: 118.5 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002111/0.4343, allocations: 68.8 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.4343, allocations: 0 / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.4343, allocations: 34.56 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.143e-06/0.4343, allocations: 0 / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0007128/0.4351, allocations: 189.4 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/0.4351, allocations: 55.39 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.4353, allocations: 121.8 kB / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.684e-05/0.4353, allocations: 25.7 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.651e-05/0.4354, allocations: 96.03 kB / 1.071 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.585e-05/0.4354, allocations: 19.75 kB / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.827e-05/0.4355, allocations: 21.7 kB / 1.071 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001922/0.4357, allocations: 326.8 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.4359, allocations: 43.95 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001741/0.4361, allocations: 43.95 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003586/0.4365, allocations: 105.2 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4365, allocations: 0 / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004464/0.4369, allocations: 141.4 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.4369, allocations: 4 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.437, allocations: 4 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.437, allocations: 0 / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/0.4372, allocations: 23.97 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.4372, allocations: 4 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.4373, allocations: 15.92 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.4373, allocations: 4 kB / 1.072 GB, free: 5.969 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.0001341/0.4375, allocations: 113.8 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.38e-05/0.4375, allocations: 7.891 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.071e-05/0.4376, allocations: 16.38 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.4376, allocations: 0 / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/0.4376, allocations: 3.938 kB / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.4376, allocations: 11.88 kB / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002811/0.4379, allocations: 209.4 kB / 1.072 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4379, allocations: 0 / 1.072 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000161/0.4381, allocations: 23.97 kB / 1.072 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.4381, allocations: 0 / 1.072 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.4381, allocations: 0 / 1.072 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.4381, allocations: 0 / 1.072 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.4381, allocations: 4 kB / 1.072 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005182/0.4386, allocations: 235.4 kB / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.008e-05/0.4387, allocations: 81.02 kB / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.4387, allocations: 3.938 kB / 1.073 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.4389, allocations: 15.97 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.439, allocations: 23.97 kB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-06/0.439, allocations: 11.88 kB / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.388e-05/0.4391, allocations: 95.7 kB / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4391, allocations: 0 / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002375/0.4394, allocations: 16 kB / 1.073 GB, free: 5.02 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.0001796/0.4396, allocations: 95.25 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004436/0.44, allocations: 107.9 kB / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.44, allocations: 4 kB / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002039/0.4402, allocations: 59.89 kB / 1.073 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004265/0.4407, allocations: 8.328 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.0005363/0.4412, allocations: 209.3 kB / 1.073 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.4415, allocations: 0.6887 MB / 1.074 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.21e-05/0.4416, allocations: 15.98 kB / 1.074 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.81e-05/0.4417, allocations: 11.44 kB / 1.074 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of SimCode: time 8.22e-07/0.4417, allocations: 0 / 1.074 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of Templates: time 0.00388/0.4456, allocations: 1.358 MB / 1.075 GB, free: 2.414 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)