Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.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.001389/0.001389, allocations: 117.6 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.001546/0.001546, allocations: 187 kB / 20.69 MB, free: 2.418 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.437/1.437, 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.052/1.052, allocations: 147.6 MB / 446.2 MB, free: 8.414 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.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter") translateModel(IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002097, allocations: 69.31 kB / 0.612 GB, free: 37.71 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1549, allocations: 83.16 MB / 0.6933 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001875/0.1568, allocations: 0.6615 MB / 0.6939 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001692/0.1585, allocations: 1.195 MB / 0.6951 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.094e-05/0.1586, allocations: 5.375 kB / 0.6951 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.144e-05/0.1586, allocations: 7.938 kB / 0.6951 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.212e-05/0.1587, allocations: 9.312 kB / 0.6951 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006798/0.1594, allocations: 217.9 kB / 0.6953 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002716/0.1597, allocations: 185.1 kB / 0.6955 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.429e-05/0.1598, allocations: 14.14 kB / 0.6955 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.1599, allocations: 75.25 kB / 0.6956 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.16, allocations: 61.72 kB / 0.6956 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.072e-05/0.1601, allocations: 15.72 kB / 0.6956 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.663e-05/0.1602, allocations: 34.23 kB / 0.6957 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.784e-05/0.1602, allocations: 15.17 kB / 0.6957 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.1603, allocations: 62.78 kB / 0.6957 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002339/0.1606, allocations: 151.6 kB / 0.6959 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1606, allocations: 0 / 0.6959 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1606, allocations: 1.656 kB / 0.6959 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.1606, allocations: 0 / 0.6959 GB, free: 11.06 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.0006127/0.1612, allocations: 441 kB / 0.6963 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.1613, allocations: 9.625 kB / 0.6963 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.23e-05/0.1613, allocations: 9.188 kB / 0.6963 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.1615, allocations: 186.8 kB / 0.6965 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.1615, allocations: 4.5 kB / 0.6965 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.95e-05/0.1616, allocations: 14 kB / 0.6965 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.1617, allocations: 56.55 kB / 0.6966 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.1617, allocations: 0 / 0.6966 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.1617, allocations: 3.984 kB / 0.6966 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.1617, allocations: 1.375 kB / 0.6966 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.423e-05/0.1618, allocations: 18.86 kB / 0.6966 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005673/0.1624, allocations: 355.1 kB / 0.6969 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.707e-05/0.1625, allocations: 34.89 kB / 0.697 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.282e-05/0.1625, allocations: 18.44 kB / 0.697 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.847e-06/0.1625, allocations: 1.375 kB / 0.697 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001652/0.1627, allocations: 97.44 kB / 0.6971 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.1627, allocations: 0 / 0.6971 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0003045/0.163, allocations: 124.7 kB / 0.6972 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.1631, allocations: 54.16 kB / 0.6972 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.1632, allocations: 115.6 kB / 0.6974 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.607e-05/0.1632, allocations: 33.83 kB / 0.6974 GB, free: 9.543 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.687e-05/0.1633, allocations: 97.81 kB / 0.6975 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.1633, allocations: 26.52 kB / 0.6975 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.684e-05/0.1634, allocations: 54.44 kB / 0.6976 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1636, allocations: 324.1 kB / 0.6979 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.1637, allocations: 60.97 kB / 0.6979 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.1639, allocations: 111.1 kB / 0.698 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002311/0.1641, allocations: 185.5 kB / 0.6982 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1642, allocations: 0 / 0.6982 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004559/0.1646, allocations: 285.1 kB / 0.6985 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.494e-05/0.1647, allocations: 69.23 kB / 0.6985 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.1647, allocations: 5.688 kB / 0.6986 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.1647, allocations: 1.5 kB / 0.6986 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.117e-05/0.1648, allocations: 9.031 kB / 0.6986 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.1648, allocations: 5.578 kB / 0.6986 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003271/0.1651, allocations: 60.58 kB / 0.6986 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.968e-05/0.1652, allocations: 14.22 kB / 0.6986 GB, free: 8.473 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 12 (onCounter.y,$PRE.onCounter.y,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,reset.y,$PRE.reset.y,$whenCondition2,booPul.y,$PRE.booPul.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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.0001255/0.1653, allocations: 137 kB / 0.6988 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.304e-05/0.1653, allocations: 3.688 kB / 0.6988 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.732e-05/0.1654, allocations: 8.375 kB / 0.6988 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.1654, allocations: 1.75 kB / 0.6988 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1654, allocations: 0 / 0.6988 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1654, allocations: 1.469 kB / 0.6988 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003813/0.1658, allocations: 364.6 kB / 0.6991 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1658, allocations: 5.562 kB / 0.6991 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.003e-05/0.1658, allocations: 1.5 kB / 0.6991 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.634e-06/0.1658, allocations: 0 / 0.6991 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.1658, allocations: 1.594 kB / 0.6991 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.788e-06/0.1658, allocations: 3.938 kB / 0.6991 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.1658, allocations: 5.125 kB / 0.6992 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002024/0.166, allocations: 192.3 kB / 0.6993 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.926e-05/0.1661, allocations: 88.12 kB / 0.6994 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.1661, allocations: 5.375 kB / 0.6994 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.387e-05/0.1662, allocations: 4 kB / 0.6994 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.585e-05/0.1662, allocations: 16.02 kB / 0.6994 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.1662, allocations: 2.781 kB / 0.6994 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.637e-05/0.1663, allocations: 91.67 kB / 0.6995 GB, free: 7.594 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.1663, allocations: 0 / 0.6995 GB, free: 7.594 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002726/0.1666, allocations: 32.75 kB / 0.6996 GB, free: 7.59 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: 9 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,onCounter.y,booPul.y,reset.y) * Number of discrete states: 1 (onCounter.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.0001535/0.1668, allocations: 105.9 kB / 0.6997 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000396/0.1672, allocations: 262.8 kB / 0.6999 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1672, allocations: 0 / 0.6999 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.786e-05/0.1672, allocations: 35.92 kB / 0.7 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.1676, allocations: 23.5 kB / 0.7 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003582/0.1679, allocations: 194.1 kB / 0.7002 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.1683, allocations: 0.6963 MB / 0.7008 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.176e-05/0.1683, allocations: 15.44 kB / 0.7009 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of SimCode: time 2.8e-07/0.1683, allocations: 0 / 0.7009 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of Templates: time 0.003454/0.1718, allocations: 1.491 MB / 0.7023 GB, free: 4.723 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.112596464110538] Failed to read output from testmodel.py, exit status != 0: 0.4240460181608796 0.19249038599999996 0.029232418000000003 Calling exit ...