Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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.001364/0.001364, allocations: 104 kB / 20.33 MB, free: 1.59 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.001454/0.001454, allocations: 190 kB / 23.59 MB, free: 4.977 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.446/1.446, allocations: 225.6 MB / 252.3 MB, free: 13.06 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.9782/0.9782, allocations: 149.6 MB / 457.1 MB, free: 1.297 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.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002126/0.002126, allocations: 69.39 kB / 0.6331 GB, free: 9.137 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1695, allocations: 87.87 MB / 0.719 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001928/0.1714, allocations: 0.6593 MB / 0.7196 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001653/0.173, allocations: 1.167 MB / 0.7207 GB, free: 15.34 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.607e-05/0.1731, allocations: 3.938 kB / 0.7207 GB, free: 15.34 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.728e-05/0.1731, allocations: 3.938 kB / 0.7208 GB, free: 15.34 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.417e-05/0.1732, allocations: 11.88 kB / 0.7208 GB, free: 15.32 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005592/0.1738, allocations: 150.3 kB / 0.7209 GB, free: 15.18 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002289/0.174, allocations: 143.8 kB / 0.721 GB, free: 15.04 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.042e-05/0.1741, allocations: 4 kB / 0.721 GB, free: 15.04 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.1742, allocations: 55.91 kB / 0.7211 GB, free: 14.98 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.1743, allocations: 55.86 kB / 0.7212 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.028e-05/0.1743, allocations: 12 kB / 0.7212 GB, free: 14.91 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.119e-05/0.1744, allocations: 23.98 kB / 0.7212 GB, free: 14.89 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.383e-05/0.1744, allocations: 27.86 kB / 0.7212 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.823e-05/0.1745, allocations: 51.83 kB / 0.7213 GB, free: 14.81 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.1747, allocations: 127.7 kB / 0.7214 GB, free: 14.69 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1747, allocations: 4 kB / 0.7214 GB, free: 14.68 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1747, allocations: 0 / 0.7214 GB, free: 14.68 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.1747, allocations: 0 / 0.7214 GB, free: 14.68 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006833/0.1754, allocations: 339.9 kB / 0.7217 GB, free: 14.31 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.1755, allocations: 8.625 kB / 0.7217 GB, free: 14.3 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.153e-05/0.1755, allocations: 16.83 kB / 0.7217 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004165/0.1759, allocations: 154.6 kB / 0.7219 GB, free: 14.11 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.176, allocations: 12.38 kB / 0.7219 GB, free: 14.1 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.765e-05/0.176, allocations: 12.36 kB / 0.7219 GB, free: 14.09 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.1762, allocations: 86.14 kB / 0.722 GB, free: 14 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.1762, allocations: 3.938 kB / 0.722 GB, free: 14 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.1762, allocations: 3.984 kB / 0.722 GB, free: 13.99 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.1762, allocations: 4 kB / 0.722 GB, free: 13.99 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.626e-05/0.1763, allocations: 39.97 kB / 0.722 GB, free: 13.95 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006434/0.177, allocations: 327.7 kB / 0.7224 GB, free: 13.59 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.1772, allocations: 74.55 kB / 0.7224 GB, free: 13.5 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.934e-05/0.1772, allocations: 36.83 kB / 0.7225 GB, free: 13.46 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.1772, allocations: 0 / 0.7225 GB, free: 13.46 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002575/0.1775, allocations: 139.3 kB / 0.7226 GB, free: 13.32 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.1775, allocations: 0 / 0.7226 GB, free: 13.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0004286/0.1779, allocations: 196.9 kB / 0.7228 GB, free: 13.12 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.178, allocations: 59.55 kB / 0.7228 GB, free: 13.05 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.1781, allocations: 117.7 kB / 0.7229 GB, free: 12.93 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.935e-05/0.1781, allocations: 41.69 kB / 0.723 GB, free: 12.88 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.851e-05/0.1782, allocations: 80.14 kB / 0.7231 GB, free: 12.8 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.86e-05/0.1782, allocations: 39.75 kB / 0.7231 GB, free: 12.76 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.801e-05/0.1783, allocations: 45.69 kB / 0.7231 GB, free: 12.71 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.1785, allocations: 326.8 kB / 0.7235 GB, free: 12.38 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.1786, allocations: 39.98 kB / 0.7235 GB, free: 12.34 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001537/0.1788, allocations: 94.22 kB / 0.7236 GB, free: 12.23 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002192/0.179, allocations: 137.9 kB / 0.7237 GB, free: 12.08 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.179, allocations: 0 / 0.7237 GB, free: 12.08 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003813/0.1794, allocations: 207.2 kB / 0.7239 GB, free: 11.86 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.419e-05/0.1794, allocations: 49.56 kB / 0.724 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.1794, allocations: 4 kB / 0.724 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.1794, allocations: 4.125 kB / 0.724 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.422e-05/0.1795, allocations: 8 kB / 0.724 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.1795, allocations: 4 kB / 0.724 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002086/0.1797, allocations: 31.92 kB / 0.724 GB, free: 11.76 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.467e-05/0.1798, allocations: 11.98 kB / 0.724 GB, free: 11.75 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition5,$whenCondition6,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * 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.0001242/0.1799, allocations: 133.7 kB / 0.7242 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.231e-05/0.1799, allocations: 19.94 kB / 0.7242 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.435e-05/0.1799, allocations: 8.438 kB / 0.7242 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1799, allocations: 0 / 0.7242 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/0.1799, allocations: 4 kB / 0.7242 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.18, allocations: 0 / 0.7242 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004922/0.1804, allocations: 412.6 kB / 0.7246 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1804, allocations: 0 / 0.7246 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.24e-05/0.1805, allocations: 4 kB / 0.7246 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1805, allocations: 0 / 0.7246 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/0.1805, allocations: 7.984 kB / 0.7246 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.1805, allocations: 4 kB / 0.7246 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.1805, allocations: 0 / 0.7246 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003321/0.1808, allocations: 267.4 kB / 0.7248 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.593e-05/0.1809, allocations: 7.953 kB / 0.7249 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.1809, allocations: 3.984 kB / 0.7249 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.591e-05/0.181, allocations: 11.98 kB / 0.7249 GB, free: 10.81 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.014e-05/0.181, allocations: 15.91 kB / 0.7249 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/0.181, allocations: 19.94 kB / 0.7249 GB, free: 10.77 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.105e-05/0.1811, allocations: 83.27 kB / 0.725 GB, free: 10.69 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1811, allocations: 0 / 0.725 GB, free: 10.69 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002956/0.1814, allocations: 32 kB / 0.725 GB, free: 10.66 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: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001755/0.1816, allocations: 120.9 kB / 0.7251 GB, free: 10.54 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003476/0.1819, allocations: 175.3 kB / 0.7253 GB, free: 10.35 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1819, allocations: 4.188 kB / 0.7253 GB, free: 10.35 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.182, allocations: 55.91 kB / 0.7254 GB, free: 10.29 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.1823, allocations: 25.58 kB / 0.7254 GB, free: 10.27 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004704/0.1828, allocations: 190.7 kB / 0.7256 GB, free: 10.05 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.1831, allocations: 0.6885 MB / 0.7262 GB, free: 9.34 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.895e-05/0.1832, allocations: 12.5 kB / 0.7262 GB, free: 9.328 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.634e-05/0.1832, allocations: 11.44 kB / 0.7263 GB, free: 9.316 MB / 0.545 GB Notification: Performance of SimCode: time 4.21e-07/0.1832, allocations: 0 / 0.7263 GB, free: 9.316 MB / 0.545 GB Notification: Performance of Templates: time 0.005421/0.1886, allocations: 1.698 MB / 0.7279 GB, free: 7.629 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.7002803969953675] Failed to read output from testmodel.py, exit status != 0: 0.1975533799995901 0.213452411 0.035386222 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f6893f4d840>