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.001485/0.001485, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001912/0.001912, allocations: 161 kB / 24.16 MB, free: 336 kB / 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.9833/0.9833, allocations: 177.2 MB / 204.6 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.996/1.996, allocations: 389.6 MB / 0.6354 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 177] 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 1.513e-06/1.513e-06, allocations: 0 / 0.7752 GB, free: 5.332 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.226e-05/1.378e-05, allocations: 9.766 kB / 0.7752 GB, free: 5.324 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001161/0.001175, allocations: 0.8293 MB / 0.776 GB, free: 4.516 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0009129/0.002088, allocations: 1.064 MB / 0.7771 GB, free: 3.441 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.67e-05/0.002135, allocations: 4 kB / 0.7771 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 9.586e-05/0.002231, allocations: 17.56 kB / 0.7771 GB, free: 3.422 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.981e-05/0.00228, allocations: 24.09 kB / 0.7771 GB, free: 3.406 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003188/0.002599, allocations: 97.02 kB / 0.7772 GB, free: 3.312 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.002723, allocations: 136 kB / 0.7773 GB, free: 3.184 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.002829, allocations: 30.78 kB / 0.7774 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 7.908e-05/0.002908, allocations: 75.86 kB / 0.7774 GB, free: 3.082 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.13e-05/0.00296, allocations: 50.31 kB / 0.7775 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.002978, allocations: 8 kB / 0.7775 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.893e-05/0.003077, allocations: 83.86 kB / 0.7776 GB, free: 2.945 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.271e-05/0.00312, allocations: 47.83 kB / 0.7776 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.962e-05/0.00315, allocations: 31.91 kB / 0.7777 GB, free: 2.867 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001676/0.003317, allocations: 179.3 kB / 0.7778 GB, free: 2.691 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.473e-06/0.003319, allocations: 2.75 kB / 0.7778 GB, free: 2.691 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.11e-07/0.003319, allocations: 0 / 0.7778 GB, free: 2.691 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.065e-06/0.003322, allocations: 0 / 0.7778 GB, free: 2.691 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.0003701/0.003692, allocations: 372 kB / 0.7782 GB, free: 2.301 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.771e-05/0.00372, allocations: 9.344 kB / 0.7782 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.178e-05/0.003752, allocations: 16.92 kB / 0.7782 GB, free: 2.277 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.003917, allocations: 151 kB / 0.7784 GB, free: 2.105 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.003926, allocations: 8.375 kB / 0.7784 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.003939, allocations: 5.25 kB / 0.7784 GB, free: 2.094 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.004118, allocations: 129.7 kB / 0.7785 GB, free: 1.961 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.004125, allocations: 192 / 0.7785 GB, free: 1.961 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.607e-06/0.004134, allocations: 4.375 kB / 0.7785 GB, free: 1.957 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.004139, allocations: 384 / 0.7785 GB, free: 1.957 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.691e-05/0.004186, allocations: 36.33 kB / 0.7785 GB, free: 1.922 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004587/0.004645, allocations: 293.3 kB / 0.7788 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.426e-05/0.004709, allocations: 94.28 kB / 0.7789 GB, free: 1.52 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.111e-05/0.00474, allocations: 24.86 kB / 0.7789 GB, free: 1.492 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.491e-05/0.004785, allocations: 11.98 kB / 0.7789 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.774e-05/0.004803, allocations: 30.56 kB / 0.779 GB, free: 1.441 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=25): time 8.81e-07/0.004804, allocations: 0 / 0.779 GB, free: 1.441 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25): time 0.0001734/0.004977, allocations: 132.5 kB / 0.7791 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/0.005003, allocations: 51.41 kB / 0.7791 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.276e-05/0.005076, allocations: 156.7 kB / 0.7793 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.005087, allocations: 25.7 kB / 0.7793 GB, free: 1.051 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.173e-05/0.005119, allocations: 105.2 kB / 0.7794 GB, free: 0.9453 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.005158, allocations: 67.42 kB / 0.7795 GB, free: 0.8789 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-05/0.005193, allocations: 34.83 kB / 0.7795 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.948e-05/0.005262, allocations: 326.8 kB / 0.7798 GB, free: 0.5117 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.798e-05/0.00529, allocations: 22.83 kB / 0.7798 GB, free: 500 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.648e-05/0.005317, allocations: 20.77 kB / 0.7799 GB, free: 480 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.772e-05/0.005384, allocations: 76.31 kB / 0.7799 GB, free: 400 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.005386, allocations: 1.438 kB / 0.7799 GB, free: 400 kB / 0.7292 GB Notification: Performance of matching and sorting (n=25) (initialization): time 9.317e-05/0.005479, allocations: 108.2 kB / 0.78 GB, free: 288 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.947e-06/0.005488, allocations: 4 kB / 0.78 GB, free: 284 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.005499, allocations: 4 kB / 0.7801 GB, free: 280 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.00551, allocations: 0.5312 kB / 0.7801 GB, free: 280 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.628e-05/0.005586, allocations: 21.11 kB / 0.7801 GB, free: 260 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.005589, allocations: 0 / 0.7801 GB, free: 260 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.721e-05/0.005636, allocations: 29.55 kB / 0.7801 GB, free: 232 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.00565, allocations: 0 / 0.7801 GB, free: 232 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.289e-05/0.005723, allocations: 131.2 kB / 0.7802 GB, free: 92 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.7e-05/0.00574, allocations: 4 kB / 0.7802 GB, free: 88 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001467/0.005887, allocations: 138.7 kB / 0.7804 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.005889, allocations: 0 / 0.7804 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.005891, allocations: 0.75 kB / 0.7804 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.005894, allocations: 3.984 kB / 0.7804 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.006001, allocations: 118.7 kB / 0.7805 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.006005, allocations: 3.984 kB / 0.7805 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.082e-05/0.006056, allocations: 24.89 kB / 0.7805 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.006057, allocations: 4 kB / 0.7805 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.006064, allocations: 4.938 kB / 0.7805 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.006065, allocations: 0 / 0.7805 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.006066, allocations: 320 / 0.7805 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.006193, allocations: 252.9 kB / 0.7808 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.197e-05/0.006205, allocations: 19.78 kB / 0.7808 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.006216, allocations: 4 kB / 0.7808 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.652e-05/0.006273, allocations: 17.11 kB / 0.7808 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/0.006311, allocations: 19.97 kB / 0.7808 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.006317, allocations: 0 / 0.7808 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.236e-05/0.006339, allocations: 32.53 kB / 0.7808 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006339, allocations: 0 / 0.7808 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001459/0.006485, allocations: 40 kB / 0.7809 GB, free: 15.38 MB / 0.7448 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.0001224/0.006608, allocations: 112.8 kB / 0.781 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001388/0.006746, allocations: 136.9 kB / 0.7811 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.006749, allocations: 0 / 0.7811 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.495e-05/0.006813, allocations: 119.8 kB / 0.7812 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001461/0.00696, allocations: 25.11 kB / 0.7813 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003233/0.007283, allocations: 292.7 kB / 0.7815 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.028e-05/0.007323, allocations: 84 kB / 0.7816 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.742e-05/0.007351, allocations: 2.031 kB / 0.7816 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.181e-05/0.007422, allocations: 75.36 kB / 0.7817 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of SimCode: time 4.51e-07/0.007423, allocations: 0 / 0.7817 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of Templates: time 0.003391/0.01081, allocations: 2.03 MB / 0.7837 GB, free: 12.57 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: 5.031797964125872]