Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.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.001568/0.001568, allocations: 115 kB / 17.76 MB, free: 5.348 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.001338/0.001338, allocations: 186.9 kB / 20.7 MB, free: 2.414 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.469/1.469, allocations: 222.9 MB / 246.4 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.092/1.092, allocations: 147.6 MB / 446.2 MB, free: 8.41 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.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 66.48 kB / 0.612 GB, free: 37.77 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.158, 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.FirstOrderHold): time 0.00184/0.1599, allocations: 0.6622 MB / 0.6939 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001524/0.1614, allocations: 1.068 MB / 0.6949 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.726e-05/0.1615, allocations: 0 / 0.6949 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.127e-05/0.1615, allocations: 3.938 kB / 0.6949 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.481e-05/0.1616, allocations: 5.625 kB / 0.6949 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002851/0.1619, allocations: 53.84 kB / 0.695 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.162, allocations: 64.12 kB / 0.695 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.928e-05/0.1621, allocations: 13.48 kB / 0.6951 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.411e-05/0.1622, allocations: 29.48 kB / 0.6951 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.559e-05/0.1623, allocations: 37.45 kB / 0.6951 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.1623, allocations: 5.5 kB / 0.6951 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.708e-05/0.1624, allocations: 21.75 kB / 0.6951 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.24e-05/0.1624, allocations: 14.72 kB / 0.6952 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.743e-05/0.1625, allocations: 30.73 kB / 0.6952 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001608/0.1627, allocations: 83.7 kB / 0.6953 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1627, allocations: 0 / 0.6953 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1627, allocations: 1.375 kB / 0.6953 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.1627, allocations: 0 / 0.6953 GB, free: 11.57 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006654/0.1634, allocations: 378.9 kB / 0.6956 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.1634, allocations: 9.625 kB / 0.6956 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.687e-05/0.1634, allocations: 7.641 kB / 0.6956 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.1636, allocations: 175 kB / 0.6958 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.1636, allocations: 7.125 kB / 0.6958 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.1636, allocations: 9.875 kB / 0.6958 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002444/0.1639, allocations: 82.89 kB / 0.6959 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.1639, allocations: 192 / 0.6959 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.1639, allocations: 9.312 kB / 0.6959 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.1639, allocations: 1.375 kB / 0.6959 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002034/0.1641, allocations: 48.61 kB / 0.696 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005649/0.1647, allocations: 321.6 kB / 0.6963 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.165, allocations: 85.97 kB / 0.6964 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.1651, allocations: 38.56 kB / 0.6964 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.1651, allocations: 5.047 kB / 0.6964 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002516/0.1654, allocations: 95.66 kB / 0.6965 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.1654, allocations: 0 / 0.6965 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0005019/0.1659, allocations: 169.2 kB / 0.6966 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.857e-05/0.166, allocations: 57.59 kB / 0.6967 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.1e-05/0.1661, allocations: 110.2 kB / 0.6968 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.1661, allocations: 32.58 kB / 0.6968 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.324e-05/0.1662, allocations: 85.7 kB / 0.6969 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.546e-05/0.1662, allocations: 31.81 kB / 0.6969 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.79e-05/0.1663, allocations: 32.17 kB / 0.697 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.1664, allocations: 321.1 kB / 0.6973 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.1666, allocations: 36.25 kB / 0.6973 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.1667, allocations: 65.73 kB / 0.6974 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002573/0.167, allocations: 107.9 kB / 0.6975 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.167, allocations: 0 / 0.6975 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003285/0.1673, allocations: 145.3 kB / 0.6976 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1673, allocations: 6.438 kB / 0.6976 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1674, allocations: 0 / 0.6976 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.1674, allocations: 2.25 kB / 0.6976 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.1675, allocations: 22.48 kB / 0.6977 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.1675, allocations: 9.078 kB / 0.6977 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.397e-05/0.1676, allocations: 14.55 kB / 0.6977 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.1676, allocations: 2.625 kB / 0.6977 GB, free: 9.359 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 (firOrdHol.firstTrigger,$PRE.firOrdHol.firstTrigger,firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.c,$PRE.firOrdHol.c,firOrdHol.pre_uSample,$PRE.firOrdHol.pre_uSample,firOrdHol.uSample,$PRE.firOrdHol.uSample,firOrdHol.tSample,$PRE.firOrdHol.tSample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001153/0.1677, allocations: 128.8 kB / 0.6978 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.453e-05/0.1678, allocations: 6.141 kB / 0.6978 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003582/0.1681, allocations: 148.3 kB / 0.6979 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.1681, allocations: 1.469 kB / 0.698 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.1682, allocations: 0 / 0.698 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.1682, allocations: 7.922 kB / 0.698 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005875/0.1688, allocations: 412.4 kB / 0.6984 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1688, allocations: 0 / 0.6984 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.791e-05/0.1688, allocations: 12.23 kB / 0.6984 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1689, allocations: 256 / 0.6984 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.1689, allocations: 5.375 kB / 0.6984 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.1689, allocations: 4 kB / 0.6984 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.1689, allocations: 5.312 kB / 0.6984 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000366/0.1693, allocations: 232 kB / 0.6986 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.918e-05/0.1693, allocations: 83.81 kB / 0.6987 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.1694, allocations: 5.375 kB / 0.6987 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.1695, allocations: 9.484 kB / 0.6987 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.501e-05/0.1695, allocations: 10.67 kB / 0.6987 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.1695, allocations: 6.969 kB / 0.6987 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.634e-05/0.1696, allocations: 84.78 kB / 0.6988 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1696, allocations: 4 kB / 0.6988 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002448/0.1698, allocations: 23.06 kB / 0.6988 GB, free: 8.336 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: 7 (firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.firstTrigger,firOrdHol.tSample,firOrdHol.uSample,firOrdHol.pre_uSample,firOrdHol.c) * Number of discrete states: 2 (firOrdHol.uSample,firOrdHol.c) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 5 * 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.0001513/0.17, allocations: 108.1 kB / 0.6989 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003151/0.1703, allocations: 97.84 kB / 0.699 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1703, allocations: 0 / 0.699 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.1705, allocations: 56.22 kB / 0.6991 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.1707, allocations: 10.89 kB / 0.6991 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003852/0.1711, allocations: 185.8 kB / 0.6993 GB, free: 8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.1715, allocations: 0.6827 MB / 0.6999 GB, free: 7.301 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.554e-05/0.1715, allocations: 15.92 kB / 0.6999 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.1715, allocations: 0 / 0.6999 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of Templates: time 0.002887/0.1744, allocations: 1.11 MB / 0.701 GB, free: 6.199 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.154923900961876] Failed to read output from testmodel.py, exit status != 0: 0.5710079108830541 0.19540688499999995 0.029957358000000003 Calling exit ...