Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.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.001363/0.001373, allocations: 104.7 kB / 17.07 MB, free: 5.965 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.001429/0.00143, allocations: 194.7 kB / 20.03 MB, free: 3.035 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.502/1.502, allocations: 222.9 MB / 245.7 MB, free: 4.188 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.132/1.132, allocations: 147.6 MB / 445.5 MB, free: 8.328 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.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract") translateModel(IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 68.22 kB / 0.6114 GB, free: 37.63 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1875, allocations: 83.17 MB / 0.6926 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001911/0.1895, allocations: 0.752 MB / 0.6933 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001104/0.1906, allocations: 0.8596 MB / 0.6942 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.172e-05/0.1906, allocations: 1.188 kB / 0.6942 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.455e-05/0.1907, allocations: 7.875 kB / 0.6942 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 9.851e-05/0.1908, allocations: 9.453 kB / 0.6942 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001682/0.191, allocations: 38.77 kB / 0.6942 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.1911, allocations: 86.69 kB / 0.6943 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.1912, allocations: 30.7 kB / 0.6943 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.475e-05/0.1913, allocations: 36.41 kB / 0.6944 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 9.228e-05/0.1914, allocations: 45.2 kB / 0.6944 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.587e-05/0.1915, allocations: 12 kB / 0.6944 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.913e-05/0.1915, allocations: 7.531 kB / 0.6944 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.233e-05/0.1915, allocations: 18.41 kB / 0.6944 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.131e-05/0.1916, allocations: 43.53 kB / 0.6945 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.1917, allocations: 86.89 kB / 0.6946 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1917, allocations: 0 / 0.6946 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1917, allocations: 3.219 kB / 0.6946 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.213e-05/0.1918, allocations: 3.984 kB / 0.6946 GB, free: 11.47 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006614/0.1924, allocations: 385.6 kB / 0.6949 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.1925, allocations: 13.39 kB / 0.6949 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.583e-05/0.1925, allocations: 12.95 kB / 0.695 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.1927, allocations: 184.3 kB / 0.6951 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.1927, allocations: 3.125 kB / 0.6951 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.1927, allocations: 12.48 kB / 0.6952 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003082/0.1931, allocations: 108.4 kB / 0.6953 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.1931, allocations: 0 / 0.6953 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.1931, allocations: 1.375 kB / 0.6953 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.1931, allocations: 1.375 kB / 0.6953 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003906/0.1935, allocations: 108.1 kB / 0.6954 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005358/0.194, allocations: 337.7 kB / 0.6957 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006388/0.1947, allocations: 126.8 kB / 0.6958 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002269/0.1949, allocations: 61.67 kB / 0.6959 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.195, allocations: 1.375 kB / 0.6959 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.195, allocations: 30.56 kB / 0.6959 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.195, allocations: 1.375 kB / 0.6959 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0006874/0.1957, allocations: 180 kB / 0.6961 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.1957, allocations: 51.41 kB / 0.6961 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.1959, allocations: 134.1 kB / 0.6962 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.1959, allocations: 29.7 kB / 0.6963 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.864e-05/0.1959, allocations: 96.09 kB / 0.6964 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.196, allocations: 22.52 kB / 0.6964 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.273e-05/0.196, allocations: 24.17 kB / 0.6964 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1962, allocations: 316.2 kB / 0.6967 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.1964, allocations: 47.23 kB / 0.6968 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.1966, allocations: 44.3 kB / 0.6968 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003687/0.197, allocations: 103.6 kB / 0.6969 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.197, allocations: 0 / 0.6969 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004397/0.1974, allocations: 139.4 kB / 0.697 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.1974, allocations: 5.656 kB / 0.697 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1974, allocations: 0 / 0.697 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.1975, allocations: 5.406 kB / 0.697 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.1976, allocations: 27.16 kB / 0.6971 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1977, allocations: 1.375 kB / 0.6971 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.1978, allocations: 23.48 kB / 0.6971 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.1978, allocations: 1.344 kB / 0.6971 GB, free: 9.223 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: 3 (reaToInt1.y,reaToInt.y,sub.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.229e-05/0.1979, allocations: 113.2 kB / 0.6972 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.369e-05/0.1979, allocations: 11 kB / 0.6972 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.39e-05/0.198, allocations: 14.47 kB / 0.6972 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.198, allocations: 1.125 kB / 0.6972 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.198, allocations: 0 / 0.6972 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.198, allocations: 3.938 kB / 0.6972 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002237/0.1982, allocations: 196 kB / 0.6974 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1982, allocations: 0 / 0.6974 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/0.1984, allocations: 29.09 kB / 0.6974 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1984, allocations: 0 / 0.6974 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.1984, allocations: 5.844 kB / 0.6974 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.1984, allocations: 0 / 0.6974 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.1985, allocations: 7.938 kB / 0.6975 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004964/0.199, allocations: 235.7 kB / 0.6977 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.582e-05/0.199, allocations: 83.12 kB / 0.6978 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.199, allocations: 2 kB / 0.6978 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.1992, allocations: 21.81 kB / 0.6978 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.626e-05/0.1993, allocations: 22.36 kB / 0.6978 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.1993, allocations: 6.078 kB / 0.6978 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.447e-05/0.1994, allocations: 93.97 kB / 0.6979 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1994, allocations: 0 / 0.6979 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002297/0.1996, allocations: 11.22 kB / 0.6979 GB, free: 8.426 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: 3 (sub.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001355/0.1998, allocations: 112.7 kB / 0.698 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004449/0.2002, allocations: 105.9 kB / 0.6981 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.2002, allocations: 0 / 0.6981 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002157/0.2004, allocations: 62.47 kB / 0.6982 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.2008, allocations: 9.5 kB / 0.6982 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004351/0.2012, allocations: 180.1 kB / 0.6984 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.2015, allocations: 0.6902 MB / 0.699 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.734e-05/0.2016, allocations: 10.88 kB / 0.699 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.945e-05/0.2017, allocations: 22.3 kB / 0.6991 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of SimCode: time 2.7e-07/0.2017, allocations: 0 / 0.6991 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of Templates: time 0.004473/0.2062, allocations: 1.589 MB / 0.7006 GB, free: 5.875 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.945949910208583] Failed to read output from testmodel.py, exit status != 0: 0.49423986207693815 0.227576941 0.033084942 Calling exit ...