Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.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.001434/0.001434, allocations: 113.1 kB / 17.08 MB, free: 6.016 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.001408/0.001408, allocations: 186.8 kB / 20.02 MB, free: 3.086 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.46/1.46, allocations: 222.9 MB / 245.7 MB, free: 4.227 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.086/1.086, allocations: 147.6 MB / 445.5 MB, free: 8.426 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.Reals.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 67.7 kB / 0.6114 GB, free: 37.75 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1565, allocations: 83.17 MB / 0.6926 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Cos): time 0.002104/0.1587, allocations: 0.6538 MB / 0.6933 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.1597, allocations: 0.805 MB / 0.694 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.675e-05/0.1598, allocations: 0 / 0.694 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.757e-05/0.1598, allocations: 0 / 0.694 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.839e-05/0.1599, allocations: 9.453 kB / 0.6941 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001451/0.16, allocations: 9.531 kB / 0.6941 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.768e-05/0.1601, allocations: 32.81 kB / 0.6941 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.1603, allocations: 7.094 kB / 0.6941 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.81e-05/0.1603, allocations: 12.33 kB / 0.6941 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.957e-05/0.1604, allocations: 14.33 kB / 0.6941 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.1604, allocations: 2.562 kB / 0.6941 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.053e-05/0.1604, allocations: 1.344 kB / 0.6941 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.783e-05/0.1605, allocations: 1.469 kB / 0.6941 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.92e-05/0.1605, allocations: 9.438 kB / 0.6941 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 9.911e-05/0.1606, allocations: 21.83 kB / 0.6942 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.1606, allocations: 3.938 kB / 0.6942 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.054e-06/0.1606, allocations: 0 / 0.6942 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.1606, allocations: 0 / 0.6942 GB, free: 11.87 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005304/0.1612, allocations: 337.8 kB / 0.6945 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.1612, allocations: 9.125 kB / 0.6945 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.351e-05/0.1613, allocations: 10.64 kB / 0.6945 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.1614, allocations: 168.3 kB / 0.6947 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.1614, allocations: 2.156 kB / 0.6947 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.237e-06/0.1615, allocations: 2.156 kB / 0.6947 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.1617, allocations: 48.98 kB / 0.6947 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.1617, allocations: 4.188 kB / 0.6947 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.1617, allocations: 3.938 kB / 0.6947 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.1617, allocations: 1.812 kB / 0.6947 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001825/0.1619, allocations: 30.06 kB / 0.6948 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004179/0.1623, allocations: 256.6 kB / 0.695 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.1625, allocations: 38.22 kB / 0.695 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.532e-05/0.1626, allocations: 24.78 kB / 0.6951 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.1626, allocations: 0 / 0.6951 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.698e-05/0.1627, allocations: 34.55 kB / 0.6951 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.1627, allocations: 0 / 0.6951 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003973/0.1631, allocations: 88.45 kB / 0.6952 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.1631, allocations: 52.97 kB / 0.6952 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.1632, allocations: 102.8 kB / 0.6953 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.1633, allocations: 25.7 kB / 0.6954 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.433e-05/0.1633, allocations: 81.73 kB / 0.6954 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/0.1634, allocations: 3.953 kB / 0.6954 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.35e-05/0.1634, allocations: 21.08 kB / 0.6955 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.1636, allocations: 310.9 kB / 0.6958 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.882e-05/0.1637, allocations: 25.11 kB / 0.6958 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.503e-05/0.1638, allocations: 13.55 kB / 0.6958 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.1639, allocations: 40.06 kB / 0.6958 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.1639, allocations: 0 / 0.6958 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002003/0.1641, allocations: 72.98 kB / 0.6959 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.1642, allocations: 4.125 kB / 0.6959 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1642, allocations: 1.375 kB / 0.6959 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.1642, allocations: 3.984 kB / 0.6959 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.255e-05/0.1643, allocations: 5.5 kB / 0.6959 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1643, allocations: 1.375 kB / 0.6959 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.091e-05/0.1644, allocations: 10.73 kB / 0.6959 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-06/0.1644, allocations: 1.375 kB / 0.6959 GB, free: 10.05 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 9.077e-05/0.1645, allocations: 116.7 kB / 0.696 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.225e-05/0.1645, allocations: 5.312 kB / 0.696 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002499/0.1648, allocations: 74.91 kB / 0.6961 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.1648, allocations: 3.984 kB / 0.6961 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.1648, allocations: 5.359 kB / 0.6961 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1648, allocations: 4 kB / 0.6961 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.165, allocations: 157.7 kB / 0.6963 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.165, allocations: 4.031 kB / 0.6963 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.991e-05/0.1651, allocations: 10.86 kB / 0.6963 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1651, allocations: 0 / 0.6963 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.393e-06/0.1651, allocations: 1.375 kB / 0.6963 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1651, allocations: 0 / 0.6963 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1651, allocations: 0 / 0.6963 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002627/0.1654, allocations: 170.8 kB / 0.6965 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.562e-05/0.1654, allocations: 82.42 kB / 0.6965 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.1654, allocations: 1.375 kB / 0.6965 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.876e-05/0.1655, allocations: 6.734 kB / 0.6965 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-05/0.1656, allocations: 1.375 kB / 0.6965 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.1656, allocations: 1.375 kB / 0.6965 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.327e-05/0.1656, allocations: 78.03 kB / 0.6966 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1656, allocations: 0 / 0.6966 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002153/0.1659, allocations: 4.125 kB / 0.6966 GB, free: 9.316 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001436/0.166, allocations: 107.8 kB / 0.6967 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002533/0.1663, allocations: 33.97 kB / 0.6968 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1663, allocations: 0 / 0.6968 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.102e-05/0.1664, allocations: 18.97 kB / 0.6968 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.1667, allocations: 12.53 kB / 0.6968 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002949/0.167, allocations: 111.9 kB / 0.6969 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.1674, allocations: 0.6768 MB / 0.6976 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.514e-05/0.1674, allocations: 5.359 kB / 0.6976 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.674e-05/0.1674, allocations: 8.812 kB / 0.6976 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.1674, allocations: 0 / 0.6976 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of Templates: time 0.002896/0.1703, allocations: 430.9 kB / 0.698 GB, free: 8.141 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.759308607317507] Failed to read output from testmodel.py, exit status != 0: 0.4660932063125074 0.19151705000000002 0.028106757000000003 Calling exit ...