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.001006/0.001006, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001404/0.00241, allocations: 452 kB / 10.43 MB, free: 268 kB / 10.45 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.001082/0.001082, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00141/0.002492, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.9501/0.9501, allocations: 177.2 MB / 189.7 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07726/1.027, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6368/0.6368, allocations: 120.1 MB / 364.2 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0555/0.6923, allocations: 38.16 MB / 402.4 MB, free: 12.28 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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.503e-06/1.503e-06, allocations: 0 / 403.8 MB, free: 10.89 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.236e-05/1.387e-05, allocations: 2.312 kB / 403.8 MB, free: 10.89 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001175/0.001189, allocations: 0.8703 MB / 404.7 MB, free: 10.02 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008166/0.002005, allocations: 1.065 MB / 405.7 MB, free: 8.938 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.053e-05/0.002046, allocations: 0 / 405.7 MB, free: 8.938 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 5.339e-05/0.002099, allocations: 11.81 kB / 405.7 MB, free: 8.926 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 3.55e-05/0.002135, allocations: 27.78 kB / 405.8 MB, free: 8.898 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002341/0.002369, allocations: 87.72 kB / 405.8 MB, free: 8.812 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.002479, allocations: 119.6 kB / 406 MB, free: 8.695 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.002584, allocations: 33.94 kB / 406 MB, free: 8.664 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.002689, allocations: 88.55 kB / 406.1 MB, free: 8.574 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.653e-05/0.002746, allocations: 47.86 kB / 406.1 MB, free: 8.527 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.002765, allocations: 12 kB / 406.1 MB, free: 8.516 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.002892, allocations: 99.84 kB / 406.2 MB, free: 8.418 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.006e-05/0.002932, allocations: 31.88 kB / 406.3 MB, free: 8.387 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.743e-05/0.002959, allocations: 23.94 kB / 406.3 MB, free: 8.363 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.003117, allocations: 155.4 kB / 406.4 MB, free: 8.211 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.748e-06/0.003127, allocations: 0 / 406.4 MB, free: 8.211 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.003128, allocations: 0 / 406.4 MB, free: 8.211 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.003139, allocations: 0 / 406.4 MB, free: 8.211 MB / 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.0004119/0.003551, allocations: 391.7 kB / 406.8 MB, free: 7.805 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.553e-05/0.003576, allocations: 16.03 kB / 406.8 MB, free: 7.789 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.609e-05/0.003612, allocations: 12.94 kB / 406.9 MB, free: 7.777 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.003742, allocations: 157.4 kB / 407 MB, free: 7.598 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-06/0.00375, allocations: 4.375 kB / 407 MB, free: 7.594 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.003764, allocations: 8.375 kB / 407 MB, free: 7.586 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.003946, allocations: 121.7 kB / 407.1 MB, free: 7.457 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.003954, allocations: 4.125 kB / 407.1 MB, free: 7.453 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.003964, allocations: 7.938 kB / 407.2 MB, free: 7.445 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.00397, allocations: 4 kB / 407.2 MB, free: 7.441 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.326e-05/0.004013, allocations: 31.98 kB / 407.2 MB, free: 7.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003316/0.004345, allocations: 293.6 kB / 407.5 MB, free: 7.105 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.777e-05/0.004403, allocations: 82.42 kB / 407.6 MB, free: 7.016 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.087e-05/0.004433, allocations: 24.84 kB / 407.6 MB, free: 6.988 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.775e-05/0.004471, allocations: 8 kB / 407.6 MB, free: 6.98 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.004491, allocations: 34.56 kB / 407.6 MB, free: 6.938 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 1.012e-06/0.004492, allocations: 0 / 407.6 MB, free: 6.938 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.0001761/0.004668, allocations: 133.7 kB / 407.8 MB, free: 6.801 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.301e-05/0.004691, allocations: 55.41 kB / 407.8 MB, free: 6.734 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.806e-05/0.004759, allocations: 150.5 kB / 408 MB, free: 6.574 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.004771, allocations: 25.7 kB / 408 MB, free: 6.543 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.146e-05/0.004802, allocations: 108.5 kB / 408.1 MB, free: 6.434 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.955e-05/0.004842, allocations: 63.42 kB / 408.1 MB, free: 6.371 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.605e-05/0.004878, allocations: 37.67 kB / 408.2 MB, free: 6.328 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.309e-05/0.004971, allocations: 334.7 kB / 408.5 MB, free: 5.992 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.849e-05/0.004999, allocations: 22.83 kB / 408.5 MB, free: 5.969 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.283e-05/0.005022, allocations: 12 kB / 408.5 MB, free: 5.957 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.704e-05/0.005089, allocations: 75.44 kB / 408.6 MB, free: 5.879 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.005092, allocations: 4 kB / 408.6 MB, free: 5.875 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 9.035e-05/0.005182, allocations: 101.6 kB / 408.7 MB, free: 5.77 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.177e-06/0.005191, allocations: 4 kB / 408.7 MB, free: 5.766 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.005203, allocations: 4 kB / 408.7 MB, free: 5.762 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.005213, allocations: 0 / 408.7 MB, free: 5.762 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.725e-05/0.00529, allocations: 23.98 kB / 408.8 MB, free: 5.738 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.995e-06/0.005293, allocations: 3.984 kB / 408.8 MB, free: 5.734 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.68e-05/0.00534, allocations: 27.83 kB / 408.8 MB, free: 5.707 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.005356, allocations: 0 / 408.8 MB, free: 5.707 MB / 394.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 7.365e-05/0.00543, allocations: 132.5 kB / 408.9 MB, free: 5.566 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.748e-05/0.005447, allocations: 7.984 kB / 408.9 MB, free: 5.559 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000143/0.00559, allocations: 134.7 kB / 409.1 MB, free: 5.418 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.005592, allocations: 0 / 409.1 MB, free: 5.418 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.005593, allocations: 0 / 409.1 MB, free: 5.418 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.005596, allocations: 0 / 409.1 MB, free: 5.418 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001096/0.005705, allocations: 125.7 kB / 409.2 MB, free: 5.277 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.005709, allocations: 0 / 409.2 MB, free: 5.277 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.672e-05/0.005765, allocations: 23.98 kB / 409.2 MB, free: 5.254 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.169e-05/0.005777, allocations: 19.8 kB / 409.2 MB, free: 5.234 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.005779, allocations: 4 kB / 409.2 MB, free: 5.23 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.00579, allocations: 15.97 kB / 409.2 MB, free: 5.215 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.005791, allocations: 0 / 409.2 MB, free: 5.215 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.005792, allocations: 0 / 409.2 MB, free: 5.215 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000124/0.005916, allocations: 254.1 kB / 409.5 MB, free: 4.949 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.00593, allocations: 8 kB / 409.5 MB, free: 4.941 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.532e-05/0.005986, allocations: 11.98 kB / 409.5 MB, free: 4.93 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.006026, allocations: 15.97 kB / 409.5 MB, free: 4.914 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.006034, allocations: 8 kB / 409.5 MB, free: 4.906 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.225e-05/0.006056, allocations: 32.81 kB / 409.6 MB, free: 4.871 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006056, allocations: 4 kB / 409.6 MB, free: 4.867 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001486/0.006205, allocations: 35.94 kB / 409.6 MB, free: 4.832 MB / 394.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.0001171/0.006322, allocations: 108.4 kB / 409.7 MB, free: 4.719 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001355/0.006457, allocations: 140.1 kB / 409.8 MB, free: 4.566 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.006463, allocations: 0 / 409.8 MB, free: 4.566 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.588e-05/0.006539, allocations: 124.2 kB / 410 MB, free: 4.43 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.006738, allocations: 215.8 kB / 410.2 MB, free: 4.176 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004397/0.007178, allocations: 307.1 kB / 410.5 MB, free: 3.848 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.933e-05/0.007217, allocations: 79.33 kB / 410.6 MB, free: 3.75 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.086e-05/0.007248, allocations: 4 kB / 410.6 MB, free: 3.746 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.523e-05/0.007323, allocations: 79.34 kB / 410.6 MB, free: 3.668 MB / 394.7 MB Notification: Performance of SimCode: time 4e-07/0.007324, allocations: 0 / 410.6 MB, free: 3.668 MB / 394.7 MB Notification: Performance of Templates: time 0.003238/0.01056, allocations: 2.099 MB / 412.7 MB, free: 1.562 MB / 394.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.1237602466717362]