Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.001376/0.001376, allocations: 105.1 kB / 17.07 MB, free: 5.969 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.001412/0.001412, allocations: 193.2 kB / 20.03 MB, free: 3.035 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.488/1.488, allocations: 222.9 MB / 245.7 MB, free: 4.215 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.126/1.126, allocations: 147.6 MB / 445.5 MB, free: 8.328 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.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 64.33 kB / 0.6113 GB, free: 37.87 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1499, allocations: 83.16 MB / 0.6925 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.002472/0.1524, allocations: 0.7312 MB / 0.6933 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001932/0.1544, allocations: 1.159 MB / 0.6944 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.1545, allocations: 5.375 kB / 0.6944 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 5.224e-05/0.1546, allocations: 7.875 kB / 0.6944 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001138/0.1548, allocations: 5.312 kB / 0.6944 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007473/0.1555, allocations: 132.7 kB / 0.6945 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002587/0.1558, allocations: 144 kB / 0.6947 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.1559, allocations: 20.42 kB / 0.6947 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.1561, allocations: 45.91 kB / 0.6947 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.1562, allocations: 56.17 kB / 0.6948 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.932e-05/0.1562, allocations: 11 kB / 0.6948 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.777e-05/0.1563, allocations: 25.86 kB / 0.6948 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.041e-05/0.1564, allocations: 10.75 kB / 0.6948 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.6e-05/0.1565, allocations: 53.52 kB / 0.6949 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002507/0.1567, allocations: 121.1 kB / 0.695 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1568, allocations: 0 / 0.695 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.412e-06/0.1568, allocations: 0 / 0.695 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.1568, allocations: 3.938 kB / 0.695 GB, free: 11.35 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007903/0.1576, allocations: 416.5 kB / 0.6954 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.1576, allocations: 10.09 kB / 0.6954 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.141e-05/0.1577, allocations: 17.95 kB / 0.6954 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.1579, allocations: 172 kB / 0.6956 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.158, allocations: 11.77 kB / 0.6956 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/0.158, allocations: 8.688 kB / 0.6956 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002448/0.1583, allocations: 71.38 kB / 0.6957 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.1583, allocations: 3.938 kB / 0.6957 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.1583, allocations: 1.312 kB / 0.6957 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.1583, allocations: 1.312 kB / 0.6957 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002034/0.1585, allocations: 53.55 kB / 0.6957 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006339/0.1592, allocations: 348.3 kB / 0.6961 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.1594, allocations: 63.48 kB / 0.6961 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.1595, allocations: 27.84 kB / 0.6962 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.1595, allocations: 5.5 kB / 0.6962 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002974/0.1598, allocations: 88.09 kB / 0.6963 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.914e-06/0.1598, allocations: 3.938 kB / 0.6963 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.0005179/0.1604, allocations: 152.9 kB / 0.6964 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.1604, allocations: 57.41 kB / 0.6965 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.1606, allocations: 115.5 kB / 0.6966 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.271e-05/0.1606, allocations: 32.02 kB / 0.6966 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.513e-05/0.1607, allocations: 96.05 kB / 0.6967 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.199e-05/0.1607, allocations: 23.52 kB / 0.6967 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.1608, allocations: 40.78 kB / 0.6967 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.161, allocations: 321.5 kB / 0.6971 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.1612, allocations: 55.05 kB / 0.6971 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/0.1614, allocations: 91.27 kB / 0.6972 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003505/0.1618, allocations: 154.2 kB / 0.6973 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.1618, allocations: 1.406 kB / 0.6973 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004951/0.1623, allocations: 210.3 kB / 0.6975 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.244e-05/0.1624, allocations: 45.97 kB / 0.6976 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.1624, allocations: 1.375 kB / 0.6976 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.1624, allocations: 1.375 kB / 0.6976 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.1625, allocations: 14.98 kB / 0.6976 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.1625, allocations: 5.438 kB / 0.6976 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002813/0.1628, allocations: 36.48 kB / 0.6976 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/0.1629, allocations: 10.86 kB / 0.6977 GB, free: 8.922 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001301/0.163, allocations: 134 kB / 0.6978 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.957e-05/0.163, allocations: 6.703 kB / 0.6978 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003462/0.1634, allocations: 120.9 kB / 0.6979 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1634, allocations: 0 / 0.6979 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1634, allocations: 1.375 kB / 0.6979 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1634, allocations: 0 / 0.6979 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005014/0.1639, allocations: 381.7 kB / 0.6983 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.1639, allocations: 1.375 kB / 0.6983 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.3e-05/0.164, allocations: 13.42 kB / 0.6983 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.164, allocations: 1.375 kB / 0.6983 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.164, allocations: 1.375 kB / 0.6983 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.164, allocations: 0 / 0.6983 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.1641, allocations: 5.312 kB / 0.6983 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003489/0.1644, allocations: 220.4 kB / 0.6985 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.68e-05/0.1645, allocations: 82.39 kB / 0.6986 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.1645, allocations: 1.375 kB / 0.6986 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.819e-05/0.1646, allocations: 7.672 kB / 0.6986 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.722e-05/0.1647, allocations: 10.97 kB / 0.6986 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.1647, allocations: 11.17 kB / 0.6986 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.815e-05/0.1647, allocations: 87.56 kB / 0.6987 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1648, allocations: 4 kB / 0.6987 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002914/0.165, allocations: 29.52 kB / 0.6987 GB, free: 7.938 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: 6 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001905/0.1652, allocations: 107.2 kB / 0.6988 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004494/0.1657, allocations: 175.3 kB / 0.699 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.1657, allocations: 0 / 0.699 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001384/0.1659, allocations: 48.22 kB / 0.699 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.1662, allocations: 11.98 kB / 0.6991 GB, free: 7.594 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004247/0.1666, allocations: 175 kB / 0.6992 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.1669, allocations: 0.6924 MB / 0.6999 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.006e-05/0.167, allocations: 8 kB / 0.6999 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.093e-05/0.167, allocations: 11.44 kB / 0.6999 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.167, allocations: 3.938 kB / 0.6999 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of Templates: time 0.004938/0.1719, allocations: 1.436 MB / 0.7013 GB, free: 5.238 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.755069540813565] Failed to read output from testmodel.py, exit status != 0: 0.46635345509275794 0.19457257099999994 0.034902741 Calling exit ...