Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.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.001429/0.001429, allocations: 114.8 kB / 19.69 MB, free: 2.188 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.001468/0.001468, allocations: 186 kB / 22.98 MB, free: 5.012 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.301/1.301, 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.881/0.881, allocations: 149.6 MB / 456.6 MB, free: 1.262 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.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset") translateModel(IBPSA.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 62.25 kB / 0.6328 GB, free: 9.074 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1566, allocations: 87.89 MB / 0.7186 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.005952/0.1625, allocations: 4.365 MB / 0.7229 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003193/0.1657, allocations: 1.593 MB / 0.7245 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000655/0.1664, allocations: 43.69 kB / 0.7245 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004578/0.1668, allocations: 170.2 kB / 0.7247 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006698/0.1675, allocations: 242 kB / 0.7249 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001327/0.1688, allocations: 0.6856 MB / 0.7256 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001253/0.1701, allocations: 1.23 MB / 0.7268 GB, free: 8.773 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005316/0.1706, allocations: 344.8 kB / 0.7271 GB, free: 8.414 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005127/0.1711, allocations: 489.9 kB / 0.7276 GB, free: 7.934 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004887/0.1716, allocations: 473.4 kB / 0.728 GB, free: 7.469 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001372/0.1718, allocations: 104 kB / 0.7281 GB, free: 7.367 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.1719, allocations: 112 kB / 0.7282 GB, free: 7.258 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000198/0.1721, allocations: 239.1 kB / 0.7284 GB, free: 7.023 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004041/0.1725, allocations: 493 kB / 0.7289 GB, free: 6.539 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001139/0.1736, allocations: 1.182 MB / 0.7301 GB, free: 5.352 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1736, allocations: 0 / 0.7301 GB, free: 5.352 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.042e-06/0.1736, allocations: 0 / 0.7301 GB, free: 5.352 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.1736, allocations: 0 / 0.7301 GB, free: 5.352 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002389/0.176, allocations: 1.469 MB / 0.7315 GB, free: 3.84 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.1761, allocations: 8.625 kB / 0.7315 GB, free: 3.832 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001823/0.1762, allocations: 128.1 kB / 0.7316 GB, free: 3.707 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/0.1775, allocations: 0.699 MB / 0.7323 GB, free: 2.984 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.384e-05/0.1776, allocations: 80.27 kB / 0.7324 GB, free: 2.898 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.1777, allocations: 68.38 kB / 0.7325 GB, free: 2.832 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/0.179, allocations: 0.7407 MB / 0.7332 GB, free: 2.055 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.179, allocations: 7.922 kB / 0.7332 GB, free: 2.047 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.599e-05/0.1791, allocations: 24 kB / 0.7332 GB, free: 2.023 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.704e-05/0.1791, allocations: 20 kB / 0.7332 GB, free: 2.004 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.1802, allocations: 0.5282 MB / 0.7337 GB, free: 1.477 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003179/0.1834, allocations: 2.19 MB / 0.7359 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00137/0.1847, allocations: 0.5956 MB / 0.7365 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005002/0.1852, allocations: 257.5 kB / 0.7367 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.23e-05/0.1853, allocations: 16.48 kB / 0.7367 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006459/0.1859, allocations: 318.2 kB / 0.737 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=60): time 1.863e-06/0.1859, allocations: 0 / 0.737 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=60): time 0.001575/0.1875, allocations: 0.766 MB / 0.7378 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.343e-05/0.1876, allocations: 89.61 kB / 0.7379 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009084/0.1885, allocations: 0.7634 MB / 0.7386 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.862e-05/0.1885, allocations: 37.7 kB / 0.7386 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003568/0.1889, allocations: 445 kB / 0.7391 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001866/0.1891, allocations: 218.1 kB / 0.7393 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/0.1892, allocations: 106.3 kB / 0.7394 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1894, allocations: 330 kB / 0.7397 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004727/0.1899, allocations: 207.4 kB / 0.7399 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005374/0.1904, allocations: 320.4 kB / 0.7402 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009718/0.1914, allocations: 0.5048 MB / 0.7407 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1914, allocations: 3.938 kB / 0.7407 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001244/0.1926, allocations: 0.6684 MB / 0.7413 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.1926, allocations: 8 kB / 0.7414 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.1926, allocations: 3.938 kB / 0.7414 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.1926, allocations: 8 kB / 0.7414 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007319/0.1934, allocations: 144 kB / 0.7415 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/0.1934, allocations: 15.88 kB / 0.7415 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004341/0.1938, allocations: 75.48 kB / 0.7416 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.213e-05/0.1939, allocations: 28 kB / 0.7416 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006036/0.1945, allocations: 357.4 kB / 0.742 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000493/0.195, allocations: 296.6 kB / 0.7422 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008861/0.1959, allocations: 496.9 kB / 0.7427 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.567e-06/0.1959, allocations: 4 kB / 0.7427 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001152/0.197, allocations: 0.6371 MB / 0.7433 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.739e-06/0.197, allocations: 8.25 kB / 0.7433 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-06/0.197, allocations: 4 kB / 0.7434 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.849e-06/0.197, allocations: 11.98 kB / 0.7434 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006855/0.1977, allocations: 139.8 kB / 0.7435 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.1977, allocations: 8 kB / 0.7435 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004022/0.1981, allocations: 55.64 kB / 0.7436 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.401e-05/0.1982, allocations: 20 kB / 0.7436 GB, free: 7.117 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * 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.0001777/0.1983, allocations: 228.1 kB / 0.7438 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.1985, allocations: 95.39 kB / 0.7439 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001696/0.1986, allocations: 101.2 kB / 0.744 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.1986, allocations: 4 kB / 0.744 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.1986, allocations: 3.938 kB / 0.744 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.503e-06/0.1986, allocations: 3.984 kB / 0.744 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002166/0.2008, allocations: 1.425 MB / 0.7454 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2008, allocations: 0 / 0.7454 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005425/0.2014, allocations: 103.8 kB / 0.7455 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.2014, allocations: 4 kB / 0.7455 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.871e-05/0.2014, allocations: 12 kB / 0.7455 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.2014, allocations: 4 kB / 0.7455 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.2014, allocations: 3.984 kB / 0.7455 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/0.2031, allocations: 0.9859 MB / 0.7465 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002628/0.2034, allocations: 151.2 kB / 0.7466 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.255e-05/0.2034, allocations: 15.98 kB / 0.7466 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004466/0.2039, allocations: 31.97 kB / 0.7467 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.67e-05/0.204, allocations: 36.42 kB / 0.7467 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.257e-05/0.204, allocations: 19.98 kB / 0.7467 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006395/0.2047, allocations: 0.5224 MB / 0.7472 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2047, allocations: 0 / 0.7472 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006407/0.2053, allocations: 283.2 kB / 0.7475 GB, free: 3.035 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001316/0.2054, allocations: 115.1 kB / 0.7476 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001539/0.207, allocations: 0.7605 MB / 0.7483 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.207, allocations: 0 / 0.7483 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005024/0.2075, allocations: 259.6 kB / 0.7486 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.2085, allocations: 269.1 kB / 0.7488 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002497/0.211, allocations: 1.567 MB / 0.7504 GB, free: 48 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2639/0.4748, allocations: 0.9897 MB / 0.7513 GB, free: 31.05 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006646/0.4755, allocations: 122.3 kB / 0.7515 GB, free: 31.04 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002054/0.4757, allocations: 60.58 kB / 0.7515 GB, free: 31.04 MB / 0.5606 GB Notification: Performance of SimCode: time 1.764e-06/0.4757, allocations: 0 / 0.7515 GB, free: 31.04 MB / 0.5606 GB Notification: Performance of Templates: time 0.02148/0.4972, allocations: 9.97 MB / 0.7613 GB, free: 30.54 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.608325853943825] Failed to read output from testmodel.py, exit status != 0: 0.50495586078614 0.5150729949999999 0.33913509899999994 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f1ae60817b0>