Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Ramp.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.001375/0.001375, allocations: 113.1 kB / 17.12 MB, free: 6.008 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.001373/0.001373, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.51/1.51, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.024/1.024, allocations: 150 MB / 459.5 MB, free: 5.324 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.Ramp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Ramp") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Ramp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Ramp") [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.00195/0.00195, allocations: 66.97 kB / 0.6366 GB, free: 30.23 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1749, allocations: 89.14 MB / 0.7237 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002808/0.1777, allocations: 1.282 MB / 0.7249 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002794/0.1805, allocations: 1.732 MB / 0.7266 GB, free: 484 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.859e-05/0.1806, allocations: 0 / 0.7266 GB, free: 484 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 7.005e-05/0.1807, allocations: 31.61 kB / 0.7267 GB, free: 452 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000229/0.1809, allocations: 91.34 kB / 0.7267 GB, free: 360 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001479/0.1824, allocations: 0.6501 MB / 0.7274 GB, free: 15.72 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008405/0.1832, allocations: 0.7525 MB / 0.7281 GB, free: 14.97 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000173/0.1834, allocations: 48.73 kB / 0.7282 GB, free: 14.92 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003579/0.1838, allocations: 299.3 kB / 0.7284 GB, free: 14.63 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004417/0.1842, allocations: 275.1 kB / 0.7287 GB, free: 14.36 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001184/0.1843, allocations: 72 kB / 0.7288 GB, free: 14.29 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001709/0.1845, allocations: 91.97 kB / 0.7289 GB, free: 14.2 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.128e-05/0.1846, allocations: 79.62 kB / 0.7289 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003138/0.1849, allocations: 263.1 kB / 0.7292 GB, free: 13.86 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007886/0.1857, allocations: 0.6892 MB / 0.7299 GB, free: 13.17 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1857, allocations: 0 / 0.7299 GB, free: 13.17 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.194e-06/0.1857, allocations: 4 kB / 0.7299 GB, free: 13.17 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.1857, allocations: 0 / 0.7299 GB, free: 13.17 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.00159/0.1873, allocations: 0.8824 MB / 0.7307 GB, free: 12.2 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.1874, allocations: 8.031 kB / 0.7307 GB, free: 12.19 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001623/0.1875, allocations: 52.73 kB / 0.7308 GB, free: 12.14 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00152/0.189, allocations: 455.6 kB / 0.7312 GB, free: 11.66 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.689e-05/0.1891, allocations: 28.38 kB / 0.7313 GB, free: 11.63 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.1892, allocations: 52.3 kB / 0.7313 GB, free: 11.58 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005052/0.1897, allocations: 213.7 kB / 0.7315 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.1897, allocations: 3.938 kB / 0.7315 GB, free: 11.35 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.89e-05/0.1897, allocations: 11.98 kB / 0.7315 GB, free: 11.34 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.1897, allocations: 4 kB / 0.7315 GB, free: 11.34 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003437/0.1901, allocations: 127.9 kB / 0.7316 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/0.1914, allocations: 0.9493 MB / 0.7326 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007314/0.1922, allocations: 216.1 kB / 0.7328 GB, free: 9.965 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002806/0.1925, allocations: 106.5 kB / 0.7329 GB, free: 9.852 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.111e-05/0.1925, allocations: 0 / 0.7329 GB, free: 9.852 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006836/0.1932, allocations: 305 kB / 0.7332 GB, free: 9.531 MB / 0.545 GB Notification: Performance of pre-optimization done (n=37): time 1.744e-06/0.1932, allocations: 0 / 0.7332 GB, free: 9.531 MB / 0.545 GB Notification: Performance of matching and sorting (n=37): time 0.001314/0.1945, allocations: 461.3 kB / 0.7336 GB, free: 9.078 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.97e-05/0.1946, allocations: 114.8 kB / 0.7337 GB, free: 8.941 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003071/0.1949, allocations: 263 kB / 0.734 GB, free: 8.672 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.559e-05/0.195, allocations: 53.7 kB / 0.734 GB, free: 8.613 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.1952, allocations: 157 kB / 0.7342 GB, free: 8.457 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.1953, allocations: 103.2 kB / 0.7343 GB, free: 8.355 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002805/0.1955, allocations: 158 kB / 0.7344 GB, free: 8.195 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.1957, allocations: 342.8 kB / 0.7347 GB, free: 7.852 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006087/0.1963, allocations: 228.8 kB / 0.735 GB, free: 7.629 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007653/0.1971, allocations: 384.7 kB / 0.7353 GB, free: 7.18 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.1981, allocations: 0.5744 MB / 0.7359 GB, free: 6.527 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.1981, allocations: 0 / 0.7359 GB, free: 6.527 MB / 0.545 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00169/0.1998, allocations: 0.8507 MB / 0.7367 GB, free: 5.633 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001388/0.1999, allocations: 186.4 kB / 0.7369 GB, free: 5.414 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.2, allocations: 4 kB / 0.7369 GB, free: 5.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.2, allocations: 11.88 kB / 0.7369 GB, free: 5.398 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/0.2002, allocations: 55.78 kB / 0.737 GB, free: 5.344 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-05/0.2002, allocations: 7.984 kB / 0.737 GB, free: 5.336 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009886/0.2012, allocations: 179.8 kB / 0.7372 GB, free: 5.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.592e-05/0.2013, allocations: 43.97 kB / 0.7372 GB, free: 5.117 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,pul.booPul.y,$PRE.pul.booPul.y,booPul1.y,$PRE.booPul1.y,$whenCondition15,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,pul1.booPul.y,$PRE.pul1.booPul.y,booPul2.y,$PRE.booPul2.y,$whenCondition10,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,pul2.booPul.y,$PRE.pul2.booPul.y,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * 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.0002654/0.2016, allocations: 179.4 kB / 0.7374 GB, free: 4.934 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.06e-05/0.2016, allocations: 31.81 kB / 0.7374 GB, free: 4.902 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.001e-05/0.2017, allocations: 33.8 kB / 0.7374 GB, free: 4.867 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.2017, allocations: 8 kB / 0.7374 GB, free: 4.859 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.829e-06/0.2017, allocations: 8 kB / 0.7374 GB, free: 4.852 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.2017, allocations: 3.984 kB / 0.7374 GB, free: 4.848 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00156/0.2033, allocations: 0.9258 MB / 0.7384 GB, free: 3.863 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.2033, allocations: 4 kB / 0.7384 GB, free: 3.859 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002337/0.2035, allocations: 39.95 kB / 0.7384 GB, free: 3.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.266e-06/0.2035, allocations: 4 kB / 0.7384 GB, free: 3.816 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.692e-05/0.2036, allocations: 8 kB / 0.7384 GB, free: 3.809 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.503e-06/0.2036, allocations: 7.922 kB / 0.7384 GB, free: 3.801 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2036, allocations: 0 / 0.7384 GB, free: 3.801 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/0.2048, allocations: 0.7049 MB / 0.7391 GB, free: 3.078 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.045e-05/0.2049, allocations: 108.8 kB / 0.7392 GB, free: 2.953 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.166e-05/0.2049, allocations: 8 kB / 0.7392 GB, free: 2.945 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/0.2052, allocations: 24.02 kB / 0.7392 GB, free: 2.922 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.091e-05/0.2052, allocations: 27.97 kB / 0.7393 GB, free: 2.895 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.11e-05/0.2053, allocations: 19.98 kB / 0.7393 GB, free: 2.875 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000179/0.2055, allocations: 181.9 kB / 0.7395 GB, free: 2.695 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.2055, allocations: 4 kB / 0.7395 GB, free: 2.691 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000563/0.206, allocations: 111.9 kB / 0.7396 GB, free: 2.582 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (ramUpDow1.y_internal,ramUpDow.y_internal,ramUp.y_internal,ramUp1.y_internal) * Number of discrete variables: 21 ($whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul2.booPul.y,booPul5.y,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,booPul2.y,pul1.booPul.y,$whenCondition15,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,booPul1.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0002323/0.2062, allocations: 119.1 kB / 0.7397 GB, free: 2.457 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001351/0.2076, allocations: 0.7597 MB / 0.7404 GB, free: 1.625 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2076, allocations: 0 / 0.7404 GB, free: 1.625 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003488/0.2079, allocations: 140.5 kB / 0.7406 GB, free: 1.488 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007724/0.2087, allocations: 127.2 kB / 0.7407 GB, free: 1.363 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.2099, allocations: 0.6137 MB / 0.7413 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000461/0.2103, allocations: 0.7728 MB / 0.742 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001852/0.2105, allocations: 51.36 kB / 0.7421 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.99e-05/0.2106, allocations: 39.42 kB / 0.7421 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of SimCode: time 4.3e-07/0.2106, allocations: 0 / 0.7421 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of Templates: time 0.01305/0.2236, allocations: 7.036 MB / 0.749 GB, free: 8.887 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Ramp.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Ramp.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Ramp.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Ramp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.356842469889671] Failed to read output from testmodel.py, exit status != 0: 0.23117361892946064 0.24618432399999995 0.057621978000000004 Calling exit ...