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.001025/0.001025, allocations: 72.19 kB / 9.907 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001305/0.00233, allocations: 447.8 kB / 10.34 MB, free: 352 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.001018/0.001018, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001303/0.002321, allocations: 463.6 kB / 11.69 MB, free: 2.48 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 1.009/1.009, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09467/1.104, allocations: 53.65 MB / 243.2 MB, free: 15.6 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.6495/0.6495, allocations: 119.1 MB / 363.1 MB, free: 3.73 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07683/0.7263, allocations: 37.85 MB / 400.9 MB, free: 13.76 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.803e-06/1.803e-06, allocations: 0 / 402.3 MB, free: 12.39 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.285e-05/2.466e-05, allocations: 10.25 kB / 402.3 MB, free: 12.38 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001657/0.001682, allocations: 0.8507 MB / 403.1 MB, free: 11.52 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.002733, allocations: 1.065 MB / 404.2 MB, free: 10.44 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.497e-05/0.002778, allocations: 0 / 404.2 MB, free: 10.44 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 6.124e-05/0.00284, allocations: 15.86 kB / 404.2 MB, free: 10.43 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 3.801e-05/0.002878, allocations: 23.73 kB / 404.3 MB, free: 10.4 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002739/0.003152, allocations: 91.77 kB / 404.3 MB, free: 10.31 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.00327, allocations: 123.6 kB / 404.5 MB, free: 10.19 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.00338, allocations: 29.94 kB / 404.5 MB, free: 10.16 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.003489, allocations: 96.52 kB / 404.6 MB, free: 10.07 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.635e-05/0.003545, allocations: 43.89 kB / 404.6 MB, free: 10.02 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.003564, allocations: 8 kB / 404.6 MB, free: 10.02 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001428/0.003707, allocations: 95.84 kB / 404.7 MB, free: 9.922 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.542e-05/0.003752, allocations: 35.88 kB / 404.8 MB, free: 9.887 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.954e-05/0.003782, allocations: 23.94 kB / 404.8 MB, free: 9.863 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.003979, allocations: 155.4 kB / 404.9 MB, free: 9.711 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.756e-05/0.003996, allocations: 0 / 404.9 MB, free: 9.711 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.003997, allocations: 4 kB / 404.9 MB, free: 9.707 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.862e-05/0.004016, allocations: 0 / 404.9 MB, free: 9.707 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.0004627/0.004478, allocations: 399.6 kB / 405.3 MB, free: 9.293 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.673e-05/0.004505, allocations: 12.03 kB / 405.3 MB, free: 9.281 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.488e-05/0.00454, allocations: 12.92 kB / 405.4 MB, free: 9.27 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.00467, allocations: 149.5 kB / 405.5 MB, free: 9.098 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.166e-06/0.004678, allocations: 384 / 405.5 MB, free: 9.098 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.004692, allocations: 12.38 kB / 405.5 MB, free: 9.086 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.004888, allocations: 125.6 kB / 405.6 MB, free: 8.953 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.004896, allocations: 192 / 405.6 MB, free: 8.953 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.004905, allocations: 3.938 kB / 405.6 MB, free: 8.949 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.004911, allocations: 4 kB / 405.6 MB, free: 8.945 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.107e-05/0.004962, allocations: 39.91 kB / 405.7 MB, free: 8.906 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003566/0.005319, allocations: 301.5 kB / 406 MB, free: 8.594 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.69e-05/0.005386, allocations: 90.45 kB / 406.1 MB, free: 8.496 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.079e-05/0.005416, allocations: 24.86 kB / 406.1 MB, free: 8.469 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.527e-05/0.005462, allocations: 4 kB / 406.1 MB, free: 8.465 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.005481, allocations: 34.56 kB / 406.1 MB, free: 8.422 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 9.62e-07/0.005482, allocations: 0 / 406.1 MB, free: 8.422 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.000182/0.005664, allocations: 133.8 kB / 406.3 MB, free: 8.285 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.005693, allocations: 55.41 kB / 406.3 MB, free: 8.219 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.152e-05/0.005764, allocations: 146.6 kB / 406.5 MB, free: 8.062 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.005777, allocations: 29.7 kB / 406.5 MB, free: 8.027 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.275e-05/0.005809, allocations: 104.5 kB / 406.6 MB, free: 7.922 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.683e-05/0.005856, allocations: 71.36 kB / 406.7 MB, free: 7.852 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.859e-05/0.005895, allocations: 37.69 kB / 406.7 MB, free: 7.809 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.118e-05/0.005976, allocations: 334.7 kB / 407 MB, free: 7.473 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.069e-05/0.006007, allocations: 18.83 kB / 407 MB, free: 7.453 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.265e-05/0.006029, allocations: 12 kB / 407.1 MB, free: 7.441 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.243e-05/0.006102, allocations: 79.22 kB / 407.1 MB, free: 7.359 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.006104, allocations: 3.938 kB / 407.1 MB, free: 7.355 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 9.745e-05/0.006202, allocations: 101.6 kB / 407.2 MB, free: 7.25 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.006212, allocations: 4 kB / 407.2 MB, free: 7.246 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.006224, allocations: 0 / 407.2 MB, free: 7.246 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.704e-06/0.006232, allocations: 0 / 407.2 MB, free: 7.246 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.022e-05/0.006322, allocations: 31.97 kB / 407.3 MB, free: 7.215 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.006325, allocations: 0 / 407.3 MB, free: 7.215 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.703e-05/0.006372, allocations: 27.88 kB / 407.3 MB, free: 7.188 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.006388, allocations: 0 / 407.3 MB, free: 7.188 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.842e-05/0.006466, allocations: 124.6 kB / 407.4 MB, free: 7.055 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.861e-05/0.006485, allocations: 11.98 kB / 407.4 MB, free: 7.043 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001539/0.006639, allocations: 138.7 kB / 407.6 MB, free: 6.902 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.006642, allocations: 0 / 407.6 MB, free: 6.902 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.006643, allocations: 4 kB / 407.6 MB, free: 6.898 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.006646, allocations: 0 / 407.6 MB, free: 6.898 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.006762, allocations: 125.7 kB / 407.7 MB, free: 6.758 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.006769, allocations: 0 / 407.7 MB, free: 6.758 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.364e-05/0.006833, allocations: 19.98 kB / 407.7 MB, free: 6.738 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.221e-05/0.006845, allocations: 19.83 kB / 407.7 MB, free: 6.719 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.006848, allocations: 4 kB / 407.7 MB, free: 6.715 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-06/0.006854, allocations: 0 / 407.7 MB, free: 6.715 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.006855, allocations: 0 / 407.7 MB, free: 6.715 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.006856, allocations: 0 / 407.7 MB, free: 6.715 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001391/0.006995, allocations: 262.1 kB / 408 MB, free: 6.441 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.007008, allocations: 7.984 kB / 408 MB, free: 6.434 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.504e-05/0.007063, allocations: 11.98 kB / 408 MB, free: 6.422 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/0.007106, allocations: 15.98 kB / 408 MB, free: 6.406 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.007113, allocations: 0 / 408 MB, free: 6.406 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.281e-05/0.007136, allocations: 32.81 kB / 408.1 MB, free: 6.371 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.007136, allocations: 0 / 408.1 MB, free: 6.371 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001589/0.007295, allocations: 47.89 kB / 408.1 MB, free: 6.324 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.0001367/0.007432, allocations: 112.4 kB / 408.2 MB, free: 6.207 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001491/0.007581, allocations: 136.1 kB / 408.3 MB, free: 6.059 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/0.00759, allocations: 7.984 kB / 408.4 MB, free: 6.051 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.7e-05/0.007657, allocations: 104.8 kB / 408.5 MB, free: 5.934 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000173/0.00783, allocations: 36 kB / 408.5 MB, free: 5.898 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005077/0.008337, allocations: 315.1 kB / 408.8 MB, free: 5.559 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.884e-05/0.008386, allocations: 80.73 kB / 408.9 MB, free: 5.461 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.077e-05/0.008427, allocations: 4 kB / 408.9 MB, free: 5.457 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.137e-05/0.008508, allocations: 71.36 kB / 409 MB, free: 5.387 MB / 394.7 MB Notification: Performance of SimCode: time 6.71e-07/0.008509, allocations: 0 / 409 MB, free: 5.387 MB / 394.7 MB Notification: Performance of Templates: time 0.003834/0.01234, allocations: 2.103 MB / 411.1 MB, free: 3.281 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.3246147707104683]