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.0008812/0.0008812, allocations: 80.81 kB / 21.55 MB, free: 2.945 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.0009265/0.0009265, allocations: 164 kB / 24.97 MB, free: 9.125 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.047/1.047, allocations: 177.1 MB / 205.4 MB, free: 5.473 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.977/1.977, allocations: 389.6 MB / 0.6362 GB, free: 12.28 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.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.264e-06/2.264e-06, allocations: 0 / 0.776 GB, free: 5.266 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.879e-05/2.105e-05, allocations: 2.312 kB / 0.776 GB, free: 5.262 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001437/0.001458, allocations: 0.8765 MB / 0.7769 GB, free: 4.414 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00111/0.002567, allocations: 1.06 MB / 0.7779 GB, free: 3.344 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.463e-05/0.002632, allocations: 0 / 0.7779 GB, free: 3.344 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001169/0.002749, allocations: 12.62 kB / 0.778 GB, free: 3.332 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.411e-05/0.002803, allocations: 34.03 kB / 0.778 GB, free: 3.309 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003276/0.00313, allocations: 80.88 kB / 0.7781 GB, free: 3.23 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001264/0.003257, allocations: 138.4 kB / 0.7782 GB, free: 3.102 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.003362, allocations: 33.94 kB / 0.7782 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 8.684e-05/0.003449, allocations: 75.86 kB / 0.7783 GB, free: 2.996 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.049e-05/0.003499, allocations: 43.88 kB / 0.7783 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.003519, allocations: 10.5 kB / 0.7783 GB, free: 2.945 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001351/0.003654, allocations: 99.84 kB / 0.7784 GB, free: 2.848 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.425e-05/0.003698, allocations: 43.83 kB / 0.7785 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.327e-05/0.003732, allocations: 35.86 kB / 0.7785 GB, free: 2.77 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001832/0.003915, allocations: 179.3 kB / 0.7787 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.003917, allocations: 0 / 0.7787 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.32e-07/0.003917, allocations: 0 / 0.7787 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.003921, allocations: 0.625 kB / 0.7787 GB, free: 2.594 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0003852/0.004306, allocations: 369.4 kB / 0.779 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.004343, allocations: 13.34 kB / 0.7791 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.235e-05/0.004375, allocations: 17.45 kB / 0.7791 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.004497, allocations: 142.7 kB / 0.7792 GB, free: 2.016 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-06/0.004506, allocations: 4.375 kB / 0.7792 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.004518, allocations: 9.875 kB / 0.7792 GB, free: 2.004 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.004713, allocations: 126.6 kB / 0.7793 GB, free: 1.871 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.004721, allocations: 1.312 kB / 0.7793 GB, free: 1.871 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.004732, allocations: 4.375 kB / 0.7794 GB, free: 1.867 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.004739, allocations: 8.359 kB / 0.7794 GB, free: 1.859 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.967e-05/0.004789, allocations: 37.14 kB / 0.7794 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003431/0.005132, allocations: 286.4 kB / 0.7797 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.557e-05/0.005198, allocations: 90.97 kB / 0.7798 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.147e-05/0.005229, allocations: 25.73 kB / 0.7798 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.498e-05/0.005264, allocations: 4 kB / 0.7798 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.005283, allocations: 36 kB / 0.7798 GB, free: 1.355 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=25): time 1.213e-06/0.005284, allocations: 4 kB / 0.7798 GB, free: 1.352 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25): time 0.0001708/0.005455, allocations: 128.5 kB / 0.7799 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.402e-05/0.005479, allocations: 51.41 kB / 0.78 GB, free: 1.16 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.515e-05/0.005554, allocations: 160.9 kB / 0.7801 GB, free: 0.9922 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.005565, allocations: 25.7 kB / 0.7802 GB, free: 0.9609 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.571e-05/0.005601, allocations: 110.2 kB / 0.7803 GB, free: 0.8516 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.092e-05/0.005642, allocations: 63.42 kB / 0.7803 GB, free: 0.7891 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-05/0.00568, allocations: 33.67 kB / 0.7804 GB, free: 0.75 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.823e-05/0.005758, allocations: 330.8 kB / 0.7807 GB, free: 428 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.006e-05/0.005788, allocations: 19.64 kB / 0.7807 GB, free: 408 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.619e-05/0.005814, allocations: 20 kB / 0.7807 GB, free: 388 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.891e-05/0.005883, allocations: 72.38 kB / 0.7808 GB, free: 312 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.005886, allocations: 4.438 kB / 0.7808 GB, free: 308 kB / 0.7292 GB Notification: Performance of matching and sorting (n=25) (initialization): time 9.675e-05/0.005983, allocations: 101 kB / 0.7809 GB, free: 204 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.005995, allocations: 8 kB / 0.7809 GB, free: 196 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.006006, allocations: 1.531 kB / 0.7809 GB, free: 196 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/0.006016, allocations: 3.984 kB / 0.7809 GB, free: 192 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.446e-05/0.0061, allocations: 27.97 kB / 0.7809 GB, free: 164 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.006103, allocations: 0.875 kB / 0.7809 GB, free: 164 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.864e-05/0.006151, allocations: 27.83 kB / 0.781 GB, free: 136 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.006167, allocations: 4.906 kB / 0.781 GB, free: 132 kB / 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: 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 7.214e-05/0.006239, allocations: 123.4 kB / 0.7811 GB, free: 0 / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/0.00627, allocations: 7.984 kB / 0.7811 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001436/0.006414, allocations: 134.7 kB / 0.7812 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.006416, allocations: 0.5 kB / 0.7812 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.00642, allocations: 4 kB / 0.7812 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.442e-05/0.006434, allocations: 20.89 kB / 0.7812 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.006447, allocations: 8 kB / 0.7812 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.997e-05/0.006507, allocations: 20.59 kB / 0.7813 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/0.006548, allocations: 11.92 kB / 0.7813 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001482/0.006696, allocations: 238.6 kB / 0.7815 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001548/0.006851, allocations: 340.4 kB / 0.7818 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.714e-05/0.006898, allocations: 37.55 kB / 0.7819 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.678e-05/0.006925, allocations: 40.06 kB / 0.7819 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of Backend: time 1.1e-07/0.006925, allocations: 0.5625 kB / 0.7819 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003004/0.007225, allocations: 189.2 kB / 0.7821 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of SimCode: time 0.0005372/0.007762, allocations: 0.8782 MB / 0.7829 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of Templates: time 0.003865/0.01163, allocations: 2.559 MB / 0.7854 GB, free: 11.56 MB / 0.7448 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: 4.948041727766395]