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.001911/0.001911, allocations: 80.52 kB / 19.95 MB, free: 4.605 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.002071/0.002071, allocations: 173.2 kB / 23.24 MB, free: 1.328 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 1.607/1.607, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.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.302/3.302, allocations: 389.5 MB / 0.6343 GB, free: 12.61 MB / 0.6042 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 2.324e-06/2.324e-06, allocations: 0 / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.947e-05/3.179e-05, allocations: 2.281 kB / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002509/0.002541, allocations: 0.8041 MB / 1.002 GB, free: 12.15 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001589/0.00413, allocations: 1.03 MB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.071e-05/0.004201, allocations: 3.938 kB / 1.003 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.004316, allocations: 11.86 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.662e-05/0.004373, allocations: 23.8 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004629/0.004835, allocations: 99.7 kB / 1.003 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001895/0.005025, allocations: 131.5 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.005179, allocations: 37.22 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.005301, allocations: 63.88 kB / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 8.8e-05/0.005389, allocations: 51.86 kB / 1.003 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.291e-05/0.005422, allocations: 12 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001824/0.005604, allocations: 87.91 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.684e-05/0.005671, allocations: 35.86 kB / 1.004 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.499e-05/0.005736, allocations: 43.83 kB / 1.004 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003535/0.00609, allocations: 227.2 kB / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.006094, allocations: 4 kB / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.11e-07/0.006094, allocations: 0 / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.006099, allocations: 3.938 kB / 1.004 GB, free: 10.28 MB / 0.9636 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.0009202/0.00702, allocations: 413.5 kB / 1.004 GB, free: 9.844 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.007062, allocations: 9.344 kB / 1.004 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.587e-05/0.007118, allocations: 20.8 kB / 1.004 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.007342, allocations: 153.5 kB / 1.004 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.007358, allocations: 8.375 kB / 1.004 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.994e-05/0.007388, allocations: 8.375 kB / 1.004 GB, free: 9.625 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000609/0.007997, allocations: 210.8 kB / 1.005 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.008012, allocations: 4.172 kB / 1.005 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.008028, allocations: 4.375 kB / 1.005 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.008034, allocations: 384 / 1.005 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007758/0.00881, allocations: 231.6 kB / 1.005 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009622/0.009772, allocations: 456 kB / 1.005 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004538/0.01023, allocations: 146.5 kB / 1.005 GB, free: 8.551 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004253/0.01065, allocations: 143.4 kB / 1.006 GB, free: 8.41 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.156e-05/0.01071, allocations: 7.984 kB / 1.006 GB, free: 8.402 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.01075, allocations: 34.56 kB / 1.006 GB, free: 8.359 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=25): time 1.633e-06/0.01075, allocations: 3.938 kB / 1.006 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of matching and sorting (n=25): time 0.001436/0.01218, allocations: 473.4 kB / 1.006 GB, free: 7.887 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/0.01224, allocations: 59.39 kB / 1.006 GB, free: 7.816 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.01241, allocations: 144.6 kB / 1.006 GB, free: 7.668 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.01243, allocations: 29.7 kB / 1.006 GB, free: 7.633 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.13e-05/0.01251, allocations: 108.6 kB / 1.006 GB, free: 7.523 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 8.035e-05/0.0126, allocations: 75.38 kB / 1.006 GB, free: 7.449 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.02e-05/0.01267, allocations: 33.7 kB / 1.006 GB, free: 7.41 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001857/0.01285, allocations: 330.8 kB / 1.007 GB, free: 7.078 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004202/0.01327, allocations: 131.9 kB / 1.007 GB, free: 6.949 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003993/0.01367, allocations: 135.8 kB / 1.007 GB, free: 6.816 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008439/0.01451, allocations: 313.3 kB / 1.007 GB, free: 6.512 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.01452, allocations: 0 / 1.007 GB, free: 6.512 MB / 0.9636 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009169/0.01543, allocations: 321.4 kB / 1.008 GB, free: 6.191 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.01545, allocations: 8 kB / 1.008 GB, free: 6.184 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/0.01547, allocations: 3.938 kB / 1.008 GB, free: 6.18 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.01549, allocations: 0 / 1.008 GB, free: 6.18 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/0.01571, allocations: 39.95 kB / 1.008 GB, free: 6.141 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.01572, allocations: 0 / 1.008 GB, free: 6.141 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001837/0.0159, allocations: 39.84 kB / 1.008 GB, free: 6.102 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.915e-05/0.01593, allocations: 4 kB / 1.008 GB, free: 6.098 MB / 0.9636 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.0001661/0.0161, allocations: 147.9 kB / 1.008 GB, free: 5.945 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.829e-05/0.01614, allocations: 15.86 kB / 1.008 GB, free: 5.93 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001006/0.01714, allocations: 358.7 kB / 1.008 GB, free: 5.574 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.01715, allocations: 3.984 kB / 1.008 GB, free: 5.57 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.01715, allocations: 0 / 1.008 GB, free: 5.57 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.01716, allocations: 4 kB / 1.008 GB, free: 5.566 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000262/0.01742, allocations: 189.1 kB / 1.008 GB, free: 5.352 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.096e-06/0.01743, allocations: 7.984 kB / 1.008 GB, free: 5.344 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001985/0.01763, allocations: 31.95 kB / 1.008 GB, free: 5.312 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.01763, allocations: 4 kB / 1.008 GB, free: 5.309 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.01764, allocations: 0 / 1.008 GB, free: 5.309 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.01765, allocations: 0 / 1.008 GB, free: 5.309 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.01765, allocations: 0 / 1.008 GB, free: 5.309 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/0.01882, allocations: 448.5 kB / 1.009 GB, free: 4.855 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.831e-05/0.01884, allocations: 23.84 kB / 1.009 GB, free: 4.832 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.01886, allocations: 0 / 1.009 GB, free: 4.832 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.01907, allocations: 35.95 kB / 1.009 GB, free: 4.797 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.831e-05/0.01915, allocations: 11.98 kB / 1.009 GB, free: 4.785 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.01917, allocations: 4 kB / 1.009 GB, free: 4.781 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 9.467e-05/0.01926, allocations: 110.3 kB / 1.009 GB, free: 4.676 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.01926, allocations: 0 / 1.009 GB, free: 4.676 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002952/0.01956, allocations: 43.94 kB / 1.009 GB, free: 4.633 MB / 0.9636 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.0002937/0.01985, allocations: 127.2 kB / 1.009 GB, free: 4.496 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001008/0.02086, allocations: 359.1 kB / 1.01 GB, free: 4.133 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.02086, allocations: 7.938 kB / 1.01 GB, free: 4.125 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0005094/0.02137, allocations: 219.3 kB / 1.01 GB, free: 3.898 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.0217, allocations: 23.92 kB / 1.01 GB, free: 3.875 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006937/0.0224, allocations: 353.1 kB / 1.01 GB, free: 3.508 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001389/0.02254, allocations: 118.9 kB / 1.01 GB, free: 3.375 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 7.179e-05/0.02261, allocations: 15.97 kB / 1.01 GB, free: 3.359 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.331e-05/0.02265, allocations: 16.44 kB / 1.01 GB, free: 3.344 MB / 0.9636 GB Notification: Performance of SimCode: time 5.01e-07/0.02265, allocations: 0 / 1.01 GB, free: 3.344 MB / 0.9636 GB Notification: Performance of Templates: time 0.006108/0.02876, allocations: 2.159 MB / 1.012 GB, free: 1.223 MB / 0.9636 GB " [Timeout remaining time 300] 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: 9.3469797661528]