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.00147/0.00147, allocations: 119 kB / 19.69 MB, free: 2.199 MB / 14.72 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.001639/0.001639, allocations: 224.3 kB / 23.01 MB, free: 5.047 MB / 14.72 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.569/1.569, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] 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 1.04/1.04, allocations: 150 MB / 463.1 MB, free: 10.51 MB / 366.1 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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002456/0.002456, allocations: 68.58 kB / 0.6418 GB, free: 9.855 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2436, allocations: 89.17 MB / 0.7289 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002216/0.2458, allocations: 0.839 MB / 0.7297 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001451/0.2473, allocations: 1.049 MB / 0.7307 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.688e-05/0.2474, allocations: 0 / 0.7307 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001166/0.2475, allocations: 11.86 kB / 0.7307 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.067e-05/0.2475, allocations: 15.81 kB / 0.7307 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004306/0.248, allocations: 103.7 kB / 0.7308 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.2481, allocations: 127.6 kB / 0.7309 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.2483, allocations: 33.28 kB / 0.731 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.2484, allocations: 55.84 kB / 0.731 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.44e-05/0.2485, allocations: 59.75 kB / 0.7311 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.2485, allocations: 8 kB / 0.7311 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000169/0.2487, allocations: 103.8 kB / 0.7312 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.494e-05/0.2487, allocations: 39.84 kB / 0.7312 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.202e-05/0.2488, allocations: 59.61 kB / 0.7313 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003046/0.2491, allocations: 215 kB / 0.7315 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.2491, allocations: 0 / 0.7315 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2491, allocations: 0 / 0.7315 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.2491, allocations: 4 kB / 0.7315 GB, free: 14.02 MB / 0.5606 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.0008883/0.25, allocations: 425.4 kB / 0.7319 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.2501, allocations: 8.031 kB / 0.7319 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.623e-05/0.2501, allocations: 20.83 kB / 0.7319 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002367/0.2503, allocations: 146.2 kB / 0.7321 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.2504, allocations: 8.375 kB / 0.7321 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.2504, allocations: 8.375 kB / 0.7321 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005673/0.251, allocations: 202.7 kB / 0.7323 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.251, allocations: 192 / 0.7323 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.251, allocations: 3.938 kB / 0.7323 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.138e-05/0.251, allocations: 4 kB / 0.7323 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007119/0.2517, allocations: 219.8 kB / 0.7325 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.2527, allocations: 0.5031 MB / 0.733 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004464/0.2532, allocations: 162.3 kB / 0.7331 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003796/0.2536, allocations: 132.8 kB / 0.7333 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.146e-05/0.2536, allocations: 8 kB / 0.7333 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/0.2537, allocations: 38.55 kB / 0.7333 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=25): time 1.302e-06/0.2537, allocations: 0 / 0.7333 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of matching and sorting (n=25): time 0.001421/0.2551, allocations: 480.7 kB / 0.7338 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/0.2552, allocations: 55.34 kB / 0.7338 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.2553, allocations: 153.3 kB / 0.734 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.2553, allocations: 29.64 kB / 0.734 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.109e-05/0.2554, allocations: 112.5 kB / 0.7341 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.364e-05/0.2555, allocations: 79.42 kB / 0.7342 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.035e-05/0.2556, allocations: 33.7 kB / 0.7342 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.2557, allocations: 326.8 kB / 0.7345 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003715/0.2561, allocations: 127.9 kB / 0.7347 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003743/0.2565, allocations: 139.9 kB / 0.7348 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007458/0.2572, allocations: 292.6 kB / 0.7351 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2572, allocations: 0 / 0.7351 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008541/0.2581, allocations: 339.2 kB / 0.7354 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.2581, allocations: 8 kB / 0.7354 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/0.2581, allocations: 0 / 0.7354 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.2581, allocations: 0 / 0.7354 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/0.2584, allocations: 39.89 kB / 0.7354 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.2584, allocations: 3.938 kB / 0.7354 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001766/0.2586, allocations: 39.84 kB / 0.7355 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/0.2586, allocations: 8 kB / 0.7355 GB, free: 9.758 MB / 0.5606 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 0.0001543/0.2587, allocations: 133.8 kB / 0.7356 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.054e-05/0.2588, allocations: 15.89 kB / 0.7356 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009143/0.2597, allocations: 364.3 kB / 0.736 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.2597, allocations: 0 / 0.736 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-05/0.2597, allocations: 11.86 kB / 0.736 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2597, allocations: 0 / 0.736 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002991/0.26, allocations: 240.5 kB / 0.7362 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/0.26, allocations: 4 kB / 0.7362 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001911/0.2602, allocations: 35.95 kB / 0.7363 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.2602, allocations: 3.984 kB / 0.7363 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.2602, allocations: 8 kB / 0.7363 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.2602, allocations: 0 / 0.7363 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.2602, allocations: 3.938 kB / 0.7363 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008851/0.2611, allocations: 432.1 kB / 0.7367 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.511e-05/0.2612, allocations: 15.84 kB / 0.7367 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.2612, allocations: 4 kB / 0.7367 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001919/0.2614, allocations: 35.95 kB / 0.7367 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.924e-05/0.2614, allocations: 19.8 kB / 0.7368 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.2614, allocations: 4 kB / 0.7368 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.131e-05/0.2615, allocations: 113.9 kB / 0.7369 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2615, allocations: 0 / 0.7369 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003312/0.2619, allocations: 43.88 kB / 0.7369 GB, free: 8.227 MB / 0.5606 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.0002393/0.2621, allocations: 125.8 kB / 0.737 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000915/0.263, allocations: 363.1 kB / 0.7374 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.263, allocations: 4 kB / 0.7374 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000462/0.2635, allocations: 219.2 kB / 0.7376 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.2638, allocations: 22.48 kB / 0.7376 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006589/0.2645, allocations: 358.9 kB / 0.7379 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004142/0.2649, allocations: 0.7314 MB / 0.7387 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.249e-05/0.265, allocations: 19.97 kB / 0.7387 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.101e-05/0.265, allocations: 11.44 kB / 0.7387 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of SimCode: time 2.71e-07/0.265, allocations: 0 / 0.7387 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of Templates: time 0.005762/0.2708, allocations: 2.145 MB / 0.7408 GB, free: 4.188 MB / 0.5606 GB " [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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.191235620994121] Failed to read output from testmodel.py, exit status != 0: 0.28081361716613173 0.295774978 0.043474853 Calling exit ...