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.0009939/0.0009939, allocations: 81.95 kB / 21.44 MB, free: 3.059 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.001031/0.001031, allocations: 169 kB / 24.84 MB, free: 9.293 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.3 MB, free: 5.484 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.6464/0.6464, allocations: 115 MB / 376.8 MB, free: 7.496 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.983e-06/1.983e-06, allocations: 3.938 kB / 482.8 MB, free: 11.66 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.415e-05/2.613e-05, allocations: 7.547 kB / 482.8 MB, free: 11.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Sort): time 0.003661/0.003687, allocations: 0.8107 MB / 483.6 MB, free: 11.17 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.004737, allocations: 1.051 MB / 484.7 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.39e-05/0.004791, allocations: 3.562 kB / 484.7 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.004897, allocations: 19 kB / 484.7 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.717e-05/0.004944, allocations: 19.86 kB / 484.7 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003612/0.005305, allocations: 93.84 kB / 484.8 MB, free: 10.35 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.005435, allocations: 125.6 kB / 485 MB, free: 10.29 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.00556, allocations: 43.47 kB / 485 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.84e-05/0.005648, allocations: 71.86 kB / 485.1 MB, free: 10.24 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.895e-05/0.005707, allocations: 47.27 kB / 485.1 MB, free: 10.22 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.00573, allocations: 9.844 kB / 485.1 MB, free: 10.22 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.005863, allocations: 86.62 kB / 485.2 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.367e-05/0.005907, allocations: 39.23 kB / 485.2 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.724e-05/0.005944, allocations: 41.75 kB / 485.3 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002078/0.006152, allocations: 175.8 kB / 485.5 MB, free: 10.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.006154, allocations: 0.7188 kB / 485.5 MB, free: 10.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.006155, allocations: 0.6562 kB / 485.5 MB, free: 10.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.00616, allocations: 1.125 kB / 485.5 MB, free: 10.09 MB / 410.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.003457/0.009617, allocations: 499.3 kB / 485.9 MB, free: 9.641 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.009648, allocations: 13.58 kB / 486 MB, free: 9.641 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.473e-05/0.009693, allocations: 18.31 kB / 486 MB, free: 9.633 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.009814, allocations: 161.7 kB / 486.1 MB, free: 9.469 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.009824, allocations: 3.656 kB / 486.1 MB, free: 9.469 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.009838, allocations: 13.62 kB / 486.2 MB, free: 9.461 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.01005, allocations: 121.2 kB / 486.3 MB, free: 9.402 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.01006, allocations: 0.75 kB / 486.3 MB, free: 9.402 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.01007, allocations: 5.312 kB / 486.3 MB, free: 9.398 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.01008, allocations: 3.094 kB / 486.3 MB, free: 9.398 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.432e-05/0.01014, allocations: 29 kB / 486.3 MB, free: 9.395 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004243/0.01057, allocations: 402.7 kB / 486.7 MB, free: 9.086 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.548e-05/0.01063, allocations: 48.03 kB / 486.7 MB, free: 9.047 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.075e-05/0.01067, allocations: 29.03 kB / 486.8 MB, free: 9.031 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.74e-05/0.01071, allocations: 6.25 kB / 486.8 MB, free: 9.031 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.541e-05/0.01073, allocations: 38.33 kB / 486.8 MB, free: 8.984 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 1.493e-06/0.01073, allocations: 1.062 kB / 486.8 MB, free: 8.984 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.0002474/0.01097, allocations: 142.3 kB / 487 MB, free: 8.938 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.883e-05/0.01099, allocations: 52.66 kB / 487 MB, free: 8.875 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002384/0.01123, allocations: 212.5 kB / 487.2 MB, free: 24.69 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.488e-06/0.01124, allocations: 26.95 kB / 487.2 MB, free: 24.66 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.92e-05/0.01129, allocations: 160 kB / 487.4 MB, free: 24.51 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.466e-05/0.01133, allocations: 76.11 kB / 487.5 MB, free: 24.45 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.324e-05/0.01139, allocations: 48.88 kB / 487.5 MB, free: 24.41 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.01149, allocations: 0.5036 MB / 488 MB, free: 23.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.826e-05/0.01153, allocations: 15.91 kB / 488 MB, free: 23.91 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.233e-05/0.01156, allocations: 17.91 kB / 488.1 MB, free: 23.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.847e-05/0.01165, allocations: 83.39 kB / 488.1 MB, free: 23.87 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.01165, allocations: 0 / 488.1 MB, free: 23.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001459/0.0118, allocations: 108.4 kB / 488.2 MB, free: 23.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.01181, allocations: 8.375 kB / 488.3 MB, free: 23.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.01182, allocations: 2.344 kB / 488.3 MB, free: 23.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.207e-06/0.01183, allocations: 1.312 kB / 488.3 MB, free: 23.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.646e-05/0.01193, allocations: 22.11 kB / 488.3 MB, free: 23.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-06/0.01193, allocations: 3.281 kB / 488.3 MB, free: 23.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.539e-05/0.012, allocations: 21.72 kB / 488.3 MB, free: 23.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.01202, allocations: 6.375 kB / 488.3 MB, free: 23.81 MB / 426.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 0.003099/0.01512, allocations: 170.7 kB / 488.5 MB, free: 23.64 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.537e-05/0.01515, allocations: 15.69 kB / 488.5 MB, free: 23.63 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002041/0.01535, allocations: 139.9 kB / 488.6 MB, free: 23.57 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.01536, allocations: 4.859 kB / 488.6 MB, free: 23.57 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.01536, allocations: 0.7812 kB / 488.6 MB, free: 23.57 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.01536, allocations: 1.312 kB / 488.6 MB, free: 23.57 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.01551, allocations: 152.1 kB / 488.8 MB, free: 23.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.01552, allocations: 5.406 kB / 488.8 MB, free: 23.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.708e-05/0.01559, allocations: 23.39 kB / 488.8 MB, free: 23.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.0156, allocations: 2 kB / 488.8 MB, free: 23.42 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.0156, allocations: 5.25 kB / 488.8 MB, free: 23.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.01561, allocations: 5.156 kB / 488.8 MB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01561, allocations: 0 / 488.8 MB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000201/0.01581, allocations: 270.4 kB / 489.1 MB, free: 23.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.476e-05/0.01582, allocations: 21.44 kB / 489.1 MB, free: 23.19 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.01584, allocations: 2.156 kB / 489.1 MB, free: 23.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.767e-05/0.01593, allocations: 19.12 kB / 489.1 MB, free: 23.19 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.659e-05/0.01597, allocations: 15.38 kB / 489.1 MB, free: 23.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.01599, allocations: 5.844 kB / 489.2 MB, free: 23.18 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.925e-05/0.01605, allocations: 147.9 kB / 489.3 MB, free: 23.06 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01605, allocations: 0 / 489.3 MB, free: 23.06 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002778/0.01632, allocations: 46.98 kB / 489.3 MB, free: 23.05 MB / 426.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.0001671/0.01649, allocations: 127.4 kB / 489.5 MB, free: 22.95 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001788/0.01667, allocations: 141.1 kB / 489.6 MB, free: 22.86 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01667, allocations: 0 / 489.6 MB, free: 22.86 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.663e-05/0.01676, allocations: 120.3 kB / 489.7 MB, free: 22.78 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.01704, allocations: 30.88 kB / 489.8 MB, free: 22.77 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003885/0.01743, allocations: 292.9 kB / 490 MB, free: 22.56 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.321e-05/0.01747, allocations: 79.33 kB / 490.1 MB, free: 22.49 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.384e-05/0.01751, allocations: 8.438 kB / 490.1 MB, free: 22.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.189e-05/0.01761, allocations: 97.55 kB / 490.2 MB, free: 22.41 MB / 426.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01761, allocations: 0 / 490.2 MB, free: 22.41 MB / 426.7 MB Notification: Performance of Templates: time 0.01069/0.0283, allocations: 2.423 MB / 492.6 MB, free: 22.24 MB / 426.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.5335721508599818]