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.001005/0.001005, allocations: 92.22 kB / 20.43 MB, free: 4.141 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.001117/0.001117, allocations: 165 kB / 23.8 MB, free: 0.7695 MB / 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.974/0.974, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.6086/0.6086, allocations: 115 MB / 375.7 MB, free: 7.66 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 2.765e-06/2.765e-06, allocations: 0 / 481.6 MB, free: 11.8 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.708e-05/2.985e-05, allocations: 10.28 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.001888/0.001918, allocations: 0.8187 MB / 482.4 MB, free: 11.32 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001347/0.003265, allocations: 1.063 MB / 483.5 MB, free: 10.56 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.418e-05/0.003329, allocations: 0 / 483.5 MB, free: 10.56 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001188/0.003448, allocations: 9.656 kB / 483.5 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.182e-05/0.00351, allocations: 26.39 kB / 483.5 MB, free: 10.53 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004747/0.003984, allocations: 91.62 kB / 483.6 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.004151, allocations: 129.2 kB / 483.7 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.004307, allocations: 41.73 kB / 483.8 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.004418, allocations: 67.77 kB / 483.8 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.37e-05/0.004491, allocations: 49.36 kB / 483.9 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.071e-05/0.004522, allocations: 10.94 kB / 483.9 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001608/0.004683, allocations: 88.33 kB / 484 MB, free: 10.35 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.377e-05/0.004737, allocations: 44.48 kB / 484 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.739e-05/0.004784, allocations: 38.3 kB / 484.1 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002716/0.005056, allocations: 177.2 kB / 484.2 MB, free: 10.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.005058, allocations: 0 / 484.2 MB, free: 10.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.00506, allocations: 6.25 kB / 484.2 MB, free: 10.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.005066, 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.000565/0.00563, allocations: 495.5 kB / 484.7 MB, free: 9.785 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.005675, allocations: 8.5 kB / 484.7 MB, free: 9.785 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.031e-05/0.005746, allocations: 22.69 kB / 484.8 MB, free: 9.773 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.005907, allocations: 157.7 kB / 484.9 MB, free: 9.613 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.005922, allocations: 7.969 kB / 484.9 MB, free: 9.609 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.005941, allocations: 5.125 kB / 484.9 MB, free: 9.609 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003106/0.006251, allocations: 135.2 kB / 485.1 MB, free: 9.547 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.006261, allocations: 192 / 485.1 MB, free: 9.547 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.006278, allocations: 5.703 kB / 485.1 MB, free: 9.543 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.006289, allocations: 1.906 kB / 485.1 MB, free: 9.543 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.006393, allocations: 39 kB / 485.1 MB, free: 9.535 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006133/0.007007, allocations: 424.6 kB / 485.5 MB, free: 9.203 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.467e-05/0.007101, allocations: 55.97 kB / 485.6 MB, free: 9.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.707e-05/0.007169, allocations: 29.38 kB / 485.6 MB, free: 9.148 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.402e-05/0.007223, allocations: 7.75 kB / 485.6 MB, free: 9.148 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.007243, allocations: 39.11 kB / 485.6 MB, free: 9.102 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 1.553e-06/0.007245, allocations: 0.625 kB / 485.6 MB, free: 9.102 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.0003668/0.007612, allocations: 158.7 kB / 485.8 MB, free: 9.051 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/0.007639, allocations: 52.5 kB / 485.8 MB, free: 8.988 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000299/0.007938, allocations: 204.8 kB / 486 MB, free: 24.81 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.00795, allocations: 30.58 kB / 486.1 MB, free: 24.78 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.228e-05/0.008012, allocations: 156.4 kB / 486.2 MB, free: 24.63 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.572e-05/0.008068, allocations: 80.92 kB / 486.3 MB, free: 24.56 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.28e-05/0.008131, allocations: 42.52 kB / 486.4 MB, free: 24.53 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.008272, allocations: 0.5006 MB / 486.9 MB, free: 24.03 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.408e-05/0.008337, allocations: 29.14 kB / 486.9 MB, free: 24.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.36e-05/0.00839, allocations: 20.47 kB / 486.9 MB, free: 24.02 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.008517, allocations: 78.59 kB / 487 MB, free: 23.99 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.00852, allocations: 1.344 kB / 487 MB, free: 23.99 MB / 426.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001987/0.008718, allocations: 123.1 kB / 487.1 MB, free: 23.94 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.008737, allocations: 5.281 kB / 487.1 MB, free: 23.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.008753, allocations: 1.469 kB / 487.1 MB, free: 23.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.008768, allocations: 2.531 kB / 487.1 MB, free: 23.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.008905, allocations: 25.55 kB / 487.1 MB, free: 23.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.00891, allocations: 1.531 kB / 487.1 MB, free: 23.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.85e-05/0.008989, allocations: 26.33 kB / 487.2 MB, free: 23.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.723e-05/0.009016, allocations: 2.812 kB / 487.2 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 0.0001066/0.009123, allocations: 168.3 kB / 487.3 MB, free: 23.76 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.015e-05/0.009163, allocations: 18.5 kB / 487.3 MB, free: 23.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002675/0.00943, allocations: 149.9 kB / 487.5 MB, free: 23.69 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.009435, allocations: 2.594 kB / 487.5 MB, free: 23.69 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.00944, allocations: 4 kB / 487.5 MB, free: 23.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.009444, allocations: 0 / 487.5 MB, free: 23.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/0.009616, allocations: 181.9 kB / 487.7 MB, free: 23.51 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.009622, allocations: 7.062 kB / 487.7 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.55e-05/0.009708, allocations: 21.52 kB / 487.7 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.00971, allocations: 1.281 kB / 487.7 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.00972, allocations: 1.469 kB / 487.7 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.009722, allocations: 0.7188 kB / 487.7 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.009724, allocations: 2.844 kB / 487.7 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000193/0.009917, allocations: 282.5 kB / 488 MB, free: 23.29 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.311e-05/0.00993, allocations: 16.47 kB / 488 MB, free: 23.28 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.009945, allocations: 8.688 kB / 488 MB, free: 23.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.385e-05/0.01001, allocations: 14.38 kB / 488 MB, free: 23.27 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.27e-05/0.01006, allocations: 13.73 kB / 488 MB, free: 23.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.01007, allocations: 9.094 kB / 488 MB, free: 23.27 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.631e-05/0.01013, allocations: 152.5 kB / 488.2 MB, free: 23.14 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.01013, allocations: 1.156 kB / 488.2 MB, free: 23.14 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003116/0.01044, allocations: 45.67 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.0002125/0.01065, allocations: 122.3 kB / 488.4 MB, free: 23.04 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002067/0.01086, allocations: 153 kB / 488.5 MB, free: 22.95 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01086, allocations: 0 / 488.5 MB, free: 22.95 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.105e-05/0.01094, allocations: 123.3 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.0002339/0.01118, allocations: 32.92 kB / 488.7 MB, free: 22.85 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004036/0.01158, allocations: 293.5 kB / 488.9 MB, free: 22.65 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.811e-05/0.01162, allocations: 84.11 kB / 489 MB, free: 22.57 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.37e-05/0.01166, allocations: 16.09 kB / 489 MB, free: 22.57 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.546e-05/0.0117, allocations: 13.59 kB / 489.1 MB, free: 22.56 MB / 426.7 MB Notification: Performance of SimCode: time 5.01e-07/0.0117, allocations: 0 / 489.1 MB, free: 22.56 MB / 426.7 MB Notification: Performance of Templates: time 0.004419/0.01612, allocations: 2.372 MB / 491.4 MB, free: 22.4 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.4053041920997202]