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.001107/0.001107, allocations: 73.97 kB / 20.65 MB, free: 3.844 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.001358/0.001358, allocations: 169.4 kB / 24.05 MB, free: 456 kB / 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.982/0.982, allocations: 177.1 MB / 204.5 MB, free: 5.484 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.6018/0.6018, allocations: 115 MB / 376 MB, free: 7.484 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 1.563e-06/1.563e-06, allocations: 0 / 482 MB, free: 11.67 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.406e-05/1.562e-05, allocations: 4.141 kB / 482 MB, free: 11.67 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001259/0.001275, allocations: 0.814 MB / 482.8 MB, free: 11.18 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009329/0.002208, allocations: 1.065 MB / 483.9 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.45e-05/0.002252, allocations: 2.375 kB / 483.9 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.081e-05/0.002333, allocations: 7.875 kB / 483.9 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.848e-05/0.002372, allocations: 28.08 kB / 483.9 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002789/0.002651, allocations: 91.8 kB / 484 MB, free: 10.35 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.002761, allocations: 128.1 kB / 484.2 MB, free: 10.29 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.18e-05/0.002853, allocations: 36.69 kB / 484.2 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.141e-05/0.002934, allocations: 73.33 kB / 484.3 MB, free: 10.24 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.494e-05/0.002979, allocations: 47.98 kB / 484.3 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.003, allocations: 10.44 kB / 484.3 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.003116, allocations: 83.75 kB / 484.4 MB, free: 10.21 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.873e-05/0.003154, allocations: 50.98 kB / 484.5 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.092e-05/0.003185, allocations: 35.47 kB / 484.5 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.003374, allocations: 177.8 kB / 484.7 MB, free: 10.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.003377, allocations: 3.328 kB / 484.7 MB, free: 10.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.7e-07/0.003377, allocations: 0 / 484.7 MB, free: 10.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.003381, allocations: 0.6562 kB / 484.7 MB, free: 10.09 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.0003755/0.003757, allocations: 0.4884 MB / 485.2 MB, free: 9.641 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.00379, allocations: 8.875 kB / 485.2 MB, free: 9.641 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.054e-05/0.003831, allocations: 24.5 kB / 485.2 MB, free: 9.629 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.003933, allocations: 154.9 kB / 485.3 MB, free: 9.473 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.003945, allocations: 8.5 kB / 485.4 MB, free: 9.469 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.003955, allocations: 4.969 kB / 485.4 MB, free: 9.469 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.004138, allocations: 125.5 kB / 485.5 MB, free: 9.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.004144, allocations: 4.125 kB / 485.5 MB, free: 9.406 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.004152, allocations: 1.75 kB / 485.5 MB, free: 9.406 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.004159, allocations: 1.688 kB / 485.5 MB, free: 9.406 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.079e-05/0.00422, allocations: 36.05 kB / 485.5 MB, free: 9.398 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005155/0.004736, allocations: 397.4 kB / 485.9 MB, free: 25.09 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.212e-05/0.004788, allocations: 52.19 kB / 486 MB, free: 25.05 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.384e-05/0.004822, allocations: 24.91 kB / 486 MB, free: 25.04 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.735e-05/0.004859, allocations: 9.391 kB / 486 MB, free: 25.04 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.516e-05/0.004874, allocations: 39.58 kB / 486 MB, free: 24.99 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 1.052e-06/0.004875, allocations: 0.5625 kB / 486 MB, free: 24.99 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.000207/0.005082, allocations: 147.5 kB / 486.2 MB, free: 24.94 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.403e-05/0.005096, allocations: 52.59 kB / 486.2 MB, free: 24.88 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.372e-05/0.00518, allocations: 201.9 kB / 486.4 MB, free: 24.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.436e-06/0.005188, allocations: 25.7 kB / 486.4 MB, free: 24.66 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.011e-05/0.005238, allocations: 161.2 kB / 486.6 MB, free: 24.52 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.559e-05/0.005274, allocations: 79.88 kB / 486.7 MB, free: 24.45 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-05/0.005312, allocations: 40.41 kB / 486.7 MB, free: 24.42 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.005412, allocations: 0.5083 MB / 487.2 MB, free: 23.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.898e-05/0.005441, allocations: 14.38 kB / 487.2 MB, free: 23.91 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.792e-05/0.005469, allocations: 18.78 kB / 487.3 MB, free: 23.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.621e-05/0.005535, allocations: 71.67 kB / 487.3 MB, free: 23.88 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.005536, allocations: 0.5312 kB / 487.3 MB, free: 23.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001137/0.00565, allocations: 113.1 kB / 487.4 MB, free: 23.83 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.005661, allocations: 5.188 kB / 487.5 MB, free: 23.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.005672, allocations: 2.703 kB / 487.5 MB, free: 23.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.005683, allocations: 1.375 kB / 487.5 MB, free: 23.83 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.687e-05/0.00576, allocations: 22.84 kB / 487.5 MB, free: 23.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-06/0.005763, allocations: 3.984 kB / 487.5 MB, free: 23.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.91e-05/0.005812, allocations: 29.64 kB / 487.5 MB, free: 23.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.005826, allocations: 1.562 kB / 487.5 MB, free: 23.82 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 7.626e-05/0.005902, allocations: 170.8 kB / 487.7 MB, free: 23.65 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.104e-05/0.005923, allocations: 14.19 kB / 487.7 MB, free: 23.64 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001566/0.00608, allocations: 143.9 kB / 487.8 MB, free: 23.57 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.006082, allocations: 2.938 kB / 487.8 MB, free: 23.57 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.006086, allocations: 5.172 kB / 487.8 MB, free: 23.57 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.006089, allocations: 3.234 kB / 487.8 MB, free: 23.57 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001174/0.006206, allocations: 148.4 kB / 488 MB, free: 23.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.006211, allocations: 9.25 kB / 488 MB, free: 23.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.56e-05/0.006266, allocations: 23.7 kB / 488 MB, free: 23.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.006268, allocations: 0 / 488 MB, free: 23.42 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.006274, allocations: 9.312 kB / 488 MB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.006276, allocations: 1.25 kB / 488 MB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.31e-07/0.006276, allocations: 0 / 488 MB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.00643, allocations: 271 kB / 488.3 MB, free: 23.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.569e-05/0.006446, allocations: 24.58 kB / 488.3 MB, free: 23.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.006457, allocations: 6.656 kB / 488.3 MB, free: 23.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.884e-05/0.006516, allocations: 15.73 kB / 488.3 MB, free: 23.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.945e-05/0.006556, allocations: 14.58 kB / 488.4 MB, free: 23.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.006565, allocations: 3.812 kB / 488.4 MB, free: 23.18 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.872e-05/0.006613, allocations: 147 kB / 488.5 MB, free: 23.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006613, allocations: 0.8438 kB / 488.5 MB, free: 23.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001861/0.006799, allocations: 42.08 kB / 488.5 MB, free: 23.05 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.0001218/0.006921, allocations: 133.8 kB / 488.7 MB, free: 22.95 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001929/0.007114, allocations: 140.7 kB / 488.8 MB, free: 22.86 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.007115, allocations: 1.219 kB / 488.8 MB, free: 22.86 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.959e-05/0.007185, allocations: 115.1 kB / 488.9 MB, free: 22.78 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001896/0.007375, allocations: 29.17 kB / 489 MB, free: 22.77 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003155/0.00769, allocations: 292.6 kB / 489.2 MB, free: 22.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.54e-05/0.007725, allocations: 79.44 kB / 489.3 MB, free: 22.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.989e-05/0.007755, allocations: 11.03 kB / 489.3 MB, free: 22.49 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.819e-05/0.007833, allocations: 97.86 kB / 489.4 MB, free: 22.42 MB / 426.7 MB Notification: Performance of SimCode: time 7.52e-07/0.007834, allocations: 0 / 489.4 MB, free: 22.42 MB / 426.7 MB Notification: Performance of Templates: time 0.003966/0.0118, allocations: 2.39 MB / 491.8 MB, free: 22.24 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.3899654638953507]