Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.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.001203/0.001203, allocations: 114.8 kB / 19.7 MB, free: 2.203 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.001253/0.001253, allocations: 195.2 kB / 22.98 MB, free: 5.078 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.3/1.3, allocations: 225.6 MB / 251.8 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 179] 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.8762/0.8762, allocations: 149.6 MB / 456.6 MB, free: 1.176 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.Logical.Sources.Validation.PulseNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime") translateModel(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 65.28 kB / 0.6329 GB, free: 8.949 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1652, allocations: 87.87 MB / 0.7187 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime): time 0.002365/0.1676, allocations: 1.166 MB / 0.7198 GB, free: 15.83 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002655/0.1702, allocations: 2.176 MB / 0.7219 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.854e-05/0.1703, allocations: 7.938 kB / 0.7219 GB, free: 13.63 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.198e-05/0.1703, allocations: 19.69 kB / 0.722 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001826/0.1705, allocations: 99.27 kB / 0.7221 GB, free: 13.51 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002814/0.1733, allocations: 1.398 MB / 0.7234 GB, free: 12.16 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001326/0.1747, allocations: 1.201 MB / 0.7246 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.676e-05/0.1747, allocations: 16.92 kB / 0.7246 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005284/0.1752, allocations: 487.3 kB / 0.7251 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005873/0.1758, allocations: 442.9 kB / 0.7255 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001645/0.176, allocations: 104 kB / 0.7256 GB, free: 9.922 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002169/0.1762, allocations: 120 kB / 0.7257 GB, free: 9.805 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.358e-05/0.1763, allocations: 55.77 kB / 0.7258 GB, free: 9.75 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000402/0.1767, allocations: 399 kB / 0.7262 GB, free: 9.359 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009607/0.1776, allocations: 0.9699 MB / 0.7271 GB, free: 8.387 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1776, allocations: 0 / 0.7271 GB, free: 8.387 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1776, allocations: 0 / 0.7271 GB, free: 8.387 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.1776, allocations: 8 kB / 0.7271 GB, free: 8.379 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001361/0.179, allocations: 1.104 MB / 0.7282 GB, free: 7.152 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.1791, allocations: 12.62 kB / 0.7282 GB, free: 7.141 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001805/0.1792, allocations: 68.78 kB / 0.7283 GB, free: 7.074 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.1794, allocations: 154.8 kB / 0.7284 GB, free: 6.898 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.091e-05/0.1794, allocations: 40.36 kB / 0.7284 GB, free: 6.859 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/0.1796, allocations: 64.36 kB / 0.7285 GB, free: 6.797 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003068/0.1799, allocations: 214.9 kB / 0.7287 GB, free: 6.535 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.1799, allocations: 4.188 kB / 0.7287 GB, free: 6.531 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.27e-05/0.1799, allocations: 11.92 kB / 0.7287 GB, free: 6.52 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.1799, allocations: 4 kB / 0.7287 GB, free: 6.516 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.1801, allocations: 71.72 kB / 0.7288 GB, free: 6.445 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000879/0.1809, allocations: 0.8202 MB / 0.7296 GB, free: 5.539 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003836/0.1813, allocations: 323.2 kB / 0.7299 GB, free: 5.086 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002017/0.1815, allocations: 140.8 kB / 0.73 GB, free: 4.902 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.1816, allocations: 11.94 kB / 0.7301 GB, free: 4.891 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006818/0.1822, allocations: 462.7 kB / 0.7305 GB, free: 4.367 MB / 0.545 GB Notification: Performance of pre-optimization done (n=45): time 1.663e-06/0.1822, allocations: 0 / 0.7305 GB, free: 4.367 MB / 0.545 GB Notification: Performance of matching and sorting (n=45): time 0.001016/0.1833, allocations: 0.5656 MB / 0.731 GB, free: 3.797 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002544/0.1835, allocations: 431.2 kB / 0.7315 GB, free: 3.277 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003001/0.1838, allocations: 304.4 kB / 0.7318 GB, free: 2.973 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001223/0.1839, allocations: 69.7 kB / 0.7318 GB, free: 2.898 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001947/0.1841, allocations: 161.4 kB / 0.732 GB, free: 2.734 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.1842, allocations: 99.31 kB / 0.7321 GB, free: 2.637 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004457/0.1847, allocations: 270 kB / 0.7323 GB, free: 2.367 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.1848, allocations: 350.8 kB / 0.7327 GB, free: 2.016 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008477/0.1857, allocations: 425.2 kB / 0.7331 GB, free: 1.598 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001074/0.1868, allocations: 0.6987 MB / 0.7337 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001417/0.1882, allocations: 1.195 MB / 0.7349 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.377e-06/0.1882, allocations: 7.938 kB / 0.7349 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002752/0.1909, allocations: 1.748 MB / 0.7366 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003233/0.1913, allocations: 485.4 kB / 0.7371 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.1913, allocations: 16.25 kB / 0.7371 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.71e-05/0.1913, allocations: 12 kB / 0.7371 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.967e-05/0.1914, allocations: 31.86 kB / 0.7371 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.006e-05/0.1914, allocations: 15.94 kB / 0.7372 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001896/0.1933, allocations: 415.1 kB / 0.7376 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001735/0.1935, allocations: 95.92 kB / 0.7377 GB, free: 12.34 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 60 (booPul_c5.y,$PRE.booPul_c5.y,$whenCondition29,$whenCondition30,booPul_b5.y,$PRE.booPul_b5.y,$whenCondition27,$whenCondition28,booPul_a5.y,$PRE.booPul_a5.y,$whenCondition25,$whenCondition26,booPul_c4.y,$PRE.booPul_c4.y,$whenCondition23,$whenCondition24,booPul_b4.y,$PRE.booPul_b4.y,$whenCondition21,$whenCondition22,booPul_a4.y,$PRE.booPul_a4.y,$whenCondition19,$whenCondition20,booPul_c3.y,$PRE.booPul_c3.y,$whenCondition17,$whenCondition18,booPul_b3.y,$PRE.booPul_b3.y,$whenCondition15,$whenCondition16,booPul_a3.y,$PRE.booPul_a3.y,$whenCondition13,$whenCondition14,booPul_c2.y,$PRE.booPul_c2.y,$whenCondition11,$whenCondition12,booPul_b2.y,$PRE.booPul_b2.y,$whenCondition9,$whenCondition10,booPul_a2.y,$PRE.booPul_a2.y,$whenCondition7,$whenCondition8,booPul_c1.y,$PRE.booPul_c1.y,$whenCondition5,$whenCondition6,booPul_b1.y,$PRE.booPul_b1.y,$whenCondition3,$whenCondition4,booPul_a1.y,$PRE.booPul_a1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 15 * 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.0003016/0.1938, allocations: 225.5 kB / 0.7379 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.719e-05/0.1938, allocations: 47.69 kB / 0.7379 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.991e-05/0.1939, allocations: 38.23 kB / 0.7379 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.1939, allocations: 8 kB / 0.738 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/0.1939, allocations: 4 kB / 0.738 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.194, allocations: 8 kB / 0.738 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003762/0.1943, allocations: 304.5 kB / 0.7383 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.1943, allocations: 4 kB / 0.7383 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.542e-05/0.1944, allocations: 15.92 kB / 0.7383 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.191e-05/0.1944, allocations: 11.94 kB / 0.7383 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.883e-05/0.1944, allocations: 23.97 kB / 0.7383 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.264e-06/0.1944, allocations: 7.938 kB / 0.7383 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.1944, allocations: 7.938 kB / 0.7383 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006804/0.1951, allocations: 0.5085 MB / 0.7388 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.882e-05/0.1951, allocations: 43.64 kB / 0.7389 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.501e-05/0.1952, allocations: 15.98 kB / 0.7389 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.1953, allocations: 11.98 kB / 0.7389 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.1954, allocations: 71.8 kB / 0.739 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-05/0.1954, allocations: 27.98 kB / 0.739 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001765/0.1956, allocations: 187.1 kB / 0.7392 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1956, allocations: 0 / 0.7392 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006124/0.1962, allocations: 200 kB / 0.7394 GB, free: 10.48 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition29,$whenCondition30,booPul_c5.y,$whenCondition27,$whenCondition28,booPul_b5.y,$whenCondition25,$whenCondition26,booPul_a5.y,$whenCondition23,$whenCondition24,booPul_c4.y,$whenCondition21,$whenCondition22,booPul_b4.y,$whenCondition19,$whenCondition20,booPul_a4.y,$whenCondition17,$whenCondition18,booPul_c3.y,$whenCondition15,$whenCondition16,booPul_b3.y,$whenCondition13,$whenCondition14,booPul_a3.y,$whenCondition11,$whenCondition12,booPul_c2.y,$whenCondition9,$whenCondition10,booPul_b2.y,$whenCondition7,$whenCondition8,booPul_a2.y,$whenCondition5,$whenCondition6,booPul_c1.y,$whenCondition3,$whenCondition4,booPul_b1.y,$whenCondition1,$whenCondition2,booPul_a1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 15 * 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.0001903/0.1964, allocations: 137.6 kB / 0.7395 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00193/0.1983, allocations: 1.57 MB / 0.741 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1983, allocations: 0.875 kB / 0.741 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002384/0.1986, allocations: 151.7 kB / 0.7412 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006231/0.1992, allocations: 124.8 kB / 0.7413 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.2002, allocations: 0.648 MB / 0.7419 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004253/0.2006, allocations: 0.7762 MB / 0.7427 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001062/0.2007, allocations: 50.89 kB / 0.7427 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.795e-05/0.2008, allocations: 31.44 kB / 0.7428 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of SimCode: time 4.41e-07/0.2008, allocations: 0 / 0.7428 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of Templates: time 0.2974/0.4982, allocations: 12.14 MB / 0.7546 GB, free: 30.18 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.709789315238595] Failed to read output from testmodel.py, exit status != 0: 0.505313784815371 0.515962393 0.33603440500000004 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f8432a597b0>