Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.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.00159/0.001591, allocations: 114.9 kB / 17.76 MB, free: 5.336 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.001959/0.001959, allocations: 186.9 kB / 20.69 MB, free: 2.406 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.511/1.511, allocations: 222.9 MB / 246.4 MB, free: 4.195 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.064/1.064, allocations: 147.6 MB / 446.2 MB, free: 8.516 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.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002105/0.002105, allocations: 67.44 kB / 0.612 GB, free: 37.77 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1589, allocations: 83.16 MB / 0.6932 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001848/0.1608, allocations: 0.7012 MB / 0.6939 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001632/0.1624, allocations: 1.194 MB / 0.6951 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.077e-05/0.1625, allocations: 2.656 kB / 0.6951 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.139e-05/0.1625, allocations: 3.938 kB / 0.6951 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.478e-05/0.1626, allocations: 11.86 kB / 0.6951 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005028/0.1631, allocations: 134.9 kB / 0.6952 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002014/0.1633, allocations: 128.8 kB / 0.6954 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.938e-05/0.1634, allocations: 10.88 kB / 0.6954 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.495e-05/0.1635, allocations: 44.53 kB / 0.6954 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.1636, allocations: 52.17 kB / 0.6955 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.662e-05/0.1637, allocations: 9.625 kB / 0.6955 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.312e-05/0.1638, allocations: 28.42 kB / 0.6955 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.12e-05/0.1638, allocations: 10.75 kB / 0.6955 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.146e-05/0.1639, allocations: 48.14 kB / 0.6956 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.1641, allocations: 110.7 kB / 0.6957 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.1641, allocations: 0 / 0.6957 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of FrontEnd: time 9.52e-07/0.1641, allocations: 0 / 0.6957 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.1641, allocations: 0 / 0.6957 GB, free: 11.3 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006493/0.1648, allocations: 404.6 kB / 0.696 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.1648, allocations: 9.625 kB / 0.6961 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.918e-05/0.1648, allocations: 14.38 kB / 0.6961 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.165, allocations: 175 kB / 0.6962 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.165, allocations: 3.125 kB / 0.6962 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.1651, allocations: 15.19 kB / 0.6963 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/0.1653, allocations: 64.09 kB / 0.6963 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1653, allocations: 1.562 kB / 0.6963 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.1653, allocations: 3.938 kB / 0.6963 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1653, allocations: 1.375 kB / 0.6963 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002256/0.1656, allocations: 43.33 kB / 0.6964 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005068/0.1661, allocations: 321 kB / 0.6967 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.1662, allocations: 54.14 kB / 0.6967 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.1664, allocations: 30.27 kB / 0.6968 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.1664, allocations: 5.375 kB / 0.6968 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002643/0.1667, allocations: 87.22 kB / 0.6968 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.1667, allocations: 0 / 0.6968 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0004553/0.1671, allocations: 136.4 kB / 0.697 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.1672, allocations: 52.75 kB / 0.697 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.1673, allocations: 121.1 kB / 0.6971 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.1673, allocations: 28.89 kB / 0.6972 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.399e-05/0.1674, allocations: 92 kB / 0.6973 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.1674, allocations: 14.38 kB / 0.6973 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.317e-05/0.1675, allocations: 35.89 kB / 0.6973 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1677, allocations: 324.9 kB / 0.6976 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.1678, allocations: 53.91 kB / 0.6977 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/0.168, allocations: 81.23 kB / 0.6977 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002852/0.1683, allocations: 132 kB / 0.6979 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1683, allocations: 0 / 0.6979 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004436/0.1688, allocations: 206.6 kB / 0.6981 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.191e-05/0.1688, allocations: 33.73 kB / 0.6981 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1688, allocations: 1.438 kB / 0.6981 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.1689, allocations: 1.344 kB / 0.6981 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.169, allocations: 12.39 kB / 0.6981 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.169, allocations: 1.438 kB / 0.6981 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002222/0.1692, allocations: 47.81 kB / 0.6982 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.005e-05/0.1692, allocations: 5.281 kB / 0.6982 GB, free: 8.965 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition3,booPul.y,$PRE.booPul.y,$whenCondition1,triggeredMax.y,$PRE.triggeredMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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.0001047/0.1693, allocations: 124.5 kB / 0.6983 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.272e-05/0.1694, allocations: 2.438 kB / 0.6983 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003235/0.1697, allocations: 114.6 kB / 0.6984 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.1697, allocations: 1.656 kB / 0.6984 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.1697, allocations: 4 kB / 0.6984 GB, free: 8.754 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1697, allocations: 0 / 0.6984 GB, free: 8.754 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000469/0.1702, allocations: 362.7 kB / 0.6987 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.1702, allocations: 0 / 0.6987 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.203e-05/0.1703, allocations: 10.86 kB / 0.6988 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1703, allocations: 1.375 kB / 0.6988 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.1703, allocations: 0 / 0.6988 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1703, allocations: 1.844 kB / 0.6988 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1703, allocations: 4 kB / 0.6988 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003275/0.1706, allocations: 215.5 kB / 0.699 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.373e-05/0.1707, allocations: 86.42 kB / 0.699 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.1707, allocations: 5.375 kB / 0.699 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.127e-05/0.1708, allocations: 4.125 kB / 0.6991 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.332e-05/0.1709, allocations: 18.61 kB / 0.6991 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.1709, allocations: 1.375 kB / 0.6991 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.265e-05/0.171, allocations: 91.52 kB / 0.6992 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.171, allocations: 3.938 kB / 0.6992 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002725/0.1713, allocations: 27.56 kB / 0.6992 GB, free: 7.996 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition3,$whenCondition1,triggeredMax.y,booPul.y) * Number of discrete states: 1 (triggeredMax.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * 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.0001559/0.1714, allocations: 105 kB / 0.6993 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003887/0.1718, allocations: 170.7 kB / 0.6995 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1718, allocations: 1.281 kB / 0.6995 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.172, allocations: 33.59 kB / 0.6995 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.1722, allocations: 16.03 kB / 0.6995 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003532/0.1726, allocations: 181 kB / 0.6997 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.1729, allocations: 0.6925 MB / 0.7004 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.697e-05/0.1729, allocations: 11.44 kB / 0.7004 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.1729, allocations: 0 / 0.7004 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of Templates: time 0.002991/0.1759, allocations: 1.201 MB / 0.7015 GB, free: 5.664 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.267182119889185] Failed to read output from testmodel.py, exit status != 0: 0.5062381790485233 0.19544522699999994 0.028835133000000002 Calling exit ...