Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0009461/0.0009461, allocations: 72.95 kB / 20.72 MB, free: 3.77 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.00104/0.00104, allocations: 169 kB / 24.14 MB, free: 356 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.9402/0.9402, allocations: 177.1 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6309/0.6309, allocations: 115 MB / 376 MB, free: 7.492 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Controls.OBC.CDL.Reals.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sort") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sort") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 428.8 MB, free: 2.742 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.165e-05/1.323e-05, allocations: 6.25 kB / 428.8 MB, free: 2.734 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001206/0.001219, allocations: 0.8233 MB / 429.6 MB, free: 1.91 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009568/0.002176, allocations: 1.061 MB / 430.7 MB, free: 0.8359 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.383e-05/0.00223, allocations: 3.938 kB / 430.7 MB, free: 0.832 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001064/0.002336, allocations: 11.86 kB / 430.7 MB, free: 0.8203 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 4.862e-05/0.002385, allocations: 27.78 kB / 430.7 MB, free: 0.793 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003399/0.002725, allocations: 95.7 kB / 430.8 MB, free: 0.6992 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.002845, allocations: 127.6 kB / 430.9 MB, free: 0.5742 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.002953, allocations: 37.94 kB / 431 MB, free: 0.5352 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.04e-05/0.003033, allocations: 79.8 kB / 431 MB, free: 468 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.186e-05/0.003085, allocations: 39.89 kB / 431.1 MB, free: 428 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.003106, allocations: 12 kB / 431.1 MB, free: 416 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.00322, allocations: 87.91 kB / 431.2 MB, free: 328 kB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.415e-05/0.003264, allocations: 43.83 kB / 431.2 MB, free: 284 kB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.169e-05/0.003296, allocations: 31.92 kB / 431.2 MB, free: 252 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001696/0.003465, allocations: 179.3 kB / 431.4 MB, free: 72 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.392e-06/0.003467, allocations: 0 / 431.4 MB, free: 72 kB / 394.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.003467, allocations: 0 / 431.4 MB, free: 72 kB / 394.7 MB Notification: Performance of Transformations before backend: time 2.735e-06/0.00347, allocations: 0 / 431.4 MB, free: 72 kB / 394.7 MB 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.0003724/0.003842, allocations: 376 kB / 431.8 MB, free: 15.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.003874, allocations: 12.03 kB / 431.8 MB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.119e-05/0.003905, allocations: 20.86 kB / 431.8 MB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.004015, allocations: 137.4 kB / 432 MB, free: 15.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-06/0.004024, allocations: 4.375 kB / 432 MB, free: 15.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.004036, allocations: 8.375 kB / 432 MB, free: 15.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.004219, allocations: 129.5 kB / 432.1 MB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.52e-06/0.004224, allocations: 4.188 kB / 432.1 MB, free: 15.33 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.004233, allocations: 4.375 kB / 432.1 MB, free: 15.33 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.004239, allocations: 4.375 kB / 432.1 MB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.432e-05/0.004283, allocations: 31.92 kB / 432.1 MB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003352/0.004618, allocations: 297.6 kB / 432.4 MB, free: 14.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.464e-05/0.004683, allocations: 86.41 kB / 432.5 MB, free: 14.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.094e-05/0.004714, allocations: 24.86 kB / 432.5 MB, free: 14.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.629e-05/0.00475, allocations: 11.94 kB / 432.6 MB, free: 14.85 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.657e-05/0.004767, allocations: 34.56 kB / 432.6 MB, free: 14.81 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 1.082e-06/0.004768, allocations: 4 kB / 432.6 MB, free: 14.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.0001678/0.004935, allocations: 125.8 kB / 432.7 MB, free: 14.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.66e-05/0.004962, allocations: 51.41 kB / 432.8 MB, free: 14.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.028e-05/0.005032, allocations: 150.7 kB / 432.9 MB, free: 14.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.005044, allocations: 25.7 kB / 432.9 MB, free: 14.42 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.352e-05/0.005078, allocations: 108.5 kB / 433 MB, free: 14.31 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.244e-05/0.00512, allocations: 67.41 kB / 433.1 MB, free: 14.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.628e-05/0.005157, allocations: 29.69 kB / 433.1 MB, free: 14.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.574e-05/0.005232, allocations: 330.8 kB / 433.5 MB, free: 13.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.112e-05/0.005263, allocations: 30.77 kB / 433.5 MB, free: 13.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.314e-05/0.005287, allocations: 16 kB / 433.5 MB, free: 13.83 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.027e-05/0.005357, allocations: 83.14 kB / 433.6 MB, free: 13.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.005358, allocations: 0 / 433.6 MB, free: 13.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 9.533e-05/0.005453, allocations: 93.67 kB / 433.7 MB, free: 13.65 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.005464, allocations: 8 kB / 433.7 MB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.005475, allocations: 0 / 433.7 MB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.807e-06/0.005484, allocations: 0 / 433.7 MB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.663e-05/0.00556, allocations: 27.97 kB / 433.7 MB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.005563, allocations: 3.938 kB / 433.7 MB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.356e-05/0.005607, allocations: 27.88 kB / 433.7 MB, free: 13.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.005622, allocations: 3.938 kB / 433.7 MB, free: 13.58 MB / 410.7 MB 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 6.749e-05/0.005689, allocations: 124.6 kB / 433.9 MB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.759e-05/0.005707, allocations: 7.984 kB / 433.9 MB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000139/0.005846, allocations: 138.7 kB / 434 MB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.005847, allocations: 0 / 434 MB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.005848, allocations: 0 / 434 MB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.005851, allocations: 4 kB / 434 MB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.005956, allocations: 121.7 kB / 434.1 MB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.005959, allocations: 0 / 434.1 MB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.871e-05/0.006008, allocations: 27.86 kB / 434.2 MB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.006009, allocations: 0 / 434.2 MB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.006016, allocations: 7.984 kB / 434.2 MB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.006017, allocations: 0 / 434.2 MB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.006018, allocations: 0 / 434.2 MB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001348/0.006153, allocations: 250.2 kB / 434.4 MB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.274e-05/0.006166, allocations: 23.78 kB / 434.4 MB, free: 12.83 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.006179, allocations: 7.984 kB / 434.4 MB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.396e-05/0.006233, allocations: 15.98 kB / 434.5 MB, free: 12.81 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/0.006273, allocations: 11.98 kB / 434.5 MB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.00628, allocations: 8 kB / 434.5 MB, free: 12.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.416e-05/0.006304, allocations: 37.62 kB / 434.5 MB, free: 12.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006304, allocations: 0 / 434.5 MB, free: 12.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001432/0.006447, allocations: 35.95 kB / 434.6 MB, free: 12.71 MB / 410.7 MB 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.0001189/0.006566, allocations: 115.9 kB / 434.7 MB, free: 12.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001316/0.006698, allocations: 136.2 kB / 434.8 MB, free: 12.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.0067, allocations: 0 / 434.8 MB, free: 12.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.5e-05/0.006765, allocations: 112.7 kB / 434.9 MB, free: 12.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001454/0.00691, allocations: 28.12 kB / 434.9 MB, free: 12.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003234/0.007234, allocations: 307.2 kB / 435.2 MB, free: 11.97 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.202e-05/0.007276, allocations: 79.33 kB / 435.3 MB, free: 11.87 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.612e-05/0.007302, allocations: 0 / 435.3 MB, free: 11.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.293e-05/0.007375, allocations: 75.36 kB / 435.4 MB, free: 11.8 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.007375, allocations: 0 / 435.4 MB, free: 11.8 MB / 410.7 MB Notification: Performance of Templates: time 0.003179/0.01055, allocations: 2.036 MB / 437.4 MB, free: 9.77 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sort.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sort.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sort.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sort -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4370769509114325]