Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.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.001469/0.001469, allocations: 108.2 kB / 17.07 MB, free: 5.789 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.001385/0.001385, allocations: 190.8 kB / 20.03 MB, free: 2.93 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.481/1.481, allocations: 222.9 MB / 245.7 MB, free: 4.242 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.1/1.1, allocations: 147.6 MB / 445.5 MB, free: 8.277 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.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 69.14 kB / 0.6114 GB, free: 37.71 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1589, allocations: 83.16 MB / 0.6926 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001832/0.1608, allocations: 0.6931 MB / 0.6933 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00101/0.1618, allocations: 0.8636 MB / 0.6941 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.768e-05/0.1619, allocations: 1.625 kB / 0.6941 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.808e-05/0.1619, allocations: 3.938 kB / 0.6941 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.206e-05/0.162, allocations: 3.938 kB / 0.6942 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001543/0.1622, allocations: 31.25 kB / 0.6942 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.361e-05/0.1623, allocations: 37.97 kB / 0.6942 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.905e-05/0.1624, allocations: 12.12 kB / 0.6942 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.337e-05/0.1624, allocations: 22.8 kB / 0.6943 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.502e-05/0.1625, allocations: 17.42 kB / 0.6943 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.1625, allocations: 2.75 kB / 0.6943 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.066e-05/0.1625, allocations: 4.125 kB / 0.6943 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.025e-05/0.1625, allocations: 9.359 kB / 0.6943 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.256e-05/0.1626, allocations: 18.61 kB / 0.6943 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 9.351e-05/0.1627, allocations: 48.05 kB / 0.6943 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1627, allocations: 0 / 0.6943 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1627, allocations: 5.375 kB / 0.6944 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.856e-06/0.1627, allocations: 0 / 0.6944 GB, free: 11.69 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005478/0.1633, allocations: 358.7 kB / 0.6947 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.1633, allocations: 9.625 kB / 0.6947 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.92e-05/0.1633, allocations: 10.2 kB / 0.6947 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.1635, allocations: 171.1 kB / 0.6949 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.1635, allocations: 1.75 kB / 0.6949 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.1635, allocations: 1.75 kB / 0.6949 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002553/0.1638, allocations: 72.22 kB / 0.695 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.1638, allocations: 192 / 0.695 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.1638, allocations: 3.938 kB / 0.695 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1638, allocations: 1.375 kB / 0.695 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002923/0.1641, allocations: 66.98 kB / 0.695 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003649/0.1645, allocations: 266.5 kB / 0.6953 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.1647, allocations: 57.39 kB / 0.6953 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001585/0.1649, allocations: 39.5 kB / 0.6954 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.1649, allocations: 0 / 0.6954 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/0.165, allocations: 35.38 kB / 0.6954 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.165, allocations: 8.656 kB / 0.6954 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0005517/0.1655, allocations: 126.3 kB / 0.6955 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.1656, allocations: 55.41 kB / 0.6956 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.1657, allocations: 111.6 kB / 0.6957 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.1657, allocations: 26.95 kB / 0.6957 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.248e-05/0.1658, allocations: 89.34 kB / 0.6958 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.1658, allocations: 9.359 kB / 0.6958 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-05/0.1658, allocations: 17.36 kB / 0.6958 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.166, allocations: 316.1 kB / 0.6961 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.1662, allocations: 32.53 kB / 0.6962 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.1663, allocations: 33.98 kB / 0.6962 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002735/0.1666, allocations: 71.81 kB / 0.6963 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.1666, allocations: 3.938 kB / 0.6963 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003269/0.1669, allocations: 101.6 kB / 0.6964 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.167, allocations: 5.156 kB / 0.6964 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.167, allocations: 4 kB / 0.6964 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.167, allocations: 1.656 kB / 0.6964 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.1671, allocations: 14.11 kB / 0.6964 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.1672, allocations: 0 / 0.6964 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.394e-05/0.1673, allocations: 19.56 kB / 0.6964 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.1673, allocations: 3.984 kB / 0.6964 GB, free: 9.719 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 (3): * Single equations (assignments): 3 * 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.144e-05/0.1674, allocations: 116.8 kB / 0.6965 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.302e-05/0.1674, allocations: 1.969 kB / 0.6965 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.427e-05/0.1674, allocations: 5.375 kB / 0.6965 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1674, allocations: 3.938 kB / 0.6965 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1674, allocations: 0 / 0.6965 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1675, allocations: 1.562 kB / 0.6965 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.1676, allocations: 177.3 kB / 0.6967 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.1677, allocations: 3.938 kB / 0.6967 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.086e-05/0.1678, allocations: 17.55 kB / 0.6967 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.1678, allocations: 2 kB / 0.6967 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.1678, allocations: 0 / 0.6967 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1678, allocations: 0 / 0.6967 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1678, allocations: 0 / 0.6967 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003759/0.1682, allocations: 204.9 kB / 0.6969 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.967e-05/0.1682, allocations: 78.61 kB / 0.697 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.1683, allocations: 3.938 kB / 0.697 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.1684, allocations: 10.89 kB / 0.697 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.875e-05/0.1684, allocations: 10.8 kB / 0.697 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.1684, allocations: 1.469 kB / 0.697 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.213e-05/0.1685, allocations: 93.08 kB / 0.6971 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1685, allocations: 0 / 0.6971 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002074/0.1687, allocations: 11.19 kB / 0.6971 GB, free: 8.98 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 (3): * Single equations (assignments): 3 * 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.0001581/0.1689, allocations: 99.77 kB / 0.6972 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000338/0.1692, allocations: 66.17 kB / 0.6973 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1692, allocations: 0 / 0.6973 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.1694, allocations: 38.41 kB / 0.6973 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.1697, allocations: 15.7 kB / 0.6973 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002804/0.17, allocations: 119.7 kB / 0.6974 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.1703, allocations: 0.68 MB / 0.6981 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.124e-05/0.1703, allocations: 9.25 kB / 0.6981 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.069e-05/0.1704, allocations: 10.19 kB / 0.6981 GB, free: 8 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.1704, allocations: 0 / 0.6981 GB, free: 8 MB / 0.5137 GB Notification: Performance of Templates: time 0.003007/0.1734, allocations: 0.7257 MB / 0.6988 GB, free: 7.637 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.754571775905788] Failed to read output from testmodel.py, exit status != 0: 0.47250408539548516 0.19338903000000002 0.028112468 Calling exit ...