Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.0009/0.0009, allocations: 79.69 kB / 21.74 MB, free: 2.516 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.0009321/0.0009321, allocations: 173.5 kB / 25.18 MB, free: 9.113 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.9936/0.9936, allocations: 177.2 MB / 205.6 MB, free: 5.027 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.92/1.92, allocations: 389.6 MB / 0.6364 GB, free: 12.23 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.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Max") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.7756 GB, free: 5.941 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.771e-05/2.95e-05, allocations: 3.859 kB / 0.7756 GB, free: 5.938 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001596/0.001626, allocations: 0.8176 MB / 0.7764 GB, free: 5.145 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001087/0.002713, allocations: 0.9183 MB / 0.7773 GB, free: 4.219 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.134e-05/0.002764, allocations: 0 / 0.7773 GB, free: 4.219 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.067e-05/0.002805, allocations: 8.422 kB / 0.7773 GB, free: 4.211 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.148e-05/0.002896, allocations: 14.56 kB / 0.7773 GB, free: 4.199 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001694/0.003066, allocations: 39.88 kB / 0.7773 GB, free: 4.16 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.003176, allocations: 82.34 kB / 0.7774 GB, free: 4.09 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.725e-05/0.003263, allocations: 23.97 kB / 0.7774 GB, free: 4.066 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.003366, allocations: 51.78 kB / 0.7775 GB, free: 4.02 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.52e-05/0.003431, allocations: 36.55 kB / 0.7775 GB, free: 3.984 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.346e-05/0.003455, allocations: 11.12 kB / 0.7775 GB, free: 3.977 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 1.284e-05/0.003467, allocations: 8 kB / 0.7775 GB, free: 3.969 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.828e-05/0.003496, allocations: 31.89 kB / 0.7775 GB, free: 3.938 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.654e-05/0.003522, allocations: 19.92 kB / 0.7776 GB, free: 3.918 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.003631, allocations: 67.72 kB / 0.7776 GB, free: 3.852 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.003634, allocations: 4 kB / 0.7776 GB, free: 3.848 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.52e-07/0.003635, allocations: 0 / 0.7776 GB, free: 3.848 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.003639, allocations: 0 / 0.7776 GB, free: 3.848 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.000351/0.00399, allocations: 276.5 kB / 0.7779 GB, free: 3.559 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.004025, allocations: 13.34 kB / 0.7779 GB, free: 3.547 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.214e-05/0.004057, allocations: 8.938 kB / 0.7779 GB, free: 3.539 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.063e-05/0.004147, allocations: 121.6 kB / 0.778 GB, free: 3.395 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.004165, allocations: 384 / 0.778 GB, free: 3.395 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.004178, allocations: 8.375 kB / 0.778 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.004329, allocations: 94.88 kB / 0.7781 GB, free: 3.285 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.004337, allocations: 3.938 kB / 0.7781 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.004347, allocations: 7.719 kB / 0.7781 GB, free: 3.277 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.004352, allocations: 4 kB / 0.7781 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.973e-05/0.004392, allocations: 15.98 kB / 0.7782 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002834/0.004675, allocations: 208 kB / 0.7784 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.004896, allocations: 62.47 kB / 0.7784 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.528e-05/0.004921, allocations: 21.41 kB / 0.7784 GB, free: 2.945 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.004937, allocations: 0 / 0.7784 GB, free: 2.945 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.004958, allocations: 38.28 kB / 0.7785 GB, free: 2.902 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.004958, allocations: 0 / 0.7785 GB, free: 2.902 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0001475/0.005106, allocations: 73.64 kB / 0.7786 GB, free: 2.824 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.005138, allocations: 55.41 kB / 0.7786 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.904e-05/0.005207, allocations: 122.6 kB / 0.7787 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.005218, allocations: 25.7 kB / 0.7787 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.679e-05/0.005255, allocations: 100.1 kB / 0.7788 GB, free: 2.492 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/0.005277, allocations: 15.84 kB / 0.7789 GB, free: 2.477 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.813e-05/0.005315, allocations: 29.69 kB / 0.7789 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.132e-05/0.005387, allocations: 317.6 kB / 0.7792 GB, free: 2.125 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.354e-05/0.00541, allocations: 11.98 kB / 0.7792 GB, free: 2.113 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.69e-05/0.005427, allocations: 4 kB / 0.7792 GB, free: 2.109 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.26e-05/0.00548, allocations: 36.77 kB / 0.7792 GB, free: 2.07 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.005483, allocations: 3.938 kB / 0.7792 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.939e-05/0.005563, allocations: 58.81 kB / 0.7793 GB, free: 2.004 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.005575, allocations: 8 kB / 0.7793 GB, free: 1.996 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.00558, allocations: 4 kB / 0.7793 GB, free: 1.992 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.414e-06/0.005587, allocations: 0.5312 kB / 0.7793 GB, free: 1.992 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.1e-05/0.005668, allocations: 16.92 kB / 0.7793 GB, free: 1.977 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.005671, allocations: 0 / 0.7793 GB, free: 1.977 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.016e-05/0.005711, allocations: 20.44 kB / 0.7793 GB, free: 1.957 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.005717, allocations: 0 / 0.7793 GB, free: 1.957 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,max1.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.231e-05/0.005779, allocations: 114.6 kB / 0.7795 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.833e-05/0.005798, allocations: 9.484 kB / 0.7795 GB, free: 1.828 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/0.005906, allocations: 70.09 kB / 0.7795 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.005909, allocations: 4 kB / 0.7795 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.005911, allocations: 0.5938 kB / 0.7795 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.005914, allocations: 0.6875 kB / 0.7795 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001087/0.006023, allocations: 85.86 kB / 0.7796 GB, free: 1.652 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.006024, allocations: 1.75 kB / 0.7796 GB, free: 1.652 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.082e-05/0.006085, allocations: 15.98 kB / 0.7796 GB, free: 1.637 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.006088, allocations: 3.938 kB / 0.7796 GB, free: 1.633 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.006098, allocations: 11.94 kB / 0.7796 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.0061, allocations: 5.016 kB / 0.7797 GB, free: 1.617 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.006101, allocations: 3.938 kB / 0.7797 GB, free: 1.613 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.006205, allocations: 152.8 kB / 0.7798 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.34e-05/0.006219, allocations: 11.83 kB / 0.7798 GB, free: 1.438 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.698e-06/0.006228, allocations: 4 kB / 0.7798 GB, free: 1.434 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.723e-05/0.006275, allocations: 8.875 kB / 0.7798 GB, free: 1.426 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.138e-05/0.006327, allocations: 23.95 kB / 0.7798 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.331e-06/0.006332, allocations: 0 / 0.7798 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.891e-05/0.006351, allocations: 21.72 kB / 0.7799 GB, free: 1.379 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2e-07/0.006351, allocations: 0 / 0.7799 GB, free: 1.379 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001253/0.006477, allocations: 16.56 kB / 0.7799 GB, free: 1.363 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 (max1.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.884e-05/0.006565, allocations: 77.95 kB / 0.78 GB, free: 1.277 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.062e-05/0.006656, allocations: 37.53 kB / 0.78 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.006661, allocations: 0 / 0.78 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.586e-05/0.006697, allocations: 34 kB / 0.78 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.006841, allocations: 17.02 kB / 0.78 GB, free: 1.188 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002983/0.007139, allocations: 203.7 kB / 0.7802 GB, free: 0.9531 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.001e-05/0.007189, allocations: 76.27 kB / 0.7803 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.395e-05/0.007273, allocations: 68.3 kB / 0.7804 GB, free: 0.793 MB / 0.7292 GB Notification: Performance of SimCode: time 1.022e-06/0.007274, allocations: 0 / 0.7804 GB, free: 0.793 MB / 0.7292 GB Notification: Performance of Templates: time 0.001823/0.009097, allocations: 1.264 MB / 0.7816 GB, free: 15.57 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Max > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.774005143903196]