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.001416/0.001416, allocations: 84.22 kB / 20.94 MB, free: 3.602 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.001586/0.001586, allocations: 173 kB / 24.25 MB, free: 300 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.9507/0.9507, allocations: 177.1 MB / 204.6 MB, free: 5.617 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.6206/0.6206, allocations: 114.9 MB / 376 MB, free: 7.672 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.633e-06/1.633e-06, allocations: 0 / 481.6 MB, free: 11.8 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.442e-05/1.605e-05, allocations: 5.812 kB / 481.6 MB, free: 11.8 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001101/0.001117, allocations: 0.8115 MB / 482.4 MB, free: 11.32 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008826/0.002, allocations: 1.064 MB / 483.5 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.885e-05/0.002069, allocations: 2.469 kB / 483.5 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.002176, allocations: 11.3 kB / 483.5 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.374e-05/0.00222, allocations: 23.78 kB / 483.5 MB, free: 10.53 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004243/0.002644, allocations: 90.5 kB / 483.6 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.002774, allocations: 128.7 kB / 483.7 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.002894, allocations: 41.03 kB / 483.8 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.391e-05/0.002968, allocations: 69.55 kB / 483.8 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.903e-05/0.003017, allocations: 49.91 kB / 483.9 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.003038, allocations: 10.38 kB / 483.9 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.003145, allocations: 86.75 kB / 484 MB, free: 10.35 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.263e-05/0.003187, allocations: 43.31 kB / 484 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.694e-05/0.003224, allocations: 38.05 kB / 484 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.003405, allocations: 181.6 kB / 484.2 MB, free: 10.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.003407, allocations: 1.906 kB / 484.2 MB, free: 10.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.003408, allocations: 0 / 484.2 MB, free: 10.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.003413, allocations: 0 / 484.2 MB, free: 10.23 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.0004294/0.003842, allocations: 496.9 kB / 484.7 MB, free: 9.785 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.003875, allocations: 9.438 kB / 484.7 MB, free: 9.785 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.609e-05/0.003921, allocations: 24.5 kB / 484.7 MB, free: 9.773 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.004047, allocations: 157.3 kB / 484.9 MB, free: 9.613 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.004058, allocations: 8.188 kB / 484.9 MB, free: 9.609 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.004071, allocations: 4.531 kB / 484.9 MB, free: 9.609 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/0.004292, allocations: 130.8 kB / 485 MB, free: 9.551 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.004301, allocations: 4.172 kB / 485 MB, free: 9.547 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.004314, allocations: 5.719 kB / 485 MB, free: 9.543 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.004323, allocations: 1.219 kB / 485 MB, free: 9.543 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.419e-05/0.004397, allocations: 36.8 kB / 485.1 MB, free: 9.539 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00057/0.004967, allocations: 430 kB / 485.5 MB, free: 25.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.632e-05/0.005053, allocations: 50.94 kB / 485.6 MB, free: 25.16 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.394e-05/0.005107, allocations: 34.03 kB / 485.6 MB, free: 25.14 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.092e-05/0.005148, allocations: 8.312 kB / 485.6 MB, free: 25.14 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.005165, allocations: 34.98 kB / 485.6 MB, free: 25.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 1.633e-06/0.005167, allocations: 0.5625 kB / 485.6 MB, free: 25.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.0002759/0.005443, allocations: 159.2 kB / 485.8 MB, free: 25.05 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.145e-05/0.005464, allocations: 52.59 kB / 485.8 MB, free: 24.99 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.958e-05/0.005564, allocations: 213.4 kB / 486 MB, free: 24.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.257e-06/0.005573, allocations: 25.7 kB / 486.1 MB, free: 24.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.065e-05/0.005624, allocations: 157 kB / 486.2 MB, free: 24.62 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.08e-05/0.005665, allocations: 81.02 kB / 486.3 MB, free: 24.56 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/0.005707, allocations: 39.27 kB / 486.3 MB, free: 24.53 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.005812, allocations: 0.5048 MB / 486.8 MB, free: 24.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.751e-05/0.005859, allocations: 18.62 kB / 486.9 MB, free: 24.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.205e-05/0.005901, allocations: 26.58 kB / 486.9 MB, free: 24.02 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.982e-05/0.006001, allocations: 79.48 kB / 487 MB, free: 23.99 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.006003, allocations: 0 / 487 MB, free: 23.99 MB / 426.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001446/0.006148, allocations: 120.6 kB / 487.1 MB, free: 23.94 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.006161, allocations: 4.844 kB / 487.1 MB, free: 23.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.006176, allocations: 6.375 kB / 487.1 MB, free: 23.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.006189, allocations: 3.938 kB / 487.1 MB, free: 23.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.19e-05/0.006281, allocations: 20.39 kB / 487.1 MB, free: 23.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.006287, allocations: 0 / 487.1 MB, free: 23.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.119e-05/0.006338, allocations: 27.19 kB / 487.1 MB, free: 23.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.006356, allocations: 6.188 kB / 487.1 MB, free: 23.93 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 8.35e-05/0.00644, allocations: 164.7 kB / 487.3 MB, free: 23.76 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.337e-05/0.006463, allocations: 20.88 kB / 487.3 MB, free: 23.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001891/0.006652, allocations: 151.8 kB / 487.5 MB, free: 23.68 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-06/0.006655, allocations: 2.406 kB / 487.5 MB, free: 23.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.006658, allocations: 3.938 kB / 487.5 MB, free: 23.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.006661, allocations: 1.875 kB / 487.5 MB, free: 23.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.006767, allocations: 176.8 kB / 487.7 MB, free: 23.51 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.006771, allocations: 5.422 kB / 487.7 MB, free: 23.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.925e-05/0.00683, allocations: 19.5 kB / 487.7 MB, free: 23.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.006832, allocations: 4.906 kB / 487.7 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.00684, allocations: 1.312 kB / 487.7 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.006841, allocations: 2.25 kB / 487.7 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.006842, allocations: 0 / 487.7 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.00702, allocations: 289.4 kB / 488 MB, free: 23.29 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.128e-05/0.007031, allocations: 19.25 kB / 488 MB, free: 23.27 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.007044, allocations: 0 / 488 MB, free: 23.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.968e-05/0.007104, allocations: 18.16 kB / 488 MB, free: 23.27 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-05/0.007153, allocations: 18.8 kB / 488 MB, free: 23.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.007161, allocations: 3.062 kB / 488 MB, free: 23.26 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.915e-05/0.00721, allocations: 155 kB / 488.2 MB, free: 23.14 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.00721, allocations: 0 / 488.2 MB, free: 23.14 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001849/0.007395, allocations: 43.02 kB / 488.2 MB, free: 23.13 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.0001445/0.00754, allocations: 126.9 kB / 488.3 MB, free: 23.04 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001874/0.007727, allocations: 148.9 kB / 488.5 MB, free: 22.95 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.007728, allocations: 4 kB / 488.5 MB, free: 22.95 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.866e-05/0.007807, allocations: 124.1 kB / 488.6 MB, free: 22.86 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.008033, allocations: 25.2 kB / 488.6 MB, free: 22.85 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004075/0.00844, allocations: 293.7 kB / 488.9 MB, free: 22.65 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.029e-05/0.008481, allocations: 82.94 kB / 489 MB, free: 22.58 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.245e-05/0.008523, allocations: 16.62 kB / 489 MB, free: 22.57 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.271e-05/0.008556, allocations: 17.84 kB / 489 MB, free: 22.56 MB / 426.7 MB Notification: Performance of SimCode: time 5.71e-07/0.008556, allocations: 0 / 489 MB, free: 22.56 MB / 426.7 MB Notification: Performance of Templates: time 0.003508/0.01206, allocations: 2.171 MB / 491.2 MB, free: 22.43 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.6180367551278323]