Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.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.00141/0.00141, allocations: 110.5 kB / 17.08 MB, free: 5.988 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.00141/0.001411, allocations: 194.8 kB / 20.03 MB, free: 3.062 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.491/1.491, allocations: 222.9 MB / 245.7 MB, free: 4.219 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.104/1.104, allocations: 147.6 MB / 445.5 MB, free: 8.48 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.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 71.52 kB / 0.6114 GB, free: 37.8 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1597, allocations: 83.15 MB / 0.6926 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002692/0.1624, allocations: 1.058 MB / 0.6937 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00192/0.1644, allocations: 0.9866 MB / 0.6946 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001955/0.1646, allocations: 2.75 kB / 0.6946 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001857/0.1648, allocations: 21.11 kB / 0.6946 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.1649, allocations: 17.12 kB / 0.6947 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003501/0.1653, allocations: 80.22 kB / 0.6947 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002943/0.1656, allocations: 175.5 kB / 0.6949 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002022/0.1658, allocations: 70.31 kB / 0.695 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.166, allocations: 75.08 kB / 0.695 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001441/0.1661, allocations: 84.09 kB / 0.6951 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.016e-05/0.1662, allocations: 20.75 kB / 0.6951 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 3.312e-05/0.1662, allocations: 16.06 kB / 0.6952 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.61e-05/0.1663, allocations: 41.41 kB / 0.6952 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.593e-05/0.1664, allocations: 71.44 kB / 0.6953 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003121/0.1667, allocations: 187.2 kB / 0.6954 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1667, allocations: 3.938 kB / 0.6954 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.402e-06/0.1667, allocations: 0 / 0.6954 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.718e-06/0.1667, allocations: 0.8438 kB / 0.6954 GB, free: 10.94 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001035/0.1678, allocations: 482.8 kB / 0.6959 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.1678, allocations: 9.562 kB / 0.6959 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.333e-05/0.1679, allocations: 18.19 kB / 0.6959 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003967/0.1683, allocations: 233 kB / 0.6962 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.1683, allocations: 11.03 kB / 0.6962 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.342e-05/0.1684, allocations: 15.94 kB / 0.6962 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003676/0.1688, allocations: 158.4 kB / 0.6963 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1688, allocations: 0 / 0.6963 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.071e-05/0.1688, allocations: 6.375 kB / 0.6963 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.1688, allocations: 3.625 kB / 0.6963 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003059/0.1691, allocations: 109.1 kB / 0.6964 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/0.1704, allocations: 0.5384 MB / 0.697 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000416/0.1708, allocations: 149.4 kB / 0.6971 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001881/0.171, allocations: 91.33 kB / 0.6972 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.171, allocations: 2.75 kB / 0.6972 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000263/0.1713, allocations: 116.5 kB / 0.6973 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=19): time 1.673e-06/0.1713, allocations: 0 / 0.6973 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of matching and sorting (n=19): time 0.0006071/0.1719, allocations: 231.7 kB / 0.6975 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.172, allocations: 58.09 kB / 0.6976 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.1722, allocations: 167 kB / 0.6978 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.194e-05/0.1722, allocations: 31.08 kB / 0.6978 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.05e-05/0.1723, allocations: 107.5 kB / 0.6979 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.006e-05/0.1724, allocations: 75.66 kB / 0.698 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.331e-05/0.1725, allocations: 39.45 kB / 0.698 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.1726, allocations: 321.6 kB / 0.6983 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.1729, allocations: 74.98 kB / 0.6984 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002451/0.1731, allocations: 84.45 kB / 0.6985 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004097/0.1735, allocations: 149.1 kB / 0.6986 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.1736, allocations: 4 kB / 0.6986 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000583/0.1741, allocations: 215.1 kB / 0.6988 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.1742, allocations: 7.984 kB / 0.6988 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.1742, allocations: 0 / 0.6988 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.642e-05/0.1742, allocations: 4 kB / 0.6988 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/0.1744, allocations: 35.92 kB / 0.6989 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.1745, allocations: 3.938 kB / 0.6989 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.1746, allocations: 35.89 kB / 0.6989 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.1747, allocations: 4 kB / 0.6989 GB, free: 7.969 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001529/0.1748, allocations: 133.7 kB / 0.699 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.184e-05/0.1749, allocations: 15.91 kB / 0.699 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004954/0.1754, allocations: 191.9 kB / 0.6992 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.1754, allocations: 4 kB / 0.6992 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.1754, allocations: 4 kB / 0.6992 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1754, allocations: 0 / 0.6992 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009521/0.1764, allocations: 0.5774 MB / 0.6998 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.1764, allocations: 0 / 0.6998 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/0.1766, allocations: 35.92 kB / 0.6998 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.867e-06/0.1766, allocations: 7.938 kB / 0.6998 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.58e-05/0.1766, allocations: 15.98 kB / 0.6998 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1766, allocations: 0 / 0.6998 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.1766, allocations: 4 kB / 0.6999 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000684/0.1773, allocations: 382.1 kB / 0.7002 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.944e-05/0.1774, allocations: 104.9 kB / 0.7003 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.573e-05/0.1774, allocations: 12.03 kB / 0.7003 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.1776, allocations: 19.92 kB / 0.7003 GB, free: 6.34 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.165e-05/0.1777, allocations: 23.91 kB / 0.7004 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.1777, allocations: 8 kB / 0.7004 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001117/0.1778, allocations: 122.5 kB / 0.7005 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1778, allocations: 0 / 0.7005 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002901/0.1781, allocations: 35.94 kB / 0.7005 GB, free: 6.156 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der1.x,intWitRes.y,der2.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0001721/0.1783, allocations: 103.2 kB / 0.7006 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004739/0.1788, allocations: 174.2 kB / 0.7008 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.1788, allocations: 0 / 0.7008 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000215/0.179, allocations: 84.16 kB / 0.7009 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.1794, allocations: 25.39 kB / 0.7009 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007098/0.1801, allocations: 386.8 kB / 0.7013 GB, free: 5.348 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004171/0.1805, allocations: 0.7242 MB / 0.702 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.873e-05/0.1806, allocations: 21.42 kB / 0.702 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.336e-05/0.1807, allocations: 15.44 kB / 0.702 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.1807, allocations: 0 / 0.702 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of Templates: time 0.005837/0.1865, allocations: 1.783 MB / 0.7037 GB, free: 2.785 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.853111508302391] Failed to read output from testmodel.py, exit status != 0: 0.48332024086266756 0.208856546 0.039423519000000004 Calling exit ...