Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.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.001899/0.001899, allocations: 104.3 kB / 19.72 MB, free: 416 kB / 13.93 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.001952/0.001952, allocations: 212.9 kB / 23.02 MB, free: 2.949 MB / 13.93 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 1.707/1.707, allocations: 230.6 MB / 256.8 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 178] 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 3.374/3.374, allocations: 0.5045 GB / 0.8104 GB, free: 2.758 MB / 0.6511 GB " [Timeout remaining time 176] 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.Reals.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003966/0.003966, allocations: 75.89 kB / 1.177 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9779/0.9818, allocations: 180 MB / 1.353 GB, free: 1.633 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002827/0.9847, allocations: 0.8099 MB / 1.354 GB, free: 0.8242 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.002057/0.9867, allocations: 1.034 MB / 1.355 GB, free: 15.78 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.821e-05/0.9868, allocations: 8 kB / 1.355 GB, free: 15.77 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001244/0.9869, allocations: 7.875 kB / 1.355 GB, free: 15.76 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 8.968e-05/0.987, allocations: 23.78 kB / 1.355 GB, free: 15.74 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005198/0.9875, allocations: 99.75 kB / 1.355 GB, free: 15.64 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.000245/0.9878, allocations: 115.7 kB / 1.355 GB, free: 15.53 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001764/0.9879, allocations: 29.3 kB / 1.355 GB, free: 15.5 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.9881, allocations: 59.77 kB / 1.355 GB, free: 15.44 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.9882, allocations: 51.77 kB / 1.355 GB, free: 15.39 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 3.332e-05/0.9882, allocations: 12 kB / 1.355 GB, free: 15.38 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002249/0.9884, allocations: 83.91 kB / 1.355 GB, free: 15.3 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 9.259e-05/0.9885, allocations: 51.83 kB / 1.355 GB, free: 15.25 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 9.418e-05/0.9886, allocations: 43.67 kB / 1.355 GB, free: 15.2 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004231/0.9891, allocations: 221.9 kB / 1.356 GB, free: 14.99 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.9891, allocations: 0 / 1.356 GB, free: 14.99 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.973e-06/0.9891, allocations: 0 / 1.356 GB, free: 14.99 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.9891, allocations: 0 / 1.356 GB, free: 14.99 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.001418/0.9905, allocations: 421.5 kB / 1.356 GB, free: 14.54 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.887e-05/0.9905, allocations: 12.88 kB / 1.356 GB, free: 14.53 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.294e-05/0.9906, allocations: 24.73 kB / 1.356 GB, free: 14.51 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/0.9909, allocations: 141.4 kB / 1.356 GB, free: 14.35 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.9909, allocations: 8.375 kB / 1.356 GB, free: 14.34 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/0.9909, allocations: 12.25 kB / 1.356 GB, free: 14.33 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008311/0.9918, allocations: 210.9 kB / 1.356 GB, free: 14.12 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.9918, allocations: 4.188 kB / 1.356 GB, free: 14.11 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.412e-05/0.9918, allocations: 7.938 kB / 1.356 GB, free: 14.11 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.9918, allocations: 0 / 1.356 GB, free: 14.11 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.9929, allocations: 223.8 kB / 1.357 GB, free: 13.89 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001312/0.9942, allocations: 455.5 kB / 1.357 GB, free: 13.41 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006594/0.9948, allocations: 146.5 kB / 1.357 GB, free: 13.26 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006037/0.9954, allocations: 144.7 kB / 1.357 GB, free: 13.11 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.877e-05/0.9955, allocations: 7.984 kB / 1.357 GB, free: 13.11 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.415e-05/0.9956, allocations: 38.5 kB / 1.357 GB, free: 13.06 MB / 1.042 GB Notification: Performance of pre-optimization done (n=25): time 1.352e-06/0.9956, allocations: 0 / 1.357 GB, free: 13.06 MB / 1.042 GB Notification: Performance of matching and sorting (n=25): time 0.00197/0.9975, allocations: 479.8 kB / 1.358 GB, free: 12.59 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.154e-05/0.9976, allocations: 55.34 kB / 1.358 GB, free: 12.52 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002248/0.9978, allocations: 158.1 kB / 1.358 GB, free: 12.36 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/0.9979, allocations: 25.7 kB / 1.358 GB, free: 12.32 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.998, allocations: 104.6 kB / 1.358 GB, free: 12.22 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.9981, allocations: 71.33 kB / 1.358 GB, free: 12.15 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.9982, allocations: 37.78 kB / 1.358 GB, free: 12.11 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0002591/0.9984, allocations: 330.8 kB / 1.358 GB, free: 11.77 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005854/0.999, allocations: 135.9 kB / 1.359 GB, free: 11.64 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005682/0.9996, allocations: 132 kB / 1.359 GB, free: 11.51 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/1.001, allocations: 298.7 kB / 1.359 GB, free: 11.22 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/1.001, allocations: 4 kB / 1.359 GB, free: 11.21 MB / 1.042 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001252/1.002, allocations: 331.8 kB / 1.359 GB, free: 10.89 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/1.002, allocations: 8 kB / 1.359 GB, free: 10.88 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.932e-05/1.002, allocations: 80 / 1.359 GB, free: 10.88 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/1.002, allocations: 0 / 1.359 GB, free: 10.88 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003269/1.002, allocations: 35.95 kB / 1.359 GB, free: 10.84 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/1.002, allocations: 7.969 kB / 1.359 GB, free: 10.84 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002624/1.003, allocations: 43.8 kB / 1.359 GB, free: 10.79 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.359e-05/1.003, allocations: 3.984 kB / 1.359 GB, free: 10.79 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (sorDes.yIdx[5],sorDes.yIdx[4],sorDes.yIdx[3],sorDes.yIdx[2],sorDes.yIdx[1],sorAsc.yIdx[5],sorAsc.yIdx[4],sorAsc.yIdx[3],sorAsc.yIdx[2],sorAsc.yIdx[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0002069/1.003, allocations: 142.3 kB / 1.36 GB, free: 10.64 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.286e-05/1.003, allocations: 15.91 kB / 1.36 GB, free: 10.62 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001384/1.004, allocations: 358.6 kB / 1.36 GB, free: 10.27 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/1.004, allocations: 0 / 1.36 GB, free: 10.27 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/1.004, allocations: 3.938 kB / 1.36 GB, free: 10.27 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.802e-06/1.004, allocations: 3.938 kB / 1.36 GB, free: 10.26 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00038/1.005, allocations: 193.2 kB / 1.36 GB, free: 10.04 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/1.005, allocations: 4 kB / 1.36 GB, free: 10.04 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002902/1.005, allocations: 35.95 kB / 1.36 GB, free: 10 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/1.005, allocations: 4 kB / 1.36 GB, free: 10 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/1.005, allocations: 3.938 kB / 1.36 GB, free: 9.996 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/1.005, allocations: 0 / 1.36 GB, free: 9.996 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/1.005, allocations: 0 / 1.36 GB, free: 9.996 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/1.006, allocations: 440.8 kB / 1.361 GB, free: 9.551 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.603e-05/1.006, allocations: 19.8 kB / 1.361 GB, free: 9.531 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.779e-05/1.006, allocations: 0 / 1.361 GB, free: 9.531 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002932/1.007, allocations: 31.95 kB / 1.361 GB, free: 9.5 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.837e-05/1.007, allocations: 15.97 kB / 1.361 GB, free: 9.484 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.15e-05/1.007, allocations: 4 kB / 1.361 GB, free: 9.48 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0001311/1.007, allocations: 114 kB / 1.361 GB, free: 9.371 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.3e-07/1.007, allocations: 8 kB / 1.361 GB, free: 9.363 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0004903/1.007, allocations: 39.94 kB / 1.361 GB, free: 9.324 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (sorAsc.yIdx[1],sorAsc.yIdx[2],sorAsc.yIdx[3],sorAsc.yIdx[4],sorAsc.yIdx[5],sorDes.yIdx[1],sorDes.yIdx[2],sorDes.yIdx[3],sorDes.yIdx[4],sorDes.yIdx[5]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003029/1.008, allocations: 127.2 kB / 1.361 GB, free: 9.195 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.001385/1.009, allocations: 371.1 kB / 1.361 GB, free: 8.82 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.009, allocations: 0 / 1.361 GB, free: 8.82 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007001/1.01, allocations: 219.3 kB / 1.362 GB, free: 8.594 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000503/1.01, allocations: 19.94 kB / 1.362 GB, free: 8.574 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000946/1.011, allocations: 351.4 kB / 1.362 GB, free: 8.199 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000189/1.012, allocations: 118.8 kB / 1.362 GB, free: 8.062 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0001138/1.012, allocations: 15.98 kB / 1.362 GB, free: 8.047 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.633e-05/1.012, allocations: 11.44 kB / 1.362 GB, free: 8.035 MB / 1.042 GB Notification: Performance of SimCode: time 5.01e-07/1.012, allocations: 0 / 1.362 GB, free: 8.035 MB / 1.042 GB Notification: Performance of Templates: time 0.008361/1.02, allocations: 2.28 MB / 1.364 GB, free: 5.797 MB / 1.042 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.63264658395201]