Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.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.001727/0.001727, allocations: 75.75 kB / 20.51 MB, free: 1.121 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.002228/0.002228, allocations: 162.2 kB / 23.76 MB, free: 4.195 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.461/1.461, allocations: 177.2 MB / 204.1 MB, free: 8.977 MB / 190.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 0.9371/0.9371, allocations: 113.9 MB / 374.5 MB, free: 12.89 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.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker") translateModel(IBPSA.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker") [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.002266/0.002266, allocations: 76.62 kB / 0.555 GB, free: 2.777 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.172, allocations: 89.14 MB / 0.6421 GB, free: 9.586 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.003232/0.1752, allocations: 1.533 MB / 0.6436 GB, free: 8.043 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001335/0.1765, allocations: 0.6077 MB / 0.6441 GB, free: 7.43 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.011e-05/0.1766, allocations: 0 / 0.6441 GB, free: 7.43 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001152/0.1767, allocations: 11.86 kB / 0.6442 GB, free: 7.418 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.108e-05/0.1768, allocations: 23.8 kB / 0.6442 GB, free: 7.395 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000493/0.1773, allocations: 107.7 kB / 0.6443 GB, free: 7.289 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001814/0.1775, allocations: 95.7 kB / 0.6444 GB, free: 7.195 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.1776, allocations: 16.14 kB / 0.6444 GB, free: 7.176 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.1778, allocations: 51.84 kB / 0.6444 GB, free: 7.125 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.1779, allocations: 51.75 kB / 0.6445 GB, free: 7.074 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.76e-05/0.1779, allocations: 8 kB / 0.6445 GB, free: 7.066 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001789/0.1781, allocations: 91.84 kB / 0.6446 GB, free: 6.977 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.642e-05/0.1781, allocations: 19.92 kB / 0.6446 GB, free: 6.957 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.692e-05/0.1782, allocations: 31.8 kB / 0.6446 GB, free: 6.926 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002917/0.1785, allocations: 163.3 kB / 0.6448 GB, free: 6.766 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.1785, allocations: 0 / 0.6448 GB, free: 6.766 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.813e-06/0.1785, allocations: 0 / 0.6448 GB, free: 6.766 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.1785, allocations: 0 / 0.6448 GB, free: 6.766 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008177/0.1793, allocations: 387.5 kB / 0.6452 GB, free: 6.352 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.1794, allocations: 8.031 kB / 0.6452 GB, free: 6.344 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002956/0.1797, allocations: 36.81 kB / 0.6452 GB, free: 6.309 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.18, allocations: 137 kB / 0.6453 GB, free: 6.152 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.18, allocations: 8.375 kB / 0.6453 GB, free: 6.145 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.18, allocations: 4.375 kB / 0.6453 GB, free: 6.141 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003257/0.1803, allocations: 109.9 kB / 0.6455 GB, free: 6.027 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.1803, allocations: 0 / 0.6455 GB, free: 6.027 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.1803, allocations: 8 kB / 0.6455 GB, free: 6.02 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.052e-05/0.1804, allocations: 7.938 kB / 0.6455 GB, free: 6.012 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003369/0.1807, allocations: 79.92 kB / 0.6455 GB, free: 5.934 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006409/0.1813, allocations: 280.4 kB / 0.6458 GB, free: 5.629 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003333/0.1817, allocations: 98.44 kB / 0.6459 GB, free: 5.523 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001865/0.1819, allocations: 52.88 kB / 0.646 GB, free: 5.469 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.887e-05/0.1819, allocations: 0 / 0.646 GB, free: 5.469 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003116/0.1822, allocations: 115.3 kB / 0.6461 GB, free: 5.344 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.1822, allocations: 4 kB / 0.6461 GB, free: 5.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0006883/0.1829, allocations: 213.5 kB / 0.6463 GB, free: 5.125 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.1829, allocations: 55.69 kB / 0.6463 GB, free: 5.059 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.1831, allocations: 144.1 kB / 0.6465 GB, free: 4.91 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.1831, allocations: 29.7 kB / 0.6465 GB, free: 4.875 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.333e-05/0.1832, allocations: 108 kB / 0.6466 GB, free: 4.766 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.658e-05/0.1832, allocations: 23.84 kB / 0.6466 GB, free: 4.742 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-05/0.1833, allocations: 29.7 kB / 0.6466 GB, free: 4.707 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.1834, allocations: 326.8 kB / 0.647 GB, free: 4.379 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002199/0.1836, allocations: 85.59 kB / 0.647 GB, free: 4.289 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.1838, allocations: 81.66 kB / 0.6471 GB, free: 4.203 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003858/0.1842, allocations: 150.5 kB / 0.6473 GB, free: 4.047 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1842, allocations: 0 / 0.6473 GB, free: 4.047 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005184/0.1847, allocations: 233 kB / 0.6475 GB, free: 3.801 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.558e-05/0.1848, allocations: 33.64 kB / 0.6475 GB, free: 3.762 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1848, allocations: 0 / 0.6475 GB, free: 3.762 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.1848, allocations: 3.984 kB / 0.6475 GB, free: 3.758 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.1849, allocations: 19.98 kB / 0.6475 GB, free: 3.738 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.1849, allocations: 8 kB / 0.6475 GB, free: 3.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.1851, allocations: 15.92 kB / 0.6476 GB, free: 3.715 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.1851, allocations: 12 kB / 0.6476 GB, free: 3.703 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: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 1 * Algorithm blocks: 1 * 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.0001085/0.1852, allocations: 117.8 kB / 0.6477 GB, free: 3.578 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/0.1852, allocations: 15.91 kB / 0.6477 GB, free: 3.562 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.216e-05/0.1853, allocations: 16.77 kB / 0.6477 GB, free: 3.543 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.485e-05/0.1853, allocations: 4 kB / 0.6477 GB, free: 3.539 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1853, allocations: 0 / 0.6477 GB, free: 3.539 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1853, allocations: 0 / 0.6477 GB, free: 3.539 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.1855, allocations: 137.2 kB / 0.6478 GB, free: 3.375 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1855, allocations: 0 / 0.6478 GB, free: 3.375 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.1856, allocations: 19.97 kB / 0.6479 GB, free: 3.355 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.1856, allocations: 0 / 0.6479 GB, free: 3.355 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.1856, allocations: 7.938 kB / 0.6479 GB, free: 3.348 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1856, allocations: 3.984 kB / 0.6479 GB, free: 3.344 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1856, allocations: 0 / 0.6479 GB, free: 3.344 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004809/0.1861, allocations: 184.9 kB / 0.6481 GB, free: 3.145 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.067e-05/0.1861, allocations: 8.094 kB / 0.6481 GB, free: 3.137 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/0.1861, allocations: 7.984 kB / 0.6481 GB, free: 3.129 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.1863, allocations: 19.92 kB / 0.6481 GB, free: 3.109 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.597e-05/0.1863, allocations: 7.984 kB / 0.6481 GB, free: 3.102 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.1863, allocations: 11.92 kB / 0.6481 GB, free: 3.09 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.761e-05/0.1864, allocations: 112.1 kB / 0.6482 GB, free: 2.98 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1864, allocations: 0 / 0.6482 GB, free: 2.98 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002686/0.1867, allocations: 43.91 kB / 0.6483 GB, free: 2.938 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: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001863/0.1869, allocations: 123.1 kB / 0.6484 GB, free: 2.809 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005221/0.1874, allocations: 208.9 kB / 0.6486 GB, free: 2.586 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1874, allocations: 0 / 0.6486 GB, free: 2.586 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002145/0.1876, allocations: 59.95 kB / 0.6486 GB, free: 2.527 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.1878, allocations: 16.77 kB / 0.6486 GB, free: 2.516 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005804/0.1884, allocations: 232.2 kB / 0.6489 GB, free: 2.258 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.911e-05/0.1885, allocations: 89.38 kB / 0.649 GB, free: 2.148 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.856e-05/0.1886, allocations: 15.97 kB / 0.649 GB, free: 2.133 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.382e-05/0.1886, allocations: 20.48 kB / 0.649 GB, free: 2.113 MB / 0.545 GB Notification: Performance of SimCode: time 3.41e-07/0.1886, allocations: 3.938 kB / 0.649 GB, free: 2.109 MB / 0.545 GB Notification: Performance of Templates: time 0.004938/0.1936, allocations: 1.459 MB / 0.6504 GB, free: 0.668 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.5299360640347] Failed to read output from testmodel.py, exit status != 0: 0.2027002340182662 0.21763823399999996 0.035992554 Calling exit ...