Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_maint.7.0.x_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_maint.7.0.x_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.001335/0.001335, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.001819/0.001819, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.742/1.742, allocations: 205.4 MB / 222.1 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.677/1.677, allocations: 251.9 MB / 0.51 GB, free: 4.895 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005922/0.0005923, allocations: 23.75 kB / 0.6241 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7193/0.7199, allocations: 106.3 MB / 0.728 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002182/0.7221, allocations: 1.186 MB / 0.7291 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005247/0.7227, allocations: 172.4 kB / 0.7293 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.363e-05/0.7228, allocations: 4 kB / 0.7293 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.653e-05/0.7228, allocations: 3.938 kB / 0.7293 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.7229, allocations: 11.97 kB / 0.7293 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001618/0.7231, allocations: 35.89 kB / 0.7294 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.904e-05/0.7232, allocations: 39.95 kB / 0.7294 GB, free: 10 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.7233, allocations: 28.2 kB / 0.7294 GB, free: 9.969 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.663e-05/0.7234, allocations: 35.84 kB / 0.7295 GB, free: 9.934 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.543e-05/0.7235, allocations: 35.83 kB / 0.7295 GB, free: 9.898 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.7236, allocations: 7.938 kB / 0.7295 GB, free: 9.891 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.877e-05/0.7236, allocations: 4 kB / 0.7295 GB, free: 9.887 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.613e-05/0.7236, allocations: 15.97 kB / 0.7295 GB, free: 9.871 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.171e-05/0.7237, allocations: 33.64 kB / 0.7295 GB, free: 9.832 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.719e-05/0.7238, allocations: 63.84 kB / 0.7296 GB, free: 9.77 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.7238, allocations: 4 kB / 0.7296 GB, free: 9.766 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7238, allocations: 7.938 kB / 0.7296 GB, free: 9.758 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.7238, allocations: 0 / 0.7296 GB, free: 9.758 MB / 0.545 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.0006713/0.7245, allocations: 385.1 kB / 0.73 GB, free: 9.336 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.7246, allocations: 12.03 kB / 0.73 GB, free: 9.324 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.311e-05/0.7246, allocations: 7.906 kB / 0.73 GB, free: 9.316 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.7248, allocations: 189.6 kB / 0.7302 GB, free: 9.094 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.7248, allocations: 7.984 kB / 0.7302 GB, free: 9.086 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.7249, allocations: 4 kB / 0.7302 GB, free: 9.082 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003627/0.7252, allocations: 113.6 kB / 0.7303 GB, free: 8.965 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.7253, allocations: 0 / 0.7303 GB, free: 8.965 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.188e-05/0.7253, allocations: 4 kB / 0.7303 GB, free: 8.961 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.7253, allocations: 0 / 0.7303 GB, free: 8.961 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004138/0.7257, allocations: 123.9 kB / 0.7304 GB, free: 8.84 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000601/0.7263, allocations: 348.5 kB / 0.7308 GB, free: 8.449 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005972/0.7269, allocations: 126.6 kB / 0.7309 GB, free: 8.316 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.727, allocations: 4 kB / 0.7309 GB, free: 8.312 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.727, allocations: 42.48 kB / 0.7309 GB, free: 8.262 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.727, allocations: 4 kB / 0.7309 GB, free: 8.258 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0006974/0.7277, allocations: 213.6 kB / 0.7311 GB, free: 8.043 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.7278, allocations: 51.41 kB / 0.7312 GB, free: 7.98 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.7279, allocations: 129.7 kB / 0.7313 GB, free: 7.844 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.7279, allocations: 25.7 kB / 0.7313 GB, free: 7.812 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.394e-05/0.728, allocations: 104.1 kB / 0.7314 GB, free: 7.707 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.889e-05/0.728, allocations: 19.66 kB / 0.7314 GB, free: 7.688 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.224e-06/0.7281, allocations: 0 / 0.7314 GB, free: 7.688 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.7282, allocations: 322.8 kB / 0.7318 GB, free: 7.363 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001811/0.7284, allocations: 55.89 kB / 0.7318 GB, free: 7.309 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/0.7286, allocations: 59.95 kB / 0.7319 GB, free: 7.25 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/0.7288, allocations: 59.91 kB / 0.7319 GB, free: 7.191 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.7288, allocations: 0 / 0.7319 GB, free: 7.191 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004332/0.7292, allocations: 157.5 kB / 0.7321 GB, free: 7.031 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.7292, allocations: 4 kB / 0.7321 GB, free: 7.027 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.7293, allocations: 0 / 0.7321 GB, free: 7.027 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.7293, allocations: 7.953 kB / 0.7321 GB, free: 7.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.7295, allocations: 31.97 kB / 0.7321 GB, free: 6.988 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.7295, allocations: 0 / 0.7321 GB, free: 6.988 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.7296, allocations: 19.98 kB / 0.7321 GB, free: 6.969 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.7296, allocations: 3.984 kB / 0.7321 GB, free: 6.965 MB / 0.545 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 (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 initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000121/0.7298, allocations: 117.8 kB / 0.7323 GB, free: 6.84 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.976e-05/0.7298, allocations: 7.906 kB / 0.7323 GB, free: 6.832 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.877e-05/0.7298, allocations: 12.38 kB / 0.7323 GB, free: 6.82 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.7298, allocations: 3.953 kB / 0.7323 GB, free: 6.816 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.7299, allocations: 7.938 kB / 0.7323 GB, free: 6.809 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.7299, allocations: 3.984 kB / 0.7323 GB, free: 6.805 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/0.7301, allocations: 201.6 kB / 0.7325 GB, free: 6.559 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.7301, allocations: 0 / 0.7325 GB, free: 6.559 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/0.7303, allocations: 27.97 kB / 0.7325 GB, free: 6.531 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.7303, allocations: 0 / 0.7325 GB, free: 6.531 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.7303, allocations: 11.98 kB / 0.7325 GB, free: 6.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.7303, allocations: 0 / 0.7325 GB, free: 6.52 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.7303, allocations: 7.953 kB / 0.7325 GB, free: 6.512 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005071/0.7308, allocations: 255.4 kB / 0.7328 GB, free: 6.246 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.995e-05/0.7309, allocations: 84.95 kB / 0.7328 GB, free: 6.145 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.7309, allocations: 7.938 kB / 0.7329 GB, free: 6.137 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.7311, allocations: 15.98 kB / 0.7329 GB, free: 6.121 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.343e-05/0.7312, allocations: 19.97 kB / 0.7329 GB, free: 6.102 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.7312, allocations: 11.95 kB / 0.7329 GB, free: 6.09 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.084e-05/0.7313, allocations: 102.2 kB / 0.733 GB, free: 5.992 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.3e-07/0.7313, allocations: 0 / 0.733 GB, free: 5.992 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002279/0.7315, allocations: 16 kB / 0.733 GB, free: 5.977 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001917/0.7317, allocations: 95.25 kB / 0.7331 GB, free: 5.875 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004778/0.7322, allocations: 128.5 kB / 0.7332 GB, free: 5.75 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.7322, allocations: 3.938 kB / 0.7332 GB, free: 5.746 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002208/0.7324, allocations: 79.88 kB / 0.7333 GB, free: 5.668 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.7327, allocations: 4 kB / 0.7333 GB, free: 5.664 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005556/0.7333, allocations: 197.7 kB / 0.7335 GB, free: 5.441 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.7337, allocations: 0.6992 MB / 0.7342 GB, free: 4.719 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.461e-05/0.7337, allocations: 11.94 kB / 0.7342 GB, free: 4.703 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.443e-05/0.7338, allocations: 19.42 kB / 0.7342 GB, free: 4.684 MB / 0.545 GB Notification: Performance of SimCode: time 5.81e-07/0.7338, allocations: 0 / 0.7342 GB, free: 4.684 MB / 0.545 GB Notification: Performance of Templates: time 0.004146/0.738, allocations: 1.316 MB / 0.7355 GB, free: 3.379 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) Environment - environmentSimulation: