Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 80.81 kB / 21.54 MB, free: 2.949 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 160.6 kB / 24.96 MB, free: 7.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9583/0.9583, allocations: 177.1 MB / 205.4 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.958/1.958, allocations: 389.6 MB / 0.6362 GB, free: 12.32 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 0.776 GB, free: 5.348 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.204e-05/2.432e-05, allocations: 7.109 kB / 0.776 GB, free: 5.344 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001835/0.001859, allocations: 0.8322 MB / 0.7768 GB, free: 4.539 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00102/0.002879, allocations: 0.9064 MB / 0.7777 GB, free: 3.621 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.737e-05/0.002926, allocations: 4 kB / 0.7777 GB, free: 3.617 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.572e-05/0.002962, allocations: 7.875 kB / 0.7777 GB, free: 3.609 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.892e-05/0.003051, allocations: 6.891 kB / 0.7777 GB, free: 3.605 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001553/0.003206, allocations: 50.56 kB / 0.7777 GB, free: 3.559 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.003322, allocations: 86.45 kB / 0.7778 GB, free: 3.484 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.137e-05/0.003413, allocations: 19.97 kB / 0.7778 GB, free: 3.465 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 9.87e-05/0.003512, allocations: 47.47 kB / 0.7779 GB, free: 3.422 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.734e-05/0.003589, allocations: 41.19 kB / 0.7779 GB, free: 3.383 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.37e-05/0.003613, allocations: 8 kB / 0.7779 GB, free: 3.375 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 1.444e-05/0.003628, allocations: 8 kB / 0.7779 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.901e-05/0.003657, allocations: 23.91 kB / 0.778 GB, free: 3.344 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.009e-05/0.003687, allocations: 25.59 kB / 0.778 GB, free: 3.32 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.00011/0.003797, allocations: 67.67 kB / 0.7781 GB, free: 3.254 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.003799, allocations: 0 / 0.7781 GB, free: 3.254 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.92e-07/0.0038, allocations: 4 kB / 0.7781 GB, free: 3.25 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.003804, allocations: 1.156 kB / 0.7781 GB, free: 3.25 MB / 0.7292 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.0006247/0.004429, allocations: 284.6 kB / 0.7783 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.004462, allocations: 10.34 kB / 0.7783 GB, free: 2.941 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.301e-05/0.004495, allocations: 8.938 kB / 0.7784 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.262e-05/0.004588, allocations: 113.8 kB / 0.7785 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.004607, allocations: 4.969 kB / 0.7785 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.004619, allocations: 8.906 kB / 0.7785 GB, free: 2.785 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.004788, allocations: 87.83 kB / 0.7786 GB, free: 2.691 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.004799, allocations: 7.922 kB / 0.7786 GB, free: 2.684 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.004809, allocations: 8.812 kB / 0.7786 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.004815, allocations: 0 / 0.7786 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.085e-05/0.004866, allocations: 17.42 kB / 0.7786 GB, free: 2.66 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003037/0.005169, allocations: 204.1 kB / 0.7788 GB, free: 2.445 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002661/0.005435, allocations: 75.75 kB / 0.7789 GB, free: 2.363 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.287e-05/0.005468, allocations: 14.58 kB / 0.7789 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.005485, allocations: 4 kB / 0.7789 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.005503, allocations: 30.56 kB / 0.7789 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.005504, allocations: 0 / 0.7789 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0001613/0.005665, allocations: 70.62 kB / 0.779 GB, free: 2.23 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.005693, allocations: 51.41 kB / 0.779 GB, free: 2.168 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.796e-05/0.005761, allocations: 127.2 kB / 0.7791 GB, free: 2.031 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.005772, allocations: 25.7 kB / 0.7792 GB, free: 2 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.801e-05/0.00581, allocations: 97.05 kB / 0.7793 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.005833, allocations: 23.83 kB / 0.7793 GB, free: 1.879 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.421e-05/0.005877, allocations: 25.69 kB / 0.7793 GB, free: 1.848 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.678e-05/0.005954, allocations: 319.5 kB / 0.7796 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.341e-05/0.005978, allocations: 8.859 kB / 0.7796 GB, free: 1.52 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.175e-05/0.005999, allocations: 8 kB / 0.7796 GB, free: 1.512 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.711e-05/0.006057, allocations: 29.58 kB / 0.7797 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.006059, allocations: 4.625 kB / 0.7797 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.35e-05/0.006153, allocations: 61.66 kB / 0.7797 GB, free: 1.41 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.006164, allocations: 5.812 kB / 0.7797 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.006169, allocations: 7.922 kB / 0.7797 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.00618, allocations: 0 / 0.7797 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.188e-05/0.006272, allocations: 19.98 kB / 0.7797 GB, free: 1.379 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-06/0.006275, allocations: 1.422 kB / 0.7798 GB, free: 1.379 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.634e-05/0.006321, allocations: 11.94 kB / 0.7798 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.006328, allocations: 4.594 kB / 0.7798 GB, free: 1.363 MB / 0.7292 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,sub.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 6.4e-05/0.006392, allocations: 118.8 kB / 0.7799 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.006417, allocations: 4 kB / 0.7799 GB, free: 1.234 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.511e-05/0.006442, allocations: 12.42 kB / 0.7799 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.006446, allocations: 4.812 kB / 0.7799 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.006448, allocations: 0 / 0.7799 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.006451, allocations: 0.9375 kB / 0.7799 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.006574, allocations: 85.88 kB / 0.78 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.006575, allocations: 0.8438 kB / 0.78 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.114e-05/0.006646, allocations: 19.97 kB / 0.78 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.006649, allocations: 4.781 kB / 0.78 GB, free: 1.098 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.006656, allocations: 7.938 kB / 0.78 GB, free: 1.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-07/0.006657, allocations: 0 / 0.78 GB, free: 1.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.006658, allocations: 1.031 kB / 0.78 GB, free: 1.09 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.006779, allocations: 159.5 kB / 0.7802 GB, free: 0.918 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.36e-05/0.006792, allocations: 17.58 kB / 0.7802 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.006805, allocations: 3.984 kB / 0.7802 GB, free: 0.8984 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.702e-05/0.006872, allocations: 4 kB / 0.7802 GB, free: 0.8945 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.15e-05/0.006933, allocations: 19.97 kB / 0.7802 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.116e-06/0.006942, allocations: 9.094 kB / 0.7802 GB, free: 0.8672 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.821e-05/0.00696, allocations: 21.22 kB / 0.7802 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.00696, allocations: 0 / 0.7802 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000184/0.007144, allocations: 13.62 kB / 0.7803 GB, free: 0.832 MB / 0.7292 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 (sub.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 8.187e-05/0.007226, allocations: 88.34 kB / 0.7803 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.742e-05/0.007323, allocations: 33.73 kB / 0.7804 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.007326, allocations: 0 / 0.7804 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.884e-05/0.007374, allocations: 29.78 kB / 0.7804 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001677/0.007542, allocations: 16.97 kB / 0.7804 GB, free: 0.6523 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002829/0.007825, allocations: 177.9 kB / 0.7806 GB, free: 460 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.761e-05/0.007863, allocations: 62.86 kB / 0.7806 GB, free: 380 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.263e-05/0.007915, allocations: 12.56 kB / 0.7807 GB, free: 372 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.918e-05/0.008004, allocations: 67.36 kB / 0.7807 GB, free: 304 kB / 0.7292 GB Notification: Performance of SimCode: time 3.91e-07/0.008005, allocations: 0 / 0.7807 GB, free: 304 kB / 0.7292 GB Notification: Performance of Templates: time 0.003592/0.0116, allocations: 1.704 MB / 0.7824 GB, free: 14.67 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.11547658033669]