Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.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.001457/0.001457, allocations: 111.8 kB / 17.08 MB, free: 5.988 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.001398/0.001399, allocations: 194.7 kB / 20.03 MB, free: 3.055 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.465/1.465, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.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 1.12/1.12, allocations: 147.6 MB / 445.5 MB, free: 8.285 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.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 67.72 kB / 0.6114 GB, free: 37.71 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1635, allocations: 83.16 MB / 0.6926 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002457/0.166, allocations: 0.7192 MB / 0.6933 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001908/0.1679, allocations: 1.268 MB / 0.6945 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.397e-05/0.168, allocations: 1.156 kB / 0.6945 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.497e-05/0.1681, allocations: 3.938 kB / 0.6945 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 9.451e-05/0.1682, allocations: 18.98 kB / 0.6945 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007952/0.169, allocations: 249.1 kB / 0.6948 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003194/0.1693, allocations: 268.6 kB / 0.695 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.1694, allocations: 11.11 kB / 0.695 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.1695, allocations: 97.23 kB / 0.6951 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.1697, allocations: 100.4 kB / 0.6952 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.624e-05/0.1698, allocations: 23.38 kB / 0.6953 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.185e-05/0.1699, allocations: 38.23 kB / 0.6953 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.861e-05/0.1699, allocations: 34.83 kB / 0.6953 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.1701, allocations: 88.61 kB / 0.6954 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002987/0.1704, allocations: 230.1 kB / 0.6956 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1704, allocations: 0 / 0.6956 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1704, allocations: 0 / 0.6956 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.144e-05/0.1704, allocations: 0 / 0.6956 GB, free: 10.75 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008449/0.1713, allocations: 498.9 kB / 0.6961 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.1713, allocations: 13.62 kB / 0.6961 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.773e-05/0.1714, allocations: 21.25 kB / 0.6961 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000625/0.172, allocations: 247.8 kB / 0.6964 GB, free: 10 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.403e-05/0.1721, allocations: 12.62 kB / 0.6964 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.821e-05/0.1721, allocations: 19.48 kB / 0.6964 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002757/0.1724, allocations: 134.5 kB / 0.6965 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.1724, allocations: 3.938 kB / 0.6965 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.257e-05/0.1725, allocations: 6.266 kB / 0.6965 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.1725, allocations: 2.5 kB / 0.6965 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001786/0.1727, allocations: 66.55 kB / 0.6966 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009512/0.1736, allocations: 0.5201 MB / 0.6971 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000328/0.174, allocations: 158.3 kB / 0.6973 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.1741, allocations: 66.94 kB / 0.6973 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/0.1741, allocations: 1.156 kB / 0.6973 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000408/0.1745, allocations: 207 kB / 0.6975 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=22): time 1.392e-06/0.1745, allocations: 0 / 0.6975 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22): time 0.0005942/0.1751, allocations: 310 kB / 0.6978 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.394e-05/0.1752, allocations: 101 kB / 0.6979 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.1753, allocations: 127.4 kB / 0.698 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.317e-05/0.1754, allocations: 41.7 kB / 0.6981 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.158e-05/0.1755, allocations: 92.7 kB / 0.6982 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.927e-05/0.1756, allocations: 59.58 kB / 0.6982 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.1757, allocations: 69.67 kB / 0.6983 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.1759, allocations: 326.8 kB / 0.6986 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/0.1761, allocations: 88.17 kB / 0.6987 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002356/0.1763, allocations: 156.2 kB / 0.6988 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003499/0.1767, allocations: 246.1 kB / 0.6991 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1767, allocations: 0 / 0.6991 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000629/0.1773, allocations: 349.3 kB / 0.6994 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.626e-05/0.1774, allocations: 75.42 kB / 0.6995 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.1774, allocations: 3.938 kB / 0.6995 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/0.1774, allocations: 7.938 kB / 0.6995 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.1775, allocations: 15.98 kB / 0.6995 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/0.1776, allocations: 11.88 kB / 0.6995 GB, free: 7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00041/0.178, allocations: 67.78 kB / 0.6996 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.335e-05/0.178, allocations: 23.98 kB / 0.6996 GB, free: 6.91 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0001595/0.1782, allocations: 148 kB / 0.6997 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.895e-05/0.1782, allocations: 11.95 kB / 0.6998 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.063e-05/0.1783, allocations: 16.5 kB / 0.6998 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1783, allocations: 3.938 kB / 0.6998 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.1783, allocations: 7.938 kB / 0.6998 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.1783, allocations: 3.984 kB / 0.6998 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008572/0.1792, allocations: 0.607 MB / 0.7004 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.1792, allocations: 8 kB / 0.7004 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.532e-05/0.1793, allocations: 11.92 kB / 0.7004 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.1793, allocations: 3.938 kB / 0.7004 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.1793, allocations: 4 kB / 0.7004 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.1793, allocations: 4 kB / 0.7004 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.1793, allocations: 3.984 kB / 0.7004 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004664/0.1798, allocations: 420.1 kB / 0.7008 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.772e-05/0.1799, allocations: 96.94 kB / 0.7009 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.783e-05/0.1799, allocations: 11.94 kB / 0.7009 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.18, allocations: 7.984 kB / 0.7009 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.717e-05/0.1801, allocations: 23.97 kB / 0.7009 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-05/0.1802, allocations: 15.98 kB / 0.701 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.165e-05/0.1802, allocations: 102.8 kB / 0.7011 GB, free: 5.316 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.2e-07/0.1802, allocations: 0 / 0.7011 GB, free: 5.316 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003529/0.1806, allocations: 59.98 kB / 0.7011 GB, free: 5.258 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001948/0.1808, allocations: 116.7 kB / 0.7012 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005464/0.1813, allocations: 342.6 kB / 0.7016 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1814, allocations: 0 / 0.7016 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001817/0.1815, allocations: 119.9 kB / 0.7017 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004182/0.182, allocations: 33.83 kB / 0.7017 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006289/0.1826, allocations: 280.2 kB / 0.702 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004064/0.183, allocations: 0.7047 MB / 0.7027 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.445e-05/0.1831, allocations: 21.53 kB / 0.7027 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.445e-05/0.1831, allocations: 19.44 kB / 0.7027 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.1832, allocations: 0 / 0.7027 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of Templates: time 0.006592/0.1898, allocations: 2.687 MB / 0.7053 GB, free: 0.8867 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.808925225865096] Failed to read output from testmodel.py, exit status != 0: 0.49398110527545214 0.211351745 0.038153547 Calling exit ...