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.001476/0.001476, allocations: 117.2 kB / 17.13 MB, free: 5.941 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.001594/0.001594, allocations: 212.3 kB / 20.09 MB, free: 2.992 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.664/1.664, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.124/1.124, allocations: 150 MB / 459.5 MB, free: 5.332 MB / 350.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.002037/0.002037, allocations: 72.61 kB / 0.6366 GB, free: 30.1 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2247, allocations: 89.13 MB / 0.7237 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002363/0.2271, allocations: 0.8192 MB / 0.7245 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001507/0.2286, allocations: 1.048 MB / 0.7255 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.715e-05/0.2286, allocations: 4 kB / 0.7255 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001338/0.2288, allocations: 15.8 kB / 0.7255 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.95e-05/0.2288, allocations: 23.8 kB / 0.7256 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004509/0.2293, allocations: 87.83 kB / 0.7256 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000186/0.2295, allocations: 123.6 kB / 0.7258 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002032/0.2297, allocations: 45.08 kB / 0.7258 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.244e-05/0.2298, allocations: 51.84 kB / 0.7258 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.208e-05/0.2299, allocations: 59.75 kB / 0.7259 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.542e-05/0.2299, allocations: 8 kB / 0.7259 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001683/0.2301, allocations: 95.84 kB / 0.726 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.776e-05/0.2301, allocations: 43.84 kB / 0.726 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.53e-05/0.2302, allocations: 59.55 kB / 0.7261 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003336/0.2305, allocations: 215 kB / 0.7263 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.2305, allocations: 0 / 0.7263 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2306, allocations: 0 / 0.7263 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.2306, allocations: 4 kB / 0.7263 GB, free: 0.8125 MB / 0.5294 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.0009964/0.2316, allocations: 0.4886 MB / 0.7268 GB, free: 280 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.2316, allocations: 15.97 kB / 0.7268 GB, free: 264 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.839e-05/0.2317, allocations: 12.84 kB / 0.7268 GB, free: 252 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002656/0.2319, allocations: 215.3 kB / 0.727 GB, free: 0 / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.2319, allocations: 8.422 kB / 0.727 GB, free: 15.99 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.232, allocations: 8.375 kB / 0.727 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005951/0.2326, allocations: 206.6 kB / 0.7272 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.2326, allocations: 4.188 kB / 0.7272 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/0.2326, allocations: 3.938 kB / 0.7272 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.2326, allocations: 0 / 0.7272 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007548/0.2333, allocations: 219.8 kB / 0.7275 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009764/0.2343, allocations: 0.5275 MB / 0.728 GB, free: 14.97 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000446/0.2348, allocations: 154.5 kB / 0.7281 GB, free: 14.81 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000395/0.2352, allocations: 140.7 kB / 0.7282 GB, free: 14.67 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.716e-05/0.2352, allocations: 4 kB / 0.7283 GB, free: 14.67 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.2353, allocations: 42.5 kB / 0.7283 GB, free: 14.62 MB / 0.545 GB Notification: Performance of pre-optimization done (n=25): time 1.473e-06/0.2353, allocations: 0 / 0.7283 GB, free: 14.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=25): time 0.001432/0.2367, allocations: 490.2 kB / 0.7288 GB, free: 14.13 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/0.2367, allocations: 55.34 kB / 0.7288 GB, free: 14.07 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.2369, allocations: 146.2 kB / 0.729 GB, free: 13.91 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.2369, allocations: 25.7 kB / 0.729 GB, free: 13.88 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.554e-05/0.237, allocations: 116.5 kB / 0.7291 GB, free: 13.77 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.692e-05/0.2371, allocations: 67.39 kB / 0.7292 GB, free: 13.7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.337e-05/0.2372, allocations: 37.7 kB / 0.7292 GB, free: 13.66 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.2373, allocations: 322.8 kB / 0.7295 GB, free: 13.33 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004041/0.2377, allocations: 135.9 kB / 0.7296 GB, free: 13.2 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004015/0.2381, allocations: 132 kB / 0.7298 GB, free: 13.07 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000825/0.239, allocations: 304.5 kB / 0.73 GB, free: 12.77 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.239, allocations: 0 / 0.73 GB, free: 12.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008883/0.2398, allocations: 330.3 kB / 0.7304 GB, free: 12.44 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.2399, allocations: 4 kB / 0.7304 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.123e-05/0.2399, allocations: 4.078 kB / 0.7304 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.2399, allocations: 0 / 0.7304 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.2401, allocations: 31.95 kB / 0.7304 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.2401, allocations: 11.92 kB / 0.7304 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.2403, allocations: 43.84 kB / 0.7304 GB, free: 12.35 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.025e-05/0.2404, allocations: 4 kB / 0.7305 GB, free: 12.34 MB / 0.545 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.0001638/0.2405, allocations: 145.8 kB / 0.7306 GB, free: 12.19 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.746e-05/0.2406, allocations: 11.91 kB / 0.7306 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009723/0.2415, allocations: 366.4 kB / 0.731 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.2415, allocations: 4 kB / 0.731 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.2415, allocations: 3.938 kB / 0.731 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2415, allocations: 0 / 0.731 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003065/0.2419, allocations: 281.4 kB / 0.7312 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.2419, allocations: 0 / 0.7312 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002024/0.2421, allocations: 39.89 kB / 0.7313 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2421, allocations: 0 / 0.7313 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.2421, allocations: 4 kB / 0.7313 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2421, allocations: 0 / 0.7313 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.2421, allocations: 3.938 kB / 0.7313 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000933/0.243, allocations: 439.1 kB / 0.7317 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.268e-05/0.2431, allocations: 96.89 kB / 0.7318 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.2431, allocations: 4 kB / 0.7318 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.2433, allocations: 27.95 kB / 0.7318 GB, free: 10.85 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.644e-05/0.2434, allocations: 19.92 kB / 0.7318 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.2434, allocations: 4 kB / 0.7318 GB, free: 10.83 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.286e-05/0.2435, allocations: 110.5 kB / 0.7319 GB, free: 10.72 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2435, allocations: 0 / 0.7319 GB, free: 10.72 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002984/0.2438, allocations: 43.89 kB / 0.732 GB, free: 10.68 MB / 0.545 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.0002869/0.2441, allocations: 123.2 kB / 0.7321 GB, free: 10.55 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009589/0.245, allocations: 367.1 kB / 0.7325 GB, free: 10.18 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.245, allocations: 0 / 0.7325 GB, free: 10.18 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000473/0.2455, allocations: 215.3 kB / 0.7327 GB, free: 9.957 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.2458, allocations: 25.55 kB / 0.7327 GB, free: 9.934 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006714/0.2465, allocations: 355 kB / 0.733 GB, free: 9.555 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003855/0.2469, allocations: 0.7314 MB / 0.7337 GB, free: 8.797 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.292e-05/0.247, allocations: 19.97 kB / 0.7338 GB, free: 8.777 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.546e-05/0.247, allocations: 11.44 kB / 0.7338 GB, free: 8.766 MB / 0.545 GB Notification: Performance of SimCode: time 2.8e-07/0.247, allocations: 0 / 0.7338 GB, free: 8.766 MB / 0.545 GB Notification: Performance of Templates: time 0.006256/0.2533, allocations: 2.051 MB / 0.7358 GB, free: 6.734 MB / 0.545 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.562590260058641] Failed to read output from testmodel.py, exit status != 0: 0.2609273639973253 0.27520332299999994 0.041837822000000004 Calling exit ...