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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001794/0.001794, allocations: 110.2 kB / 19.59 MB, free: 2.277 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001903/0.001903, allocations: 192.9 kB / 22.85 MB, free: 5.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 225.6 MB / 251.5 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] 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.9812/0.9812, allocations: 149.5 MB / 456.3 MB, free: 1.312 MB / 350.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002021/0.002021, allocations: 66.94 kB / 0.6324 GB, free: 9.141 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.2066, allocations: 87.88 MB / 0.7183 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002259/0.2089, allocations: 0.8348 MB / 0.7191 GB, free: 352 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001496/0.2104, allocations: 1.014 MB / 0.7201 GB, free: 15.32 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.862e-05/0.2105, allocations: 4 kB / 0.7201 GB, free: 15.31 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001057/0.2106, allocations: 11.86 kB / 0.7201 GB, free: 15.3 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.979e-05/0.2106, allocations: 19.81 kB / 0.7201 GB, free: 15.28 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003879/0.211, allocations: 95.75 kB / 0.7202 GB, free: 15.19 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.2112, allocations: 119.7 kB / 0.7203 GB, free: 15.07 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.2113, allocations: 41.3 kB / 0.7203 GB, free: 15.03 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.328e-05/0.2114, allocations: 59.77 kB / 0.7204 GB, free: 14.97 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.057e-05/0.2115, allocations: 55.75 kB / 0.7205 GB, free: 14.92 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.478e-05/0.2115, allocations: 12 kB / 0.7205 GB, free: 14.91 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.2116, allocations: 87.92 kB / 0.7205 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.084e-05/0.2117, allocations: 43.84 kB / 0.7206 GB, free: 14.78 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.55e-05/0.2118, allocations: 63.53 kB / 0.7207 GB, free: 14.71 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002963/0.2121, allocations: 215 kB / 0.7209 GB, free: 14.5 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2121, allocations: 0 / 0.7209 GB, free: 14.5 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2121, allocations: 3.938 kB / 0.7209 GB, free: 14.5 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.2121, allocations: 4 kB / 0.7209 GB, free: 14.5 MB / 0.545 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.0008804/0.213, allocations: 417.4 kB / 0.7213 GB, free: 14.05 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.213, allocations: 8.625 kB / 0.7213 GB, free: 14.05 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.284e-05/0.2131, allocations: 20.8 kB / 0.7213 GB, free: 14.03 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/0.2133, allocations: 150.2 kB / 0.7214 GB, free: 13.86 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.2133, allocations: 8.375 kB / 0.7214 GB, free: 13.85 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.2133, allocations: 8.375 kB / 0.7215 GB, free: 13.84 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006856/0.214, allocations: 202.6 kB / 0.7216 GB, free: 13.64 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.214, allocations: 192 / 0.7216 GB, free: 13.64 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.214, allocations: 7.938 kB / 0.7217 GB, free: 13.63 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.214, allocations: 3.938 kB / 0.7217 GB, free: 13.62 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008106/0.2148, allocations: 223.8 kB / 0.7219 GB, free: 13.41 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.2159, allocations: 0.4991 MB / 0.7224 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004793/0.2163, allocations: 150.5 kB / 0.7225 GB, free: 12.71 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004457/0.2168, allocations: 140.7 kB / 0.7226 GB, free: 12.57 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.174e-05/0.2168, allocations: 8 kB / 0.7226 GB, free: 12.56 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.2169, allocations: 30.56 kB / 0.7227 GB, free: 12.52 MB / 0.545 GB Notification: Performance of pre-optimization done (n=25): time 1.764e-06/0.2169, allocations: 4 kB / 0.7227 GB, free: 12.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=25): time 0.001596/0.2185, allocations: 484.6 kB / 0.7231 GB, free: 12.04 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.878e-05/0.2185, allocations: 55.34 kB / 0.7232 GB, free: 11.97 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.2187, allocations: 152.5 kB / 0.7233 GB, free: 11.82 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.2187, allocations: 25.7 kB / 0.7234 GB, free: 11.79 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.797e-05/0.2188, allocations: 104.6 kB / 0.7235 GB, free: 11.68 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.796e-05/0.2189, allocations: 75.39 kB / 0.7235 GB, free: 11.61 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.907e-05/0.2189, allocations: 41.7 kB / 0.7236 GB, free: 11.56 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.2191, allocations: 322.8 kB / 0.7239 GB, free: 11.23 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004225/0.2195, allocations: 139.8 kB / 0.724 GB, free: 11.1 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004233/0.22, allocations: 131.9 kB / 0.7241 GB, free: 10.97 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008411/0.2208, allocations: 298.4 kB / 0.7244 GB, free: 10.68 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2208, allocations: 0 / 0.7244 GB, free: 10.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009383/0.2217, allocations: 333 kB / 0.7247 GB, free: 10.35 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.2218, allocations: 4 kB / 0.7247 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.003e-05/0.2218, allocations: 0 / 0.7247 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.2218, allocations: 0 / 0.7247 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002595/0.2221, allocations: 39.94 kB / 0.7248 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.2221, allocations: 7.875 kB / 0.7248 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.2223, allocations: 39.86 kB / 0.7248 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.154e-05/0.2223, allocations: 3.984 kB / 0.7248 GB, free: 10.25 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.0001534/0.2224, allocations: 139.7 kB / 0.725 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.888e-05/0.2225, allocations: 11.91 kB / 0.725 GB, free: 10.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/0.2235, allocations: 366.6 kB / 0.7253 GB, free: 9.73 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.2235, allocations: 0 / 0.7253 GB, free: 9.73 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.2235, allocations: 3.938 kB / 0.7253 GB, free: 9.727 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2235, allocations: 3.938 kB / 0.7253 GB, free: 9.723 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003277/0.2238, allocations: 244.5 kB / 0.7256 GB, free: 9.441 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/0.2238, allocations: 8 kB / 0.7256 GB, free: 9.434 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002092/0.2241, allocations: 43.83 kB / 0.7256 GB, free: 9.391 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.2241, allocations: 0 / 0.7256 GB, free: 9.391 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.2241, allocations: 4 kB / 0.7256 GB, free: 9.387 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2241, allocations: 0 / 0.7256 GB, free: 9.387 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.2241, allocations: 3.938 kB / 0.7256 GB, free: 9.383 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.2251, allocations: 431.2 kB / 0.726 GB, free: 8.945 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.639e-05/0.2251, allocations: 19.8 kB / 0.7261 GB, free: 8.926 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.2251, allocations: 8 kB / 0.7261 GB, free: 8.918 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002159/0.2253, allocations: 35.94 kB / 0.7261 GB, free: 8.883 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.11e-05/0.2254, allocations: 19.91 kB / 0.7261 GB, free: 8.863 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.2254, allocations: 0 / 0.7261 GB, free: 8.863 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.61e-05/0.2255, allocations: 108.9 kB / 0.7262 GB, free: 8.758 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2255, allocations: 0 / 0.7262 GB, free: 8.758 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003222/0.2258, allocations: 43.92 kB / 0.7263 GB, free: 8.715 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.0002345/0.2261, allocations: 123.1 kB / 0.7264 GB, free: 8.586 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009956/0.2271, allocations: 367.1 kB / 0.7267 GB, free: 8.215 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2271, allocations: 0 / 0.7267 GB, free: 8.215 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006152/0.2277, allocations: 215.2 kB / 0.7269 GB, free: 7.992 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.228, allocations: 22.33 kB / 0.727 GB, free: 7.973 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000694/0.2287, allocations: 355.5 kB / 0.7273 GB, free: 7.594 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004178/0.2291, allocations: 0.7312 MB / 0.728 GB, free: 6.836 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.623e-05/0.2292, allocations: 15.98 kB / 0.728 GB, free: 6.82 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.619e-05/0.2293, allocations: 15.44 kB / 0.728 GB, free: 6.805 MB / 0.545 GB Notification: Performance of SimCode: time 4.41e-07/0.2293, allocations: 0 / 0.728 GB, free: 6.805 MB / 0.545 GB Notification: Performance of Templates: time 0.006381/0.2356, allocations: 2.152 MB / 0.7301 GB, free: 4.672 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.114812953397632] Failed to read output from testmodel.py, exit status != 0: 0.2445538742467761 0.259416097 0.044001644 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f08512597b0>